IJavaScriptExecutor InterfaceWebDriver
Defines the interface through which the user can execute JavaScript.

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

public interface IJavaScriptExecutor

The IJavaScriptExecutor type exposes the following members.

Methods

  NameDescription
Public methodExecuteAsyncScript
Executes JavaScript asynchronously in the context of the currently selected frame or window.
Public methodExecuteScript
Executes JavaScript in the context of the currently selected frame or window.
Top
See Also

Reference