browser_handle_dialog
Accept or dismiss JavaScript alert, confirm, and prompt dialogs, with optional text input and wait mode to handle the next dialog automatically.
Instructions
Accept or dismiss a JavaScript dialog (alert / confirm / prompt).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | When true, wait for and handle the next dialog before returning. Default false arms a one-shot handler for the next action. | |
| accept | Yes | true = accept, false = dismiss | |
| timeout | No | Milliseconds to wait when wait=true | |
| promptText | No | Text to enter for prompt dialogs |