Example usage for Java org.openqa.selenium JavascriptExecutor fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | executeAsyncScript(String script, Object... args) Execute an asynchronous piece of JavaScript in the context of the currently selected frame or window. |
Object | executeScript(String script, Object... args) Executes JavaScript in the context of the currently selected frame or window. |