This page demonstrates a container with a specific height for testing the full_size parameter.
The container below has the exact height specified in the URL. It includes height markers every 1000px to help verify the screenshot captures the full height.
When testing the screenshot service with this page:
full_size: false (default) to see only the viewport portion.full_size: true to capture the entire page height.max_height values to see how it affects very tall pages.POST /v1.0/screenshot
{
"url": "http://localhost:8000/full-height/10000",
"width": 1024,
"height": 768,
"format": "png"
}
POST /v1.0/screenshot
{
"url": "http://localhost:8000/full-height/10000",
"width": 1024,
"height": 768,
"format": "png",
"full_size": true
}
POST /v1.0/screenshot
{
"url": "http://localhost:8000/full-height/10000",
"width": 1024,
"height": 768,
"format": "png",
"full_size": true,
"max_height": 10000
}