Captchas
solve_captcha(): on a Browser Use Cloud browser, waits for the built-in captcha solver on the current tab and returns{solved, detail, seconds}:solved,still solving(call again),the solver failed,no captcha solve started, orsolver unavailableon a local browser (never raises). After a solve it names the page that was solved, so the agent re-checks for a second challenge.- Script output ends with
[Captcha solver ...]lines while a solve runs and once when it finishes, so CLI agents see it without asking.captcha_note()returns the same line for embedding code. - MCP: new
browser_solve_captchatool. Captcha notes come in their own text block, so the JSON block still parses. - Off switch:
BU_CAPTCHA_SOLVER=offkeeps the solver off for that caller;solve_captcha()then returnssolver unavailable.
Pages and HTTP
page_info()right afternew_tab(url)/goto_url(url)waits for the new document instead of throwing on a null<html>.http_get()returnsbytesfor binary bodies (zip, pdf, image) andstrfor text, on both the local and the fetch-use path. Localhost, private and intranet hosts, and requests withAuthorization/Cookieheaders, never go through the fetch-use proxy.new_tab(url)printsnew_tab: <targetId> <url>, so a script that only opens a tab no longer looks like it did nothing.- Navigation and
js()wait up to 30 s for the browser instead of 5 s.BH_IPC_TIMEOUT=<seconds>raises that on very slow remote browsers. Other calls keep 5 s, so a dead daemon still fails fast. wait_for_network_idle()no longer runs to its 10 s cap on pages with an ad, captcha or chat iframe or a Web Worker: it stops waiting for requests that finish on another target.
Daemon
- IPC requests up to 32 MiB (a 10 MB upload as base64), with a clear error above that instead of a broken pipe.
- The daemon exits when its CDP connection closes, on SIGTERM/SIGHUP (stopping its cloud browser), and when
BH_OWNER_PIDdies. - After a remote daemon ends, a local call under the same name fails with
remote-browser-endedinstead of starting local Chrome under it. ensure_daemonrefuses a live daemon attached to a different CDP endpoint (cdp-mismatch) instead of silently driving the other browser.- Opt-in idle exit:
BH_IDLE_TIMEOUT=<seconds>. A daemon spawned withBH_OWNS_BROWSER=1defaults to 30 min and closes the browser it launched. Default unchanged: never exits, never closes a user's Chrome. - Daemon files are always
bu-<name>.*, also underBH_RUNTIME_DIR. - A daemon that crashed or was killed under the process that started it is started again at once, instead of being waited on for 60 s as a daemon "still starting" (it was an unreaped zombie with the same pid and start time).
- Clients before 0.1.14 (protocol 2,
set_sessionafter a raw attach) keep working on a 0.1.14 daemon:set_sessiontakes the tab likeswitch_tab. Browser.download*events reported on aTarget.attachToBrowserTargetsession reach the owner of the tab the download came from.
macOS and local Chrome
- Cold start: with Chrome closed, the harness launches it in the background (
open -g) and pre-ticks chrome://inspect's "Allow remote debugging for this browser instance" in Local State (never-set pref only;BH_PRESET_INSPECT_TOGGLE=0disables). Chrome's one "Allow remote debugging?" dialog per Chrome run remains; the daemon retries the 403 Chrome sends before it has a window. mac-approvereturnsaccessibility-requiredat once instead of hanging on macOS's consent prompt, matches the Chrome 153+ sheet (title in a heading), and works for Chrome Canary/Beta/Dev, Chromium, Brave, Edge, Arc and the other launchable browsers.
Many agents, one Chrome
- Agents share one local Chrome through one daemon and each drives only its own tabs (
BH_OWNER, else the host session id). Another agent's tab fails withtab-taken; a lost tab istab-closed, never silently another tab. New:name_session,mark_tab,release_tabs,list_browsers,use_browser; idle tabs are given back afterBH_OWNER_IDLE(30 min) andBH_OWNER_FORGET(24 h). - One "Allow remote debugging?" per Chrome run: one daemon per browser, started under a lock;
--updateno longer restarts it; aBU_NAMEwith no browser of its own becomes an owner instead of a second connection (BH_NAMED_LOCAL_DAEMON=1for a separate one). Sub-agents need their ownBH_OWNER.
Feedback and run reports
- New:
browser-harness feedback "what happened" [--category bug|docs|missing|other],report_issue(message, category)in scripts and the MCPbrowser_feedbacktool tell the Browser Use team what broke in the harness or what would make it better. They send onelibrary_feedbackevent: the message (scrubbed, at most 2000 characters), the category, the harness version, asource(harness-cliorharness-mcp), the embeddingclient(BH_CLIENT, as incli_event) and whetherBROWSER_USE_TELEMETRY_INTERNALis set. Feedback is sent even when usage telemetry is off. - New:
report_run(success, failure_reason, gotchas, bot_block, description)in scripts and the MCPbrowser_report_runtool let the agent report its own verdict once at the end of a task. They send onelibrary_judgementevent: success, bot block, the failure reason and description (scrubbed, at most 300 characters each) and up to 5 gotchas about the sites (scrubbed, 300 characters each). Run reports are sent only when usage telemetry is on. - Scrubbing, before anything leaves: API keys, tokens, passwords, cookies,
*_KEY/*_TOKEN/*_SECRETenv values, emails, URL credentials, ports, queries and fragments, token-like URL path parts, home folder user names, runs of 6+ digits andjs()expressions are replaced by placeholders. No URLs visited, page content, screenshots, task text or helper arguments are added. - Caps: 3 feedback messages and 3 run reports per hour per
BU_NAMEfrom the CLI and scripts, and 3 of each per MCP server process. - Switches:
BROWSER_USE_OFFLINE=1sends neither.BROWSER_USE_ZDR=1sends both without their texts (texts_withheld: true).BH_TELEMETRY=0,BROWSER_HARNESS_TELEMETRY=0,ANONYMIZED_TELEMETRY=falseorbrowser-harness telemetry disablestop run reports only. With telemetry off, feedback goes under a random id made for that process, never the stored install id. - Both events go to the Browser Use library analytics project (the same one the Python
browser-usepackage reports to), never throughtelemetry.set_sink(). The existing anonymous usage telemetry (cli_event) is unchanged, andreport_issue/report_runcalls never appear in its traced steps.
For tools that embed the harness
BH_CLI_NAME/run.main(prog=...): help, usage and hint text name the wrapping CLI (for examplebrowser-use) instead ofbrowser-harness.telemetry.set_sink(...): an embedding CLI sends harness telemetry through its own pipeline and consent setting.
Dependencies and docs
- Pillow 12.3.0 -> 13.0.0 (fixes five published advisories).
- install.md:
remote-debugging-setuperrors from thebrowser-useCLI mean upgrade browser-use to 1.0.3+.
Behavior changes to know
http_get()can now returnbytes. Code that assumedstrfor a binary URL must handle it.new_tab()prints one line to stdout. Code that parses all of stdout as JSON must skip it.- A script's first call no longer attaches to the tab you are looking at:
current_tab()/ensure_real_tab()open the caller's own background tab. Uselist_tabs()andswitch_tab()to work in an existing tab. new_tab(url)reuses the caller's current tab when it is blank instead of opening a second one.list_tabs()gives every tab anowner; another agent's tab has emptytitleandurl.close_tab()returns the closed tab's id (wasNone) and closes only the caller's own tabs:switch_tab()to a person's tab first; another agent's tab fails withtab-taken.- In a Claude Code sub-agent without
BH_OWNER,close_tab()andrelease_tabs()raiseowner-sharedinstead of closing the parent's tab. upload_file(selector, path)'s first parameter is nowtarget(a selector or a backendNodeId); a call withselector=must drop the keyword.- Pillow is pinned to 13.0.0.