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

Method getWindowHandles

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

Return a set of window handles which can be used to iterate over all open windows of this WebDriver instance by passing them to #switchTo().Options#window() See W3C WebDriver specification for more details. @retur

()

Source from the content-addressed store, hash-verified

165 * @return A set of window handles which can be used to iterate over all open windows.
166 */
167 Set<String> getWindowHandles();
168
169 /**
170 * Return an opaque handle to this window that uniquely identifies it within this driver instance.

Implementers 3

StubDriverjava/test/org/openqa/selenium/StubDriv
RemoteWebDriverjava/src/org/openqa/selenium/remote/Re
DecoratedWebDriverTestjava/test/org/openqa/selenium/support/

Calls

no outgoing calls