An interface for managing the current window.
The parent driver.
Retrieves the window's current position, relative to the top left corner of the screen.
A promise that will be resolved with the window's position in the form of a {x:number, y:number} object literal.
Retrieves the window's current size.
A promise that will be resolved with the window's size in the form of a {width:number, height:number} object literal.
Maximizes the current window.
A promise that will be resolved when the command has completed.
Repositions the current window.
The desired horizontal position, relative to the left side of the screen.
The desired vertical position, relative to the top of the of the screen.
A promise that will be resolved when the command has completed.
Resizes the current window.
The desired window width.
The desired window height.
A promise that will be resolved when the command has completed.