v0.20.13
vercel-labs/agent-browserv0.20.13Mar 16, 2026by github-actions[bot]
AI Summary
Fixes a network idle detection bug where polling returned immediately for cached pages by enforcing a 500ms idle threshold.
Key Highlights
- Enforces 500ms idle period for network idle detection on cached pages
- Extracted polling logic into a standalone `poll_network_idle` function
- Improved testability of the core polling logic
Full Release Notes
### Patch Changes
- eda956b: ### Bug Fixes
- **Network idle detection for cached pages** - Fixed an issue where `poll_network_idle` could return immediately when no network events were observed (e.g. pages served from cache). The idle timer is now only satisfied after a consistent **500 ms idle period** has elapsed, preventing false-positive idle detection. The core polling logic has also been extracted into a standalone `poll_network_idle` function to improve testability (#847)