Verify Network On Screen
verify_network_on_screenVerifies that expected network requests fire within milliseconds of a UI action to confirm navigation triggers correct API calls.
Instructions
Assert that a list of expected network calls all fire within withinMs of a referenced UI action. Use to verify that navigating to a screen triggers the right API calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| withinMs | No | Look at network traffic within this many milliseconds of the anchor (default 3000, matches the Correlator window) | |
| sessionId | Yes | Active or completed session ID | |
| afterAction | Yes | Reference a prior UI action to anchor the time window | |
| expectedCalls | Yes | Every matcher in this list must find at least one event in the window | |
| filterDomains | No | Optional Proxyman domain filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extras | Yes | Events in the window that did not correspond to any expected matcher | |
| passed | Yes | ||
| matched | Yes | ||
| missing | Yes | ||
| verdict | Yes | ||
| anchorTimestamp | No |