browser_handle_dialog
Accept or dismiss JavaScript dialogs like alert, confirm, and prompt, and enter optional prompt text to automate browser interactions.
Instructions
Handle or configure behavior for JavaScript dialogs (alert, confirm, prompt) with custom action and prompt text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Whether to accept or dismiss dialog | accept |
| prompt_text | No | Optional text to enter for window.prompt |