v0.20.12
vercel-labs/agent-browserv0.20.12Mar 16, 2026by github-actions[bot]
AI Summary
Resolves hanging issues and timeouts in interactive commands (`snapshot -C`, `screenshot --annotate`) when connected over WebSocket Secure connections.
Key Highlights
- Batches CDP calls for cursor-interactive mode to prevent timeouts on high-latency WSS
- Batches element queries for screenshot annotation to reduce completion time
- Fixes hanging behavior over WSS connections
Full Release Notes
### Patch Changes
- 5fa2396: ### Bug Fixes
- Fixed **`snapshot -C`** and **`screenshot --annotate`** hanging when connected over WSS (WebSocket Secure) due to sequential CDP round-trips per interactive element (#842)
### Performance
- **`snapshot -C` (cursor-interactive mode)** now batches CDP calls instead of issuing N×2 sequential round-trips per cursor-interactive element, preventing timeouts on high-latency WSS connections (#842)
- **`screenshot --annotate`** now batches element queries, reducing completion time from potentially 20–40s (e.g. 50+ buttons over WSS) to within expected bounds (#842)