ITargetLocator Window Method WebDriver
Switches the focus of future commands for this driver to the window with the given name.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

IWebDriver Window(
	string windowName
)

Parameters

windowName
Type: OnlineSystem String
The name of the window to select.

Return Value

An IWebDriver instance focused on the given window.
Exceptions

See Also