browser_handle_dialog
Automate dialog handling in browser automation by accepting or dismissing dialogs and managing prompt text inputs using Playwright MCP's structured accessibility snapshots.
Instructions
Handle a dialog
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accept | Yes | Whether to accept the dialog. | |
promptText | No | The text of the prompt in case of a prompt dialog. |