Skip to main content

switchWin

Switches webdriver to the desired window/tab using the given windowId. If no windowId is given, webdriver switches to top level browsing context (the main page or top frame).

switchWin(windowId)

Parameters#

  • windowId: The unique id of the window/tab. Can be omitted.

Returns#

  • No value