WaiterNot メソッド
待機を続けるかどうかの真偽値を返し、タイムアウトに達すると例外を送出します。

名前空間: Selenium
アセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文
VB 使用例
Dim instance As Waiter
Dim result As Object
Dim timeout As Integer
Dim timeoutMessage As String
Dim returnValue As Boolean

returnValue = instance.Not(result, timeout, 
	timeoutMessage)

パラメータ

result
型: SystemObject
Result
timeout(省略可)
型: SystemInt32
Optional - Timeout in millisecond
timeoutMessage(省略可)
型: SystemString
Optional - Message in case of timeout

戻り値

型: Boolean
Returns false if the result is true, false otherwise.
Public Sub Script()
  Dim driver As New FirefoxDriver, Waiter As New Waiter
  driver.Get "http://www.mywebsite.com/"
  While Waiter.Not(driver.Title = "MyTitle"): Wend
  ...
End Sub
参照