Skip to main content

newWin

Opens a new window/tab as per the given type and switches webdriver to it.

newWin(windowType)

Parameters#

  • windowType: A string. Either window or tab. If omitted, default is tab.

Returns#

  • No value