Class WebElementValueEventArgs
Provides data for events related to finding elements.
public class WebElementValueEventArgs : WebElementEventArgs
- Inheritance
-
WebElementValueEventArgs
- Inherited Members
Constructors
WebElementValueEventArgs(IWebDriver, IWebElement, string?)
Initializes a new instance of the WebElementValueEventArgs class.
public WebElementValueEventArgs(IWebDriver driver, IWebElement element, string? value)
Parameters
driverIWebDriverThe WebDriver instance used for the action.
elementIWebElementThe element used for the action.
valuestringThe new value for the element.
Exceptions
- ArgumentNullException
If
driverorelementare null.
Properties
Value
Gets the Value that is written to the element.
public string? Value { get; }