TestGUI 0 0 888 1180 MainWindow 0 0 0 URL: _url https:// load 24 Abort about:blank 0 0 888 20 Views File Help DOM Tree 2 false Element HTML Source 8 Links 2 2 true true false URL Description Forms 2 true false 1 Execute JavaScript on First Selected Item 8 Result: JavaScript Code to Execute JavaScript Code to Execute <html><head/><body><p>JavaScript code to execute on the selected element. You can use this to refere to the element.</p><p>Example, to click the element:</p><pre> var evObj = document.createEvent('MouseEvents'); evObj.initEvent( 'click', true, true ); this.dispatchEvent(evObj); </pre></body></html> var evObj = document.createEvent('MouseEvents'); evObj.initEvent( 'click', true, true ); this.dispatchEvent(evObj); 0 0 Execute select focused true select: CSS-Selector Enter CSS-Selector <html><head/><body><p>JavaScript code below will be applied to the first element found by this CSS selector.</p></body></html> 0 0 Focused 0 0 Test Selector Hilight Selection in Page Shows you the selection by hilighting it in the web page. This helps you to test before you execute. Select Test Script 4 Record true false Run Screenshots Qt::Vertical 20 82 24 Script Run Log 8 Setup Script 4 false active true Qt::Horizontal 40 20 Status: ? Script Commands 4 true true true DOM Tree true true Links true true Forms true true HTML Souce true true Execute JavaScript true true Test Script Open ... Save As ... Quit Run Run Line Clear true true Log false Save false Revert to saved Open Setup Script ... Commands ... QWebView QWidget
QtWebKitWidgets/QWebView
_url _load _web _url returnPressed() _load click() 493 343 580 344 _selector returnPressed() _jsExecute click() 785 1144 875 1075 _selector editingFinished() _select click() 785 1144 874 1144 _actionExecuteJavaScript triggered(bool) _executeDock setVisible(bool) -1 -1 630 971 _executeDock visibilityChanged(bool) _actionTestScript setChecked(bool) 630 971 -1 -1 _actionDOMTree triggered(bool) _domDock setVisible(bool) -1 -1 748 374 _domDock visibilityChanged(bool) _actionDOMTree setChecked(bool) 748 374 -1 -1 _actionLinks triggered(bool) _linksDock setVisible(bool) -1 -1 748 537 _linksDock visibilityChanged(bool) _actionLinks setChecked(bool) 748 537 -1 -1 _actionForms triggered(bool) _formsDock setVisible(bool) -1 -1 748 699 _formsDock visibilityChanged(bool) _actionForms setChecked(bool) 748 699 -1 -1 _actionHTMLSouce triggered(bool) _sourceDock setVisible(bool) -1 -1 182 971 _sourceDock visibilityChanged(bool) _actionHTMLSouce setChecked(bool) 182 971 -1 -1 _actionTestScript triggered(bool) _scriptDock setVisible(bool) -1 -1 443 155 _scriptDock visibilityChanged(bool) _actionTestScript setChecked(bool) 443 155 -1 -1 _actionLog triggered(bool) _logDock setVisible(bool) -1 -1 842 1004 _logDock visibilityChanged(bool) _actionLog setChecked(bool) 842 1004 -1 -1