Reads a value from the page and writes it to the test’sDocumentation Index
Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
env map. When schema
is set, the returned value must validate against it or the step fails.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
goal | string | Yes | Natural-language description of the value to extract. |
schema | object | No | JSON Schema the extracted value must validate against. |
iframe | string | No | Description of the iframe to scope extraction to. |
DANGEROUS_FORCE_DYNAMIC | boolean | No | Bypass the step cache. |
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
Pair withsaveAs to capture the value into env.