I am cliking a link using the below code. Then QWebView is loading a different page. But loadFinished() signal is not emitted. How can I know whether the new page is loaded or not. Please help.
button_click.at(48).evaluateJavaScript(
"var evObj = document.createEvent('MouseEvents');evObj.initEvent( 'click', true, true );this.dispatchEvent(evObj);"
);
button_click.at(48).evaluateJavaScript(
"var evObj = document.createEvent('MouseEvents');evObj.initEvent( 'click', true, true );this.dispatchEvent(evObj);"
);
To copy to clipboard, switch view to plain text mode
Bookmarks