Getting complete renders
Fix screenshots captured too early that miss late-loading content.
The screenshot is missing content that appears after the initial load — images, charts, or anything fetched by JavaScript.
Why it happens
By default Urlbox captures once the page reports it has loaded. Single-page apps and lazy-loaded content often appear after that point, so they don't make it into the render.
Fix
Tell Urlbox what to wait for:
wait_for— wait for a specific CSS selector to appear. The most precise and reliable option.wait_until— wait for a load milestone:domloaded,loaded(default),requestsfinished, ormostrequestsfinished. Userequestsfinishedfor SPAs.delay— wait a fixed number of milliseconds. A blunt but simple fallback.wait_timeout— how long to wait before giving up (default 30000ms).
{ "url": "https://example.com", "wait_for": "#chart.loaded", "wait_timeout": 45000}Which one should I use?
- You know an element that signals "ready" →
wait_for(best). - An SPA that keeps fetching →
wait_until: "requestsfinished". - You just need a moment →
delay.
Avoid large fixed delay values when a wait_for selector will do — a fixed delay slows down every render.