chrome_dialog
Handle blocking JavaScript dialogs (alert/confirm/prompt/beforeunload) in Chrome tabs. Check the message, then accept or dismiss, providing text for prompts.
Instructions
Inspect or answer a JavaScript dialog (alert/confirm/prompt/beforeunload) that is blocking a tab. Dialogs are never accepted automatically: read the message, then accept or dismiss (promptText for prompt()).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Chrome tab id (default: active tab) | |
| action | No | status | |
| promptText | No |