wait_for_network_idle
Wait until network requests are idle to ensure page stability in JavaScript-heavy SPAs.
Instructions
Wait until no network request has been in-flight for idle_ms.
More robust than wait_for(selector) for JS-heavy SPAs. Implementation polls
performance.getEntriesByType('resource') + a custom fetch/XHR tracker
injected once per tab.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idle_ms | No | ||
| timeout | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |