ByCss Method
Search by CSS selector

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim cssSelector As String
Dim returnValue As By

returnValue = By.Css(cssSelector)

Parameters

cssSelector
Type: SystemString
CSS seletor

Return Value

Type: By
By object
See Also