Sets the current window position.

Usage:

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.

Example:

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

See also: