accept_dialog
Accept browser dialogs like alerts, confirms, and prompts during automated testing. Enter text for prompt dialogs and handle dialog interactions in Firefox browser automation.
Instructions
Accept the active browser dialog (alert/confirm/prompt). For prompts, you may provide promptText. Returns an error if no dialog is open.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
promptText | No | Text to enter in a prompt dialog (optional, only for prompt dialogs) |
Input Schema (JSON Schema)
{
"properties": {
"promptText": {
"description": "Text to enter in a prompt dialog (optional, only for prompt dialogs)",
"type": "string"
}
},
"type": "object"
}