pilot_responsive
Capture full-page screenshots at mobile, tablet, and desktop breakpoints to verify responsive design. Viewport is restored after each capture.
Instructions
Capture full-page screenshots at three standard responsive breakpoints — mobile (375x812), tablet (768x1024), and desktop (1280x720). Use when the user wants to preview how a page looks across different screen sizes, test responsive design, or generate viewport comparison screenshots. The browser viewport is restored to its original size after capture.
Parameters:
output_prefix: File path prefix for the saved screenshots (default: /tmp/pilot-responsive). Files are saved as {prefix}-mobile.png, {prefix}-tablet.png, {prefix}-desktop.png
Returns: List of viewport names, dimensions, and file paths for each screenshot.
Errors:
"Output path must be within ...": The prefix path is outside the allowed directory.
Timeout: The page took too long to render at one of the viewports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_prefix | No | File path prefix for screenshots |