An expectation for checking that all elements present on the web page that
match the locator.
Namespace: OpenQA.Selenium.Support.UI
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 3.1.0
Syntax
public static Func<IWebDriver, ReadOnlyCollection<IWebElement>> PresenceOfAllElementsLocatedBy( By locator )
Parameters
- locator
- Type: OpenQA.SeleniumBy
The locator used to find the element.
Return Value
Type: FuncIWebDriver, ReadOnlyCollectionIWebElementThe list of IWebElement once it is located.
See Also