The agent inspects the current page state and returns whether the assertion holds. Use for semantic checks that are awkward to express as a CSS selector or substring match.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.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
that | string | Yes | What must be true on the page. |
timeout | number | No | Maximum time in milliseconds to wait for the assertion to hold. |
iframe | string | No | Description of the iframe to scope the assertion to. |
source | string | No | Marker used to attribute the assertion in traces (e.g. failure recovery). |
DANGEROUS_FORCE_DYNAMIC | boolean | No | Bypass the step cache and re-evaluate the assertion every run. |
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. |