RemoteWebDriver FindElement Method (String, String)WebDriver
Finds an element matching the given mechanism and value.

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

protected IWebElement FindElement(
	string mechanism,
	string value
)

Parameters

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

Return Value

The first IWebElement matching the given criteria.
See Also