Web Scraper Test Website

Infinite Scroll Test Page

This page demonstrates infinite scrolling to test screenshot capturing of dynamically loaded content.

Page Information

This page will load more content as you scroll down, simulating common infinite scroll implementations.

Scroll Controls

Infinite Scroll Content

Items Loaded: 0 | Scroll Position: 0px | Container Height: 0px
Loading more content...

Testing Instructions

When testing the screenshot service with this page:

  1. First take a screenshot with default settings to establish a baseline (will only capture initial content).
  2. Then set the delay_time parameter in your screenshot request to allow more content to load.
  3. For full page capture, use the full_size parameter set to true.
  4. You can also test with max_height to limit the capture height.

Sample API Requests:

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
}