Class WebElementEventArgs
Provides data for events relating to elements.
public class WebElementEventArgs : EventArgs
- Inheritance
-
WebElementEventArgs
- Derived
- Inherited Members
Constructors
WebElementEventArgs(IWebDriver, IWebElement)
Initializes a new instance of the WebElementEventArgs class.
public WebElementEventArgs(IWebDriver driver, IWebElement element)
Parameters
driverIWebDriverThe WebDriver instance used for the action.
elementIWebElementThe element used for the action.
Exceptions
- ArgumentNullException
If
driverorelementare null.
Properties
Driver
Gets the WebDriver instance used for the action.
public IWebDriver Driver { get; }
Property Value
Element
Gets the element used for the action.
public IWebElement Element { get; }