ById Method
Search by id

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

returnValue = By.Id(id)

Parameters

id
Type: SystemString
Element id

Return Value

Type: By
By object
See Also