SearchContextFindElementBy Method
Finds the first child element matching the given mechanism and value.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As SearchContext
Dim strategy As Strategy
Dim value As String
Dim timeout As Integer
Dim raise As Boolean
Dim returnValue As WebElement

returnValue = instance.FindElementBy(strategy, 
	value, timeout, raise)

Parameters

strategy
Type: Strategy
The mechanism by which to find the elements.
value
Type: SystemString
The value to use to search for the elements.
timeout (Optional)
Type: SystemInt32
Optional timeout in milliseconds
raise (Optional)
Type: SystemBoolean

[Missing <param name="raise"/> documentation for "M:Selenium.SearchContext.FindElementBy(Selenium.Strategy,System.String,System.Int32,System.Boolean)"]

Return Value

Type: WebElement
WebElement
See Also