browser_resize_window
Resize a browser window to specific CSS pixel dimensions for testing responsive layouts or framing recordings. Restore original size after use.
Instructions
Resize the browser window that contains the tab to width×height CSS pixels. Mutating and user-visible: it resizes the user's real window. Use for reproducing responsive layouts or framing a recording, and consider restoring the original size afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | tab id from browser_tabs_list or browser_tab_create | |
| width | Yes | window width, CSS px | |
| height | Yes | window height, CSS px |