set-viewport

Sets viewport for the browser

Options:

OptionRequiredDescriptionExample
widthtrue(number) Sets the width of the browser window
heighttrue(number)Sets the height of the browser window

Example 1:

{ "action": "set-viewport", "options": { "width": 1374, "height": 502 } }