Gets a mechanism to find elements by their cascading style sheet (CSS) selector.
Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax
Parameters
- cssSelectorToFind
- Type: SystemString
The CSS selector to find.
Return Value
Type: ByA By object the driver can use to find the elements.
See Also