--full-page
- CLI
- --full-page
- REST
- full_page
Captures the full scrollable page instead of the viewport. Applies to still images: PNG, JPEG, WebP, TIFF, BMP, JPEG XL, and single-frame GIF, APNG and AVIF. Video output and --image-duration captures are rejected.
Layout Adjustments
The page will scrolled through one viewport at a time and have each viewport stitched into a result image. Content that scrolls inside an inner container is expanded, and pinned elements appear once instead of in every segment. On unusual layouts the result can differ from the screen.
Example
zshot --full-page \
-f page.png \
https://zshot-cli.com/reference/formats/{
"url": "https://zshot-cli.com/reference/formats/",
"output_type": "png",
"full_page": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/reference/formats/","output_type":"png","full_page":true}' \
-o page.png