Table of Contents

Class WebElementValueEventArgs

Namespace
OpenQA.Selenium.Support.Events
Assembly
WebDriver.Support.dll

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

driver IWebDriver

The WebDriver instance used for the action.

element IWebElement

The element used for the action.

value string

The new value for the element.

Exceptions

ArgumentNullException

If driver or element are null.

Properties

Value

Gets the Value that is written to the element.

public string? Value { get; }

Property Value

string