Waits for the delegate function to return not null or true
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax 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:
TVariant or boolean
See Also