Gets a mechanism to find elements by their cascading style sheet (CSS) selector.
Namespace: OpenQA.SeleniumAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- cssSelectorToFind
- Type:
System String
The CSS selector to find.
Return Value
A By object the driver can use to find the elements.See Also