Class WebDriverExceptionEventArgs
Provides data for events relating to exception handling.
public class WebDriverExceptionEventArgs : EventArgs
- Inheritance
-
WebDriverExceptionEventArgs
- Inherited Members
Constructors
WebDriverExceptionEventArgs(IWebDriver, Exception)
Initializes a new instance of the WebDriverExceptionEventArgs class.
public WebDriverExceptionEventArgs(IWebDriver driver, Exception thrownException)
Parameters
driver
IWebDriverThe WebDriver instance throwing the exception.
thrownException
ExceptionThe exception thrown by the driver.
Exceptions
- ArgumentNullException
If
driver
orthrownException
are null.
Properties
Driver
Gets the WebDriver instance.
public IWebDriver Driver { get; }
Property Value
ThrownException
Gets the exception thrown by the driver.
public Exception ThrownException { get; }