WebDriverUntilT Method
Waits for the delegate function to return not null or true

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebDriver
Dim func As Func(Of WebDriver, T)
Dim timeout As Integer
Dim returnValue As T

returnValue = instance.Until(func, timeout)

Parameters

func
Type: SystemFuncWebDriver, T
Delegate taking the web driver instance as argument
timeout (Optional)
Type: SystemInt32
Timeout in milliseconds

Type Parameters

T
Returned object or boolean

Return Value

Type: T
Variant or boolean
See Also