Browser::execute
This function used for call JavaScript code in created browser.
Syntax
browser.execute(String executedCode);
Required Arguments
- executedCode: JavaScript code what will be executed in browser.
Example
That's example made nothing useful.
browser.execute(`alert(\`It's a test.\`);`);
See Also
- Functions:
- Properies: