IFindsByXPathFindElementsByXPath Method WebDriver
Finds all elements matching the specified XPath query.

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

ReadOnlyCollection<IWebElement> FindElementsByXPath(
	string xpath
)

Parameters

xpath
Type: SystemString
The XPath query to match.

Return Value

Type: ReadOnlyCollectionIWebElement
A ReadOnlyCollectionT containing all IWebElements matching the criteria.
See Also

Reference