Capture at breakpoints
captureDetect horizontal overflow across multiple viewport widths and pinpoint the single element causing it, so front-end layout issues can be fixed quickly.
Instructions
Load a page at several viewport widths and report which of them overflow sideways, naming the single element responsible. Returns text; pass screenshots:true only when an image is genuinely needed, as each one is expensive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to look at, e.g. http://localhost:5173/pricing | |
| viewports | No | Names (mobile, tablet, laptop, desktop), sizes like 414x896, or widths like 414 | |
| screenshots | No | Attach a PNG per viewport. Off by default. |