Resize the viewport
browser_resizeSet the browser viewport width and height in CSS pixels to test mobile or desktop layouts, then reset to restore the original window size.
Instructions
Set the page viewport to a width and height in CSS pixels, e.g. 375×812 to check a mobile layout. This resizes the user's real window: call with reset: true when done to put it back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | Put the window back to its size before Deputy first resized it. | |
| tabId | No | ||
| width | No | ||
| height | No |