Executes the specified JavaScript code within the page. The usage would be similar to what can be achieved to execute JavaScript in the current page by entering "javascript:...some JS code..." in the URL field of a native browser.
Note: the provided code won't be executed if JavaScript has been disabled on the WebClient (see {@link WebClient#isJavaScriptEnabled()}.
@param sourceCode the JavaScript code to execute @return a ScriptResult which will contain both the current page (which may be different thanthe previous page) and a JavaScript result object
|
|
|
|
|
|