browser_dismiss_overlays
Dismiss visible popups, modals, tooltips, banners, and confirm dialogs in one call. Uses heuristics to find close affordances, helpful when flows are interrupted by unexpected overlays.
Instructions
Dismiss visible popups, modals, tooltips, banners, and "Are you sure?"-style overlays in one call. Heuristic-based: finds close affordance via aria-label, text content (Skip/Cancel/Ikke nu/Don't show/Got it/Close), or × character button. Use when a flow is interrupted by unexpected dialogs (cookie banners, onboarding tooltips, draft-confirm prompts on Meta Ads, etc.). Returns list of what was dismissed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | non_critical (default): skip dialogs containing editable form inputs (preserves user data). aggressive: dismiss everything. | |
| max_passes | No | Number of dismissal passes (some overlays reveal others when closed). Default: 3 |