SearchContextFindElementByLinkText Method
Finds the first element matching the specified link text.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: (
VB Usage
Dim instance As SearchContext
Dim linktext As String
Dim timeout As Integer
Dim raise As Boolean
Dim returnValue As WebElement

returnValue = instance.FindElementByLinkText(linktext, 
	timeout, raise)


Type: SystemString
Link text
timeout (Optional)
Type: SystemInt32
Optional timeout in milliseconds
raise (Optional)
Type: SystemBoolean
Optional - Raise an exception after the timeout when true

Return Value

Type: WebElement
WebElement or null
See Also