WaiterWaitTrue Method
Waits for a delegate function to return true

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim 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: Boolean
True if succeed, false otherwise
See Also