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
driver
IWebDriverThe WebDriver instance used for the action.
element
IWebElementThe element used for the action.
Exceptions
- ArgumentNullException
If
driver
orelement
are 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; }