EventFiringWebDriverFindElements Method WebDriver
Find all IWebElements within the current context using the given mechanism.

Namespace: OpenQA.Selenium.Support.Events
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 3.1.0
Syntax

public ReadOnlyCollection<IWebElement> FindElements(
	By by
)

Parameters

by
Type: OpenQA.SeleniumBy
The locating mechanism to use.

Return Value

Type: ReadOnlyCollectionIWebElement
A ReadOnlyCollectionT of all WebElements matching the current criteria, or an empty list if nothing matches.

Implements

ISearchContextFindElements(By)
See Also

Reference