handle_dialogs
Capture and handle browser dialogs like alert, confirm, prompt, and beforeunload. Auto-dismiss with default values or apply custom response logic for testing.
Instructions
Capture and handle native browser dialogs (alert, confirm, prompt, beforeunload). Auto-dismiss with defaults or use custom response logic for testing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| filter | No | ||
| browser | No | ||
| waitTime | No | ||
| generateCode | No | ||
| handlerConfig | No | ||
| triggerScript | No |