Sets the browser orientation.

Usage:

Parameters:

Name Type description
orientation string

The new browser orientation: {LANDSCAPE|PORTRAIT}

callback
Optional
function

Optional callback function to be called when the command finishes.