browser_handle_dialog
Accept or dismiss blocking JavaScript dialogs (alert, confirm, prompt, beforeunload) to unblock the page. Optionally enter prompt text and get a snapshot.
Instructions
Accept or dismiss the JavaScript dialog (alert, confirm, prompt, beforeunload) that is blocking the page
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accept | Yes | true to press OK / accept, false to press Cancel / dismiss | |
| snapshot | No | Also return the page snapshot after the action (default: no). Use it when you need to see the result right away. | |
| promptText | No | Text to enter into a prompt() dialog before accepting |