RemoteWebDriverFindElementByCssSelector Method WebDriver
Finds the first element matching the specified CSS selector.

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

public IWebElement FindElementByCssSelector(
	string cssSelector
)

Parameters

cssSelector
Type: SystemString
The CSS selector to match.

Return Value

Type: IWebElement
The first IWebElement matching the criteria.

Implements

IFindsByCssSelectorFindElementByCssSelector(String)
See Also

Reference