Sets the current window position.

Usage

Example

 this.demoTest = function (browser) {
   browser.setWindowPosition(0, 0);
 };

Parameters

Name Type description
offsetX number

The new window offset x-position.

offsetY number

The new window offset y-position.

callback
Optional
function

Optional callback function to be called when the command finishes.

See also