test_responsive
Check a website's responsive design across viewport sizes. Load URL at mobile, tablet, desktop defaults, screenshot each, and optionally run checks to catch layout breakage.
Instructions
Load a URL at several viewport sizes (default mobile 375x812, tablet 768x1024, desktop 1920x1080) and screenshot each, optionally running checks per size. Returns each viewport's screenshot path and any issues. Catches layout breakage across breakpoints in one call. Pass custom viewports as [{name,width,height}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to test | |
| project | No | Project name (optional). With a project: runs in its shared, authenticated context. Without: runs in an isolated context (no shared cookies/login). | |
| viewports | No | Custom viewports [{name, width, height}]. Default: mobile (375x812), tablet (768x1024), desktop (1920x1080) | |
| run_checks | No | Checks to run at each viewport |