Tutorials · June 11, 2026 · 4 min

How to Block Cookie Popups Before Capturing a Screenshot

Cookie consent banners are one of the most common annoyances when capturing clean website screenshots, especially for European sites under GDPR requirements.

Using the no_cookie_popup parameter

Passing no_cookie_popup=1 instructs the rendering engine to detect and dismiss common consent banners before the screenshot is taken.

GET /api/screenshot?url=https://example.com&no_cookie_popup=1&key=YOUR_API_KEY

Combining with ad blocking

For an even cleaner result, pair this with no_ads=1 to strip out advertising banners as well, giving you a screenshot that reflects the core content of the page.

This is particularly useful for design reviews, competitor research, and building visual archives without visual clutter.

← Back to blog