Repository navigation
turno-browser 0.11.0
Every release of turno: https://turno.wimo.dev/docs/releases
Minor Changes
-
16ae3c1: Natural language actions (
browser_act,browser_extract,browser_observe) are on whenever a model can answer them, without an identity.jsonactgroup. The server takes the first that works: MCP sampling when the connected client offers it (decided per connection), elseOPENAI_API_KEYorANTHROPIC_API_KEYfrom the environment, else the Claude Code CLI (claude -p,haiku) or Codex (codex exec,gpt-5.6-terra) found on the PATH, run headless with your own login; with none of them the tools are not listed. The CLI gets the prompt on its standard input, never on its command line, runs with its tools off and no MCP server loaded, and stops after 90 seconds;TURNO_BROWSER_ACT_CLI=offkeeps the CLIs out of it. A provider named in identity.json keeps working as before. Captcha solving is on when a solver key is configured, in identity.json or withTURNO_BROWSER_CAPTCHA_ENDPOINTandTURNO_BROWSER_CAPTCHA_KEYin the environment; without one, a result that ends on a captcha says so and hands the step to the person withbrowser_request_human.show,statusanddoctorsay which path each identity resolves to and why. See Natural language actions and captcha solving. -
465c6d0: Recorded flows and repeated steps check that they act on the same element. Each flow step keeps a fingerprint of its element (role, accessible name, label, nearest landmark, and the page's URL with ids as
*); on replay, the element a locator finds must match it, or the step does not run and the replay stops with what differs and a fresh snapshot. Withrecord.flows(on by default) the identity also keeps an action cache in~/.local/share/turno/browser/action-cache/<id>.json(mode 600): an action that names an element by a selector (abrowser_batchstep,turno-browser do click '#save') is refused when the selector now finds another element than the one an earlier action worked on. Neither the cache nor a flow keeps a vault value: names the redactor knows are stored as their mark, and a locator that holds one is dropped. Measured with the newpnpm bench:cacheon five changed versions of a form: replays went from 3 wrong-element clicks in 45 steps to none (15% of steps refused), and the same actions repeated by CSS selector from 9 wrong-element actions in 45 to none (27% refused). -
c192bd4:
browser_batchchecks each step and says why it stopped. An action can carryexpect: text the page must show after it, text that must be gone, a part of the URL, or the value its target must hold (a field's text, the selected option's label,"true"for a checked box), waited for up totimeoutms (default 5000). The first action that fails, or whose check does not hold, stops the batch; its error starts with a stable code (theELEMENT_*codes of a diagnosed element, andINVALID_ACTION,TIMEOUT,REFUSED,CHECK_FAILED,ERROR), its line in the batch says the code, and the result carries a snapshot of the page at the failure, so the agent needs no extra call to see where it stands. -
6a2c0d1: Page snapshots are compact. Every element an agent can act on keeps its ref, and the text a reader needs stays, while wrappers without a name, the destination under a named link, separators, text that repeats a neighbouring button's name, refs on elements nobody acts on and runs of identical rows are left out. Measured with the new
pnpm bench:snapshot --public: Hacker News 12,238 to 3,786 tokens, a GitHub repository page 18,879 to 7,721, Wikipedia search results 5,842 to 3,040, with every interactive ref kept and the same answers to fixed questions. A page still past about 15,000 tokens once compact (a long Wikipedia article: 128,673 tokens) comes back as a table of contents of its landmarks, headings and text fields with refs and sizes (849 tokens). The newbrowser_readtool reads one part by ref, the whole page compact, or withfull: truethe page as Playwright wrote it.TURNO_BROWSER_SNAPSHOT=fullin the server's environment turns compaction off;turno help environmentlists it. -
f717317: turno-browser turns its features on by default, worked out at every launch and never written into identity.json.
show,statusanddoctorlist each value with where it came from, for exampleresources: low (auto: memory pressure).What changes for an existing identity, without touching its identity.json: the live view is on (it opens only with
turno-browser live); flows and screenshots are recorded, under the 200MB cap and never of a page with a vault value (traces stay off: while tracing, Chrome loads no image or frame of another site); thevision,pdf,devtoolsandnetworktools are listed when the server has no--caps;browser_loginsubmits the form (vault submit <id> confirmkeeps the old behavior, and must be run again even if it was chosen before); the low-resource preset turns on under memory pressure; human-like input isauto; several agent sessions share the browser in their own tabs, sobrowser_closecloses a session's tabs and the idle release closes the browser (--sharing sessionfor one at a time; an mcp.toml block withexclusive = truekeeps working, and doctor says how to change it); a headless Chrome gets the coherent user agent (onceloginhas read that Chrome's client hints) and background throttling when the live view is off; Chrome gets the system's locale when identity.json names none; andloginfinds a health check when there is none. A key set in identity.json still wins over every default, andoff(--health off,--locale off,--user-agent off) pins one off. A file with anautoorfalsevalue is written as format 14, which turno-browser 0.10 refuses.New identities created at a terminal on macOS with Google Chrome keep their cookie key in the system keychain, and
addmentions Camoufox, Lightpanda and attach mode when they apply. turno prints the mcp.toml block of a new identity withexclusive = false, except in attach mode. -
c2a8cbc: The agent cursor's default (
cursor: "auto") is drawn by Chrome now, with nothing in the page: when the browser can be seen (a window, or the live view), Chrome highlights the element the agent acts on and shows a ripple for each click of the agent, painted above the page where no page script can see them. The highlight shows in the live view too and is hidden while the model's screenshot is taken. The named arrow, the ring and the badge drawn in the page arecursor: "on", and the fallback when Chrome refuses the protocol calls. The reputation bench's probe page now reports elements no page script made under<html>. -
6fbaf91: The live view is a panel now: the agent's tab next to a timeline of its steps (the time, what it did, the element or address, how long it took, and whether it failed or was not run), with the pauses, your turns and what changed when you handed the browser back. A line never shows what the agent typed, filled or selected, a script, or an address's query, and every line goes through the same redaction as the agent's results, so vault values stay hidden. When the same call on the same element fails three times in a row, the line and the status say the session looks stuck. New steps and changes of state are announced to screen readers.
turno-browser liveopens the view as an app window of your Chromium browser (--tabfor a tab of the default browser).You can take the controls without pausing first: clicking, typing or scrolling on the picture while the agent works, or in the agent's Chrome window, makes the agent's next call wait. The browser goes back to the agent 5 seconds after your last input, or with the view's Hand back button (Resume before), and the waiting call is told that you used the browser and what changed.
turno browser livewithout a running server no longer says the view is off when only no server runs. -
3a1482a: The last click is yours: when the agent's
browser_clickwould place an order, make a payment, send a message or money, publish a post or confirm a deletion, turno-browser does not click. The agent is told what the click would do and to ask you withbrowser_request_humanandrequireHumanClick, and that step's banner says what the click does, from the page: the order's total, the amount, who a message goes to. The check is conservative: a word that also names a harmless step ("Buy now", "Send", "Post", "Delete") counts only when the page agrees (a checkout with an amount, a message being written, a dialog that warns it cannot be undone), and steps on the way ("Add to cart", "Proceed to checkout", "Send code") never count.turno-browser set <id> --last-click falseturns it off.turno-browser shows a notification of the system when the agent waits for you (a person step, a passkey prompt, a captcha no solver answers) and when it is done after a long run, with
osascripton macOS,notify-sendon Linux and a PowerShell toast on Windows. The text is redacted like any result and is never run as a script.turno-browser set <id> --notify falseorTURNO_BROWSER_NOTIFY=offturns them off. identity.json format 14 also takes thenotifyandlastClickkeys; a file that sets one is refused by an older turno-browser. -
612479e: The
storagetools (cookies, localStorage, sessionStorage and the storage state file) are listed by default, with session values masked: a cookie that is HttpOnly, named like a credential (session,sid,token,auth,csrf,login) or holding a random-looking value, and the tokens in stored items, read[masked]. Names, domains, paths, expiry and flags stay. After every browser call the server reads the cookies and the page's web storage, so a random-looking session value is also hidden frombrowser_evaluate(document.cookie), response bodies, console messages, snapshots and written files. A mask written back keeps the value it stands for, in the same cookie or item only, sobrowser_cookie_setwith[masked]andbrowser_set_storage_statewith a saved file keep the session. Attach mode and a policy that listsstoragekeep the tools off.Without a proxy of its own, an identity's Chrome follows the system's proxy as before;
showandstatusnow name it (macOSscutil --proxy, Windows Internet Settings, GNOME settings or the proxy variables), and"proxy": falsemakes Chrome connect directly. With a proxy in use, turno-browser looks up where it exits (one HTTPS request to get.geojs.io through the proxy, once a day per proxy) and warns when the identity's time zone or locale does not match;TURNO_BROWSER_EXIT_CHECK=0turns the lookup off. -
a6e1eef: What a page reads about the browser is now what the same Chrome shows without turno on this computer. The color scheme, reduced motion and contrast follow the system instead of Playwright's light default. A headless Chrome reports the computer's primary display and the window Chrome would open on it (1200x852 on a 1512x982 MacBook screen) instead of a 1280x720 page on an 800x600 screen; a viewport, device or
--window-sizeyou set still wins. An identity's time zone and locale are set when Chrome starts (TZandLANGof its process,--lang,--accept-lang), so workers read the same values as their page, and without a locale in identity.json Chrome reads the system's language itself, as it does for a person (on macOS that ises-419for a Mexican Spanish system, notes-MX).The passkey watch no longer adds a script and a binding to every page: it wraps
navigator.credentialsonly on a sign-in page while the agent acts on it, and puts Chrome's own methods back 3 seconds later, so a page reads native methods at load. With human-like input off, a click lands at a point inside its element instead of the exact center, at no cost in time. An identity that names no browser runs Google Chrome from ~/Applications too. -
cbed7d4: An action that stays on the page (a click, a key, a selection, a drag) answers with what changed since the last snapshot the agent was given, by ref, when it is the same session and URL and the changes are under half the compact page. Before, the result only linked the snapshot file Playwright wrote, and an agent that wanted to see what its click did called
browser_snapshotfor the whole page: opening the "Code" menu on a GitHub repository page now answers with 262 tokens of changes, against 7,683 for the page. A navigation, another tab or a change that is most of the page answer as before, andbrowser_snapshotalways returns the whole page.TURNO_BROWSER_SNAPSHOT=compactturns the changes off.
Patch Changes
-
2187b40:
turno-browser doctorsays whether the installed patchright-core is the version the reputation suite last passed with, and warns when it is another one: how turno's scripts reach pages and the automation leak checks were not verified on it. -
e2e3b8c: The wait after a click, key press or typed text now ends as soon as the page is done with the action: the requests it started have answered (or none started within 100 ms), a navigation has reached DOMContentLoaded, and nothing on the page changed for two animation frames, checked in an isolated world the page cannot see. Playwright's fixed wait (
settle, 500 ms by default, twice when the action made requests) is now only the limit. On the local evaluation suite a click went from 860 ms to 413 ms at the median (1,432 to 552 ms at p95), with the agent cursor's glide in both. Camoufox and read mode keep Playwright's wait.Action errors that name what is in the way start with a stable code (
ELEMENT_COVERED,ELEMENT_HIDDEN,ELEMENT_DISABLED,ELEMENT_READONLY,ELEMENT_GONE,ELEMENT_NOT_STABLE), which JSON results carry ascodewith the covering element ascover. A click that opens aconfirm()oralert()dialog no longer hangs until the client's timeout, andbrowser_handle_dialoganswers it while the agent cursor draws (it waited on the page the dialog holds) and without a step screenshot waiting out its 5 seconds. A page that closes its own tab right after an action returns the tab now current instead of an error.
A CycloneDX SBOM is attached.