New Features
- Added a Ladybird provider:
-p ladybirddrives Ladybird over WebDriver, headless by default or with--headed. Safari and Ladybird share one local driver launcher, and the WebDriver client now honorsContent-Length, so it no longer hangs on drivers that keep the connection open. Snapshots and refs stay Chrome-only, as with Safari (#2721) - Added background tab controls:
tab keep live [tab]keeps a background tab running at full speed instead of throttled,tab keep throttledreturns it to the default, andtab keep frozen <tab>pauses it until the agent switches back. The daemon unfreezes a tab before any command runs on it and when the session closes (#2624, #2627) - Added right-click, middle-click, and modifier keys to
clickanddblclickwith--buttonand--modifiers. A double click now sends two full clicks (#2594) - WebMCP announcements now tell agents what the page's tools are and when to use them, list each tool as
[origin] name [frame]: descriptionwith full descriptions for small catalogs, mark tools from other origins as cross-origin, and include a ready-to-runwebmcp invokecommand for the page's own tools.webmcp invokealso accepts the JSON input right after the tool name (#2606, #2591, #2720) - Added feature flag overrides to the
vercelskill, renamed fromprotected-vercel-deployments. Agents set the Flags SDK override cookie so only their own browser sees a variant, instead of changing the flag for everyone on the environment (#2441)
Behavior Changes
- Unknown flags are rejected across command parsers instead of being read as selectors or file paths, or ignored. Arguments after
--stay literal in the CLI and MCP (#2665) - Refs from a replaced document fail with a "no longer loaded" error after a full page load or an iframe navigation, instead of acting on the wrong element. Take a new snapshot after each load (#2685)
fill,type,check,uncheck, andselectcheck the target first and refuse with a stablecode(not_editable,read_only,disabled,not_checkable,option_not_found,ambiguous,not_multiple,malformed_value) without changing the field.fillsets date, time, color, and range inputs directly,select --by valueor--by labelresolves an ambiguous option, and a value the page changes afterward is reported as a warning (#2687)snapshot -s <sel>covers every match, not only the first. The cursor-interactive scan now refs<summary>, native controls with non-interactive roles, and clickables inside open shadow roots, without writing attributes to the page (#2688)upload,network har stop,diff snapshot, anddiff urlcheck their preconditions.uploadresolves relative paths against the CLI's working directory and fails on a missing file or a target that is not a file input,har stopfails when nothing is recording,diff snapshotwithout--baselinecompares against the tab's last snapshot, anddiff urlprints its result and honors--screenshotand--full(#2689)--restore,--restore-save, and--restore-check-*travel only through the settings patch, like the other session settings. A save policy without a key applies to the running key, a key change on a command that never launches closes the browser without relaunching it, andget cdp-urlandsession infoleave the restore settings alone. A launch that fails after a key change closes the new browser without saving (#2667)
Security
- Stream server
/apiroutes now require a same-origin request and a loopbackHost, and rejected requests carry no CORS headers (#2678) - Stream WebSocket upgrades require the
Originto match theHost, so a page on another localhost port can no longer read frames or inject input (#2682) - An allowlist that lists no domain is an error from the flag, environment, config, or MCP, instead of turning containment off. An empty
AGENT_BROWSER_ALLOWED_DOMAINSnow fails for commands that run a browser; unset it to run without containment.chatno longer lets the model answerconfirmordeny(#2683) - MCP tool arguments can no longer be read as global CLI flags, and flag-shaped values in fields that are not passed literally are refused (#2681)
- Saved flow replay sends only each command's interaction fields and runs under the current session's settings, plugins, and policy (#2607)
- Daemon warnings travel out of band, so page-controlled JSON can no longer forge
postActionWarningorsessionSetupWarning(#2693) - Session lock files are created owner-only on Unix (#2676)
Bug Fixes
- Fixed clicks on elements at the viewport edge or that reflow missing while reporting success. Clicks, hover, and tap now scroll the point into view, wait for layout to settle, and press the settled point (#2587)
- Fixed ref clicks inside nested and cross-origin frames landing on the parent page. The press is verified to reach the ref, an element it activates, or a frame it embeds (#2611)
- Fixed refs lost after a failed snapshot. Snapshot, snapshot diff, and annotated screenshots replace refs only on success (#2666)
- Fixed session setup lost on relaunch. Viewport, user agent, media, timezone, locale, geolocation, headers, offline mode, and init scripts carry across a relaunch and apply to new tabs and windows, and
set devicemobile presets enable touch emulation (#2686) - Fixed
selecton custom ARIA comboboxes and listboxes such as Radix and Headless UI, which reported success without changing anything (#2592) - Fixed env and config connection targets replacing a browser attached with
connect.AGENT_BROWSER_CDP,AGENT_BROWSER_PROVIDER,AGENT_BROWSER_AUTO_CONNECT, and their config keys now apply only to a session with no target, and CDP headers are bound to their endpoint (#2642) - Fixed two concurrent first commands spawning two daemons for one session (#2648)
- Fixed direct-page providers dropping page events, which left logs empty and recordings unable to finish (#2445)
- Fixed WebMCP on Chrome 157 and later, and cross-origin iframes timing out under
--allowed-domainson Chrome 157 (#2700) - Fixed temporary Chrome profiles left behind by killed daemons. Each launch removes profiles older than two hours whose Chrome is gone (#2586)
- Fixed installs under Volta leaving a dangling global link, and failed fallback downloads leaving a 0-byte binary (#2675)
- Fixed pin-tab taking two paths that could disagree; it now travels only through the settings patch (#2643)
Documentation
- Launched the agent-browser.dev homepage with a Browser/Desktop switcher. The docs introduction moved to
/introduction(#2411, #2625, #2626, #2638, #2658, #2659, #2717, #2718, #2719)
Contributors
- @FredAmartey
- @HoneyTyagii
- @Mohammad-Maraqa
- @Raed2180416
- @Railly
- @ZhYGuoL
- @Zhao0335
- @cavalcanticampos
- @ctate
- @danted4
- @dwin-gharibi
- @hassnalalshaikh
- @holny
- @hyunjinee
- @jamesvclements
- @jpelaez-23blocks
- @kevingatera
- @lahfir
- @linzch3
- @luxleader
- @on101094
- @riesvriend
- @shtefcs
- @swjtuhuangjunfu
- @xunguangzlj-cloud
- @yavorpunchev