Screenshots
Screenshot Size and Viewport
Control whether the screenshot captures the visible viewport or the full page, and set custom screen dimensions.
Screenshot size modes
- Screen (
size=screen) — captures only the visible viewport area, using the width and height you specify. - Full page (
size=full) — scrolls and stitches the entire page, including content below the fold.
Screen width and height
Define the browser window size in pixels:
{
"url": "https://example.com",
"screen_width": 1440,
"screen_height": 900
}
These values control how responsive layouts render. Common breakpoints:
- Desktop: 1440 × 900 or 1920 × 1080
- Laptop: 1280 × 800
- Tablet: 768 × 1024
- Mobile: 375 × 812 (or use Device Emulation)
Max height
Set max_height to limit full-page capture to a maximum number of pixels, avoiding extremely long renders.
Tips
- When a device name is selected, screen dimensions are locked to the device's specs.
- For mobile testing, prefer the Device Emulation section over manual width/height.
Last updated March 27, 2026