Screenshots
Hide Popups and Cookie Banners
Automatically dismiss GDPR consent dialogs, newsletter popups, and similar overlays before the screenshot is taken.
What it does
Setting hide_popups=true instructs the browser to dismiss common popup overlays — GDPR/cookie consent dialogs, newsletter sign-up modals, chat widgets, and similar banners — before the screenshot is captured.
It combines CSS-based suppression of known overlay patterns with JavaScript heuristics that detect and close modal dialogs automatically.
API parameter
{
"url": "https://example.com",
"hide_popups": true
}
Dashboard
Enable the Hide popups and cookie banners checkbox in the main screenshot form. It is enabled by default for new accounts.
When to use it
- Visual regression monitoring — popups break baseline comparisons.
- Social media previews and thumbnails where overlays are distracting.
- Any automated pipeline where consistent, clean output matters.
Limitations
The heuristics cover the vast majority of common popup libraries (OneTrust, Cookiebot, Intercom, Drift, etc.), but highly custom implementations may still appear. Combine with Automation Steps (e.g. a click command) for precise control over specific elements.
Last updated March 27, 2026