orke browser page.dialogRespond
Send accept or cancel to a dialog you have read.
When to use it
Send accept or cancel to a dialog you have read.
Usage
Syntax · [ ] marks optional arguments
orke browser page.dialogRespond --dialogId <integer> --accept <boolean> [--promptText <string>]Options
| Options | Required? | Values and description |
|---|---|---|
--dialogId | Required | The current dialog number from the page.dialog response. Range: 1 or greater (check the command-specific upper limit) |
--accept | Required | true accepts; false cancels. |
--promptText | Optional | The prompt response text. Prompts on regular pages are not supported. |
Common management command options and reading errors →
Example
Terminal
orke browser page.dialogRespond --dialogId 1 --accept false --page "PAGE_ID"Replace the example IDs, folders, references, and revision with actual query results. Take element references such as e7 from the latest observation as well.
What to check in the result
Read ok and error together, and check the actual IDs, state, and partial results in data.
Behavior and states to watch for
- You can specify the target with --page. If the target is ambiguous, choose an ID from tab.list.