browser_dismiss_overlays
Remove popups, modals, tooltips, and cookie banners that interrupt workflows. Identifies close buttons by label or text, preserving inputs in non-critical mode, and repeats passes to clear layered 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 |