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.

Substring match against the page’s rendered text. For semantic assertions, use assert. For element-level matching, use the checkElement family.

Parameters

ParameterTypeRequiredDescription
textstringYesSubstring that must appear on the page.
timeoutnumberNoMaximum time in milliseconds to wait for the text.
iframestringNoDescription of the iframe to scope the check to.
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

Text as a single string.
- checkPageContains: Momentic Staging

Examples

- checkPageContains:
    text: cloud-ai-action-completion
    timeout: 90000
- checkPageContains:
    text: "{{ env.HEADER_NAME_GLOBAL }}"
    timeout: 5000
- checkPageContains:
    text: Interface theme
    iframe: settings
    timeout: 60000