Description Usage Arguments Details Value See Also Examples
executeAsyncScriptOld
This function uses the old JSONwireprotocol end points. Inject a snippet of JavaScript into the page for asynchronous execution in
the context of the currently selected frame.
1 |
remDr |
An object of class "rDriver". A remote driver object see |
script |
character: The script to inject. |
args |
The arguments of the script as a list. |
replace |
logical: If TRUE any elements identify as web Elements are converted to such. |
... |
Additonal function arguments - Currently passes the |
The driver will pass a callback as the last argument to the snippet, and block until the callback is invoked.
If replace is TRUE parses the response from the server for web Elements and converts as such. Otherwise the content returned is assummed to be a simple list.
Other oldMethods functions: acceptAlertOld
,
dismissAlertOld
,
executeScriptOld
,
getAlertTextOld
,
getWindowHandleOld
,
getWindowHandlesOld
,
getWindowPositionOld
,
getWindowSizeOld
,
maximizeWindowOld
,
sendAlertTextOld
,
setWindowPositionOld
,
setWindowSizeOld
1 2 3 4 | ## Not run:
# functions in this group are using the old JSONwireprotocol end points
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.