Use network steps to verify your UI sends the right data to the backend, or that the backend returns what you expect.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.
Wait for a single request
-
Add a Register request listener step: provide a URL regex and a key (e.g.
CHECKOUT_REQUEST). - Trigger the request (submit a form, click a button, etc.).
-
Add an Await listener step with the same key. Save the result to an
environment variable (e.g.
RESPONSE). The step fails if no matching request completes within the timeout. -
Add a JavaScript step to validate:
Record multiple requests
-
Add a Record requests step: provide a URL regex and a key (e.g.
ANALYTICS_EVENTS). - Trigger the requests (navigate, click, fill forms, etc.).
-
Add a Get recorded requests step with the same key. Save the array to an
environment variable (e.g.
REQUESTS). -
Validate in a JavaScript step:
Requests that didn’t complete before Get recorded requests ran are still
included in the array, without a
response field.