Finds an element matching the given mechanism and value.
Namespace: OpenQA.Selenium.RemoteAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
protected IWebElement FindElement( string mechanism, string value )
Parameters
- mechanism
- Type:
System String
The mechanism by which to find the element.
- value
- Type:
System String
The value to use to search for the element.
Return Value
The first IWebElement matching the given criteria.See Also