View source: R/utils-selenium.R
execute_script | R Documentation |
Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame. The executed script is assumed to be synchronous and the result of evaluating the script is returned to the client. The script argument defines the script to execute in the form of a function body.
execute_script(client, script, args)
client |
|
script |
String with the JavaScript to be executed. |
args |
List of arguments for the |
Returns the status of the action.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.