set_viewport
Resize the browser viewport to test responsive layouts, optionally wait for a selector, and return updated diagnostics.
Instructions
Set a bounded viewport and optionally wait for a responsive-layout completion selector. Returns new diagnostics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| wait_for | No | ||
| session_id | Yes | ||
| timeout_ms | No |