handle_dialog
Accept or dismiss browser dialogs during automated testing with Chrome DevTools, enabling controlled interaction with prompts and alerts.
Instructions
If a browser dialog was opened, use this command to handle it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Whether to dismiss or accept the dialog | |
| promptText | No | Optional prompt text to enter into the dialog. |