ByXPath Method
Search by XPath

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

returnValue = By.XPath(xpath)

Parameters

xpath
Type: SystemString
XPath locator

Return Value

Type: By
By object
See Also