Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Registers an action for the next native dialog the page raises. Schedule the dialog step before the step that triggers the dialog (e.g. a click that calls window.confirm).

Parameters

ParameterTypeRequiredDescription
action"ACCEPT" | "DISMISS"YesWhether to accept or dismiss the next dialog.
saveAsstringNoName of the variable to write this step’s return value to.
retriesnumberNoNumber of times to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.
commentstringNoFree-form annotation kept with the step.

Shorthand

ACCEPT or DISMISS.
- dialog: ACCEPT

Examples

- dialog:
    action: ACCEPT
- dialog:
    action: DISMISS