Resizes the current window.

Usage

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.

Example

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

See also