Class WebDriverScriptEventArgs
Provides data for events relating to executing JavaScript.
public class WebDriverScriptEventArgs : EventArgs
- Inheritance
-
WebDriverScriptEventArgs
- Inherited Members
Constructors
WebDriverScriptEventArgs(IWebDriver, string)
Initializes a new instance of the WebDriverScriptEventArgs class.
public WebDriverScriptEventArgs(IWebDriver driver, string script)
Parameters
driver
IWebDriverThe WebDriver instance used to execute the script.
script
stringThe script executed by the driver.
Exceptions
- ArgumentNullException
If
driver
orscript
are null.
Properties
Driver
Gets the WebDriver instance used to execute the script.
public IWebDriver Driver { get; }
Property Value
Script
Gets the script executed by the driver.
public string Script { get; }