.resizeWindow() Suggest edits
Resizes the current window.
Usage
Example
this.demoTest = function (browser) {
browser.resizeWindow(1000, 800);
};
Parameters
| Name | Type | description |
|---|---|---|
width |
number | The new window width. |
height |
number | The new window height. |
callbackOptional |
function | Optional callback function to be called when the command finishes. |