handle_dialog
BrowserAccepts or dismisses JavaScript dialogs.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
action | string | Yes | — | Dialog action
Options: accept, dismiss |
prompt_text | string | No | | Text to enter for prompt dialogs |
wait_before_action | number | No | 0 | Delay before handling dialog in ms |
Usage Example
RTILA X PROJECT JSON
{
"command": "handle_dialog",
"params": {
"action": "accept",
"prompt_text": "",
"wait_before_action": 0
}
}
Related Scenarios
- View /scenarios/complex-workflows/4 · complex workflows
Related Learning Articles
Was this helpful?
Thank you for your feedback!