MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / window

Method window

java/src/org/openqa/selenium/WebDriver.java:442–442  ·  view source on GitHub ↗

Switch the focus of future commands for this driver to the window with the given name/handle. See W3C WebDriver specification for more details. @param nameOrHandle The name of the window or the handle as returned by {@link WebD

(String nameOrHandle)

Source from the content-addressed store, hash-verified

440 * @throws NoSuchWindowException If the window cannot be found
441 */
442 WebDriver window(String nameOrHandle);
443
444 /**
445 * Creates a new browser window and switches the focus for future commands of this driver to the

Callers

nothing calls this directly

Implementers 2

RemoteTargetLocatorjava/src/org/openqa/selenium/remote/Re
TargetLocatorjavascript/selenium-webdriver/lib/webd

Calls

no outgoing calls

Tested by

no test coverage detected