network_wait_for_request
Block until a network request matching a URL substring completes, then return it. Event-driven, no polling; returns existing matches immediately and obeys a timeout.
Instructions
Block until a request whose URL contains url_filter completes, then return it. Event driven, so there is no polling. Call this immediately AFTER triggering the action, or pass a filter that has not fired yet — a request that already completed is returned straight away. Gives up after timeout_ms and tells you so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Also require this HTTP method. | |
| timeout_ms | No | Give up after this long. | |
| url_filter | Yes | Substring the request URL must contain. | |
| allow_existing | No | Satisfy immediately from an already-completed matching request. |