View Source Improve this doc

windowHandleMaximize

Maximize the specified window if not already maximized. If the :windowHandle URL parameter is “current”, the currently active window will be maximized.

Usage

1
2
browser.windowHandleMaximize([windowHandle]);

Parameters

Param Type Details
windowHandle
optional
String window to maximize (if parameter is falsy the currently active window will be maximized)