RemoteWebDriverFindElementsByCssSelector Method WebDriver
Finds all elements matching the specified CSS selector.

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

public ReadOnlyCollection<IWebElement> FindElementsByCssSelector(
	string cssSelector
)

Parameters

cssSelector
Type: SystemString
The CSS selector to match.

Return Value

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

Implements

IFindsByCssSelectorFindElementsByCssSelector(String)
See Also

Reference