I am planning to use PyQt to control an embedded WebKit browser on the server side.
I have some inherit application logic in Javascript in the HTML page running inside WebKit.
How could I communicate from the host process (Python, PyQt) with Javascript, so that
I can call Javascript functions inside the page
Python methods are exposed to Javascript and can be called from the Javascript, with arguments
The following source code should be helpful: