Interface IFindsElement
Defines the interface through which the user finds elements by a strategy and value.
public interface IFindsElement
Methods
FindElement(string, string)
Finds the first element matching the specified value using the specified mechanism.
IWebElement FindElement(string mechanism, string value)
Parameters
Returns
- IWebElement
The first IWebElement matching the criteria.
FindElements(string, string)
Finds all elements matching the specified value using the specified mechanism.
ReadOnlyCollection<IWebElement> FindElements(string mechanism, string value)
Parameters
Returns
- ReadOnlyCollection<IWebElement>
IWebElements matching the criteria.