WebDriverSwitchToWindowByTitle メソッド
タイトルで指定したウィンドウにフォーカスを切り替えます。

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

returnValue = instance.SwitchToWindowByTitle(title, 
	timeout, raise)

パラメータ

title
型: SystemString
アクティブにするウィンドウのタイトル。
timeout(省略可)
型: SystemInt32
省略可。タイムアウト(ミリ秒)。
raise(省略可)
型: SystemBoolean
省略可。True のときタイムアウト後に例外を送出します。

戻り値

型: Window
Current web driver
参照