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)
SyntaxDim instance As WebElement
Dim func As Func(Of WebElement, T)
Dim timeout As Integer
Dim returnValue As T
returnValue = instance.Until(func, timeout)
Parameters
- func
- Type: SystemFuncWebElement, T
Delegate taking the web element 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