Finds all elements 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 ReadOnlyCollection<IWebElement> FindElements( string mechanism, string value )
Parameters
- mechanism
- Type:
System String
The mechanism by which to find the elements.
- value
- Type:
System String
The value to use to search for the elements.
Return Value
A collection of all of the IWebElements matching the given criteria.See Also