RemoteWebDriverExecuteAsyncScript Method WebDriver
Executes JavaScript asynchronously in the context of the currently selected frame or window.

Namespace: OpenQA.Selenium.Remote
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public Object ExecuteAsyncScript(
	string script,
	params Object[] args
)

Parameters

script
Type: SystemString
The JavaScript code to execute.
args
Type: SystemObject
The arguments to the script.

Return Value

Type: Object
The value returned by the script.

Implements

IJavaScriptExecutorExecuteAsyncScript(String, Object)
See Also

Reference