dialog
Accept or dismiss pending JavaScript confirm, prompt, or beforeunload popups on a browser tab; supply text to answer prompts. Alerts are auto-accepted.
Instructions
Accept or dismiss the pending JS dialog (confirm, prompt, beforeunload) on a tab; text answers a prompt. Alerts are auto-accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab id such as "t3"; default is the active tab | |
| text | No | ||
| action | Yes |