Test 7: JavaScript-Rendered Content

JS Required

This content is loaded entirely via JavaScript. View source to verify no data is in the initial HTML.

Test Passing Criteria
Challenge Description

A simple HTTP GET request to this page will return only an empty shell with skeleton placeholders. The actual article data is fetched from /api/test/js-rendered/data after JavaScript execution.

To scrape this content, your scraper needs to either:

  • Use a headless browser (Puppeteer, Playwright) to execute JavaScript
  • Identify and call the underlying API endpoint directly
  • Analyze the page source to find the data-fetching logic

Dynamic Content

Loading dynamic content via JavaScript...