デリゲートが True を返すまで待機します。
名前空間: Seleniumアセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文Dim func As Func(Of Boolean)
Dim timeoums As Integer
Dim sleepms As Integer
Dim returnValue As Boolean
returnValue = Waiter.WaitTrue(func,
timeoums, sleepms)
パラメータ
- func
- 型: SystemFuncBoolean
Delegate action - timeoums
- 型: SystemInt32
Timeout in millisecond - sleepms
- 型: SystemInt32
Delay between each attempt
戻り値
型:
BooleanTrue if succeed, false otherwise
参照