Get Screenshot
Capture full-page or viewport screenshots of dynamic, JavaScript-rendered web pages.
Overview
Selecting Get Screenshot in the Playground Use Case panel pre-configures the Playground environment specifically for visual page capture. When this preset is active, the Playground enables real browser rendering (browserRendering=true) by default so you can visually verify how dynamic web pages, client-side scripts, and layout elements render.
You can toggle between capturing the visible viewport (top) or rendering the full scrollable page (full).
Practical Applications
- Visual QA & Deployment Audits: Verify visual layout integrity across dynamic responsive viewports after deployments or design updates.
- Compliance & Legal Archiving: Maintain time-stamped visual proof of pricing, terms of service, disclosures, or ad placements.
- Competitor UI & Campaign Tracking: Monitor visual changes on competitor landing pages, promotional banners, and checkout flows over time.
- Scraper & Extraction Debugging: Inspect the exact page state when data extraction fails—instantly spot CAPTCHAs, cookie banners, bot blocks, or unexpected layouts.
- Automated Previews & Dashboards: Generate real-time page thumbnails and visual previews for internal dashboards, link previews, or reports.
Default Parameters
| Parameter | Description |
|---|---|
| html=true | Used by this endpoint to return html in the response |
| browserRendering=true | In this use case, Render JavaScript default to On |
| waitUntil | Default to DOM Content Loaded |
| timeout | Default to 300 |
Example
Request
Scrape https://www.walmart.com/search?q=table%20lamps with Record toggled on, Render JavaScript toggled on, and Screenshot area set to Full
curl --location --request POST 'https://api.mrscraper.com?token={MRSCRAPER_API_TOKEN}&browserRendering=true&waitUntil=networkidle0&timeout=300&geoCode=us&html=true&screenshot=full&record=true&saveResult=true&proxyCountry=us' \
-H 'x-api-token: {MRSCRAPER_API_TOKEN}' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://www.walmart.com/search?q=table%20lamps"
}'Response
Images :

Recording :