camofox_set_viewport
Set a tab's viewport size to trigger a real layout reflow for responsive testing. Physically resizes the page via Playwright, enabling accurate viewport simulation.
Instructions
Set the tab viewport size
Physically resizes the page via Playwright's page.setViewportSize, triggering a real layout reflow. Use for responsive testing — window.resizeTo() is a no-op on non-popup windows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | ||
| width | Yes | ||
| height | Yes | ||
| userId | Yes |