| WindowSwitchToWindowByTitle Method |
Change focus to another window.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim instance As Window
Dim title As String
Dim timeout As Integer
Dim returnValue As Window
returnValue = instance.SwitchToWindowByTitle(title,
timeout)
Parameters
- title
- Type: SystemString
Title of the window - timeout (Optional)
- Type: SystemInt32
Optional timeout in milliseconds
Return Value
Type:
Window
See Also