browser_handle_dialog
Control browser dialogs by accepting or dismissing them and optionally entering text for prompt dialogs using Playwright MCP's structured interaction capabilities.
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. |