wait_for_network_idle
Wait for all network requests to finish and the page to reach a quiet state, ensuring SPA dynamic content is fully loaded before proceeding.
Instructions
Wait until there are no active XHR/fetch requests for a quiet period. Essential for SPAs and pages that load data asynchronously. Also waits for document.readyState to be 'complete'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max seconds to wait before giving up | |
| idle_time_ms | No | Milliseconds of network silence required | |
| max_inflight | No | Tolerate up to N in-flight requests (0 = fully idle) |