WebDriverSwitchToNextWindow Method |
Switch the focus to the next window.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim instance As WebDriver
Dim timeout As Integer
Dim raise As Boolean
Dim returnValue As Window
returnValue = instance.SwitchToNextWindow(timeout,
raise)
Parameters
- timeout (Optional)
- Type: SystemInt32
Optional timeout in milliseconds - raise (Optional)
- Type: SystemBoolean
Optional - Raise an exception after the timeout when true. Default is true.
Return Value
Type:
WindowWindow
See Also