Registers an action for the next native dialog the page raises. Schedule theDocumentation Index
Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
dialog step before the step that triggers the dialog (e.g. a click that
calls window.confirm).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
action | "ACCEPT" | "DISMISS" | Yes | Whether to accept or dismiss the next dialog. |
saveAs | string | No | Name of the variable to write this step’s return value to. |
retries | number | No | Number of times to retry the step on failure before failing the test. |
skipped | boolean | No | Skip this step at execution time. |
comment | string | No | Free-form annotation kept with the step. |
Shorthand
ACCEPT or DISMISS.