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 | browser.windowHandleMaximize([windowHandle]); |
Parameters
Param | Type | Details |
---|---|---|
windowHandle optional |
String | window to maximize (if parameter is falsy the currently active window will be maximized) |
Example
1 | it('should maximize the passed window handle', function () { |