| WindowSwitchToWindowByName 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 name As String
Dim timeout As Integer
Dim returnValue As Window
returnValue = instance.SwitchToWindowByName(name,
timeout)
Parameters
- name
- Type: SystemString
Name of the window - timeout (Optional)
- Type: SystemInt32
Optional timeout in milliseconds
Return Value
Type:
Window
See Also