This page demonstrates infinite scrolling to test screenshot capturing of dynamically loaded content.
This page will load more content as you scroll down, simulating common infinite scroll implementations.
When testing the screenshot service with this page:
delay_time parameter in your screenshot request to allow more content to load.full_size parameter set to true.max_height to limit the capture height.POST /v1.0/screenshot
{
"url": "http://localhost:8000/infinite-scroll",
"format": "png"
}
POST /v1.0/screenshot
{
"url": "http://localhost:8000/infinite-scroll",
"format": "png",
"delay_time": 5000
}
POST /v1.0/screenshot
{
"url": "http://localhost:8000/infinite-scroll",
"format": "png",
"delay_time": 5000,
"full_size": true
}
POST /v1.0/screenshot
{
"url": "http://localhost:8000/infinite-scroll",
"format": "png",
"delay_time": 5000,
"full_size": true,
"max_height": 2000
}