browser.set_viewport
Resize the browser viewport to specified width and height. Use to simulate different screen sizes for testing responsive layouts.
Instructions
Resize the browser viewport to the specified width and height.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| width | Yes | ||
| height | Yes |