RemoteWebElementFindElement Method (String, String)WebDriver
Finds a child element matching the given mechanism and value.

Namespace: OpenQA.Selenium.Remote
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

protected IWebElement FindElement(
	string mechanism,
	string value
)

Parameters

mechanism
Type: SystemString
The mechanism by which to find the element.
value
Type: SystemString
The value to use to search for the element.

Return Value

Type: IWebElement
The first IWebElement matching the given criteria.
See Also

Reference