dialog_policy
Set automatic responses for browser dialogs by defining a session default or adding text-match rules for future dialogs. Already-seen dialogs stay recorded and are not affected.
Instructions
Answer dialogs from now on. match=None sets the session default; with a match, adds a rule for dialogs whose text contains it (an earlier rule with the same text is replaced). Applies to future dialogs only; dialogs already seen stay recorded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | ||
| action | No | accept |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |