Waits for a delegate function to return true
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim func As Func(Of Boolean)
Dim timeoums As Integer
Dim sleepms As Integer
Dim returnValue As Boolean
returnValue = Waiter.WaitTrue(func,
timeoums, sleepms)
Parameters
- func
- Type: SystemFuncBoolean
Delegate action - timeoums
- Type: SystemInt32
Timeout in millisecond - sleepms
- Type: SystemInt32
Delay between each attempt
Return Value
Type:
BooleanTrue if succeed, false otherwise
See Also