New Features
- AI chat command - Added
chatcommand for AI-powered browser automation. Supports single-shot mode (chat "open google.com") and an interactive REPL. The AI agent can execute any agent-browser command via tool calls. RequiresAI_GATEWAY_API_KEY. Configure the model with--modelorAI_GATEWAY_MODEL(#1160, #1163) - Dashboard AI chat - The observability dashboard now includes a built-in AI chat interface for conversational browser control alongside live session views (#1160, #1163)
snapshot --urls- New-u/--urlsflag to include href URLs for link elements in snapshot output, giving agents direct access to link targets without additional queries (#1160)- Batch argument mode - The
batchcommand now accepts commands as inline arguments in addition to reading from stdin, simplifying single-invocation multi-command workflows (#1160)
Bug Fixes
- Fixed
getByRolematching wrong elements (e.g.<link>stylesheet elements instead of<a>anchors) by rewriting the implementation to use the CDP accessibility tree with ref-based element resolution instead of CSS selectors (#1145) - Fixed
uploadcommand not supporting accessibility tree refs (@eN) for file upload element selection (#1156) - Fixed
AGENT_BROWSER_DEFAULT_TIMEOUTnot being applied towaitcommands. The environment variable now propagates to all wait variants (wait,wait --url,wait --text,wait --load,wait --fn,wait --download) (#1153) - Fixed dashboard download error handling with improved retry logic for more reliable dashboard installation (#1154)
Tests
- Fixed CI test failures on Windows and E2E (#1165)