Sets viewport for the browser
Options:
Option | Required | Description | Example |
---|---|---|---|
width | true | (number) Sets the width of the browser window | |
height | true | (number)Sets the height of the browser window |
Example 1:
{
"action": "set-viewport",
"options": {
"width": 1374,
"height": 502
}
}