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.

Deterministically asserts that the given text appears somewhere on the screen. The simplified form takes the text as a single string.

Parameters

ParameterTypeRequiredDescription
textstringYesText expected to be present.
timeoutnumberNoMilliseconds to wait for the text to appear.
saveAsstringNoVariable to store this step’s return value on env.<name>.
retriesnumberNoTimes 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.
- checkScreenContains: Order #12345

Examples

- checkScreenContains:
    text: Order #12345
    timeout: 5000 # poll for up to 5s before failing