Maximizes the current window.

Usage:

Parameters:

Name Type description
callback
Optional
function

Optional callback function to be called when the command finishes.

Example:

 this.demoTest = function (browser) {
   browser.maximizeWindow();
 };

See also: