Resizes the current window.

Parameters

Name Type description
width number

The new window width.

height number

The new window height.

callback
Optional
function

Optional callback function to be called when the command finishes.

Usage

 this.demoTest = function (browser) {
   browser.resizeWindow(1000, 800);
 };

See also