browser_set_viewport
Resize the browser viewport to test responsive or mobile layouts by specifying width and height in pixels.
Instructions
Resize the browser viewport to test responsive / mobile layouts.
Call this at any point during a session to switch between breakpoints.
Common presets: 390×844 — iPhone 14 375×667 — iPhone SE 360×800 — Samsung Galaxy S21 768×1024 — iPad 1280×800 — laptop 1920×1080 — desktop full-HD
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Viewport width in pixels | |
| height | Yes | Viewport height in pixels |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |