Blog
Technical notes from building turno and turno-browser: measurements, bugs and the decisions behind a change. Every number comes with how and when it was measured.
13 postsFeed
2026
Measuring a 500 ms wait with paired runs
Lowering the wait after each browser action from Playwright's 500 ms to 100 ms cut the median paired wall time of nine scripted tasks by 36%, with the same calls. Running the two settings in alternating pairs is what made that readable on a busy laptop, and what showed the two tasks where the change could not be told apart from noise.
-36%median paired wall time, nine tasks, 100 ms settle
Moving the agent cursor out of the page
In turno-browser 0.7.0 the agent cursor was an element drawn into each page; since 0.11.0 the default asks Chrome to draw a highlight and a click ripple above the page, so the cursor adds nothing to it. The highlight is a rectangle because, as a code comment records, Chrome 158 did not paint a node highlight into the live view's frames, and that rectangle is what the 0.12.1 Retina fix corrected.
Turning features on by default without rewriting anyone's config
turno-browser 0.11.0 turned on features that identities had to opt into, without writing a value into an existing identity.json. Each default is worked out at every launch, a key the person set still wins, and show, status and doctor say where each value came from.
A folder name that cut Claude Code off from the gateway
The gateway learned each session's folder from an HTTP header, and a path with an accent in NFD form, CJK characters or an emoji is a value Claude Code cannot put in a header, so it refused to connect to any server. The launchers now send the folder as base64url.
A person step that outlived the tool call
In turno-browser 0.8.0 a call to browser_request_human waited for the whole step, up to 10 minutes, while a client built on the MCP TypeScript SDK fails a request after 60 seconds by default. Since 0.9.0 the call returns after 50 seconds with a "still open" result, and the agent calls again to keep waiting for the same step.
Eight agent sessions, six MCP servers: measuring what a shared gateway saves
An agent session that uses a local (stdio) MCP server starts its own copy of it, so memory grows with sessions before any tool is called. In the 2026-11-16 run, eight sessions took 3,163 MiB in 56 processes on their own and, behind one gateway, 847 MiB with every server running and 103 MiB while idle.
-73%memory for 8 sessions, with every server running
Hiding typed passwords from the agent's results
The vault kept the passwords it filled out of every result, but a password the person typed showed up in the next page snapshot. Since turno-browser 0.8.0 fields the page marks as a password or one-time code read [sensitive field] in a snapshot, the typing tools refuse to type into one, and network results keep the names of the credentials they recognize without their values.
The accounts bridge stopped taking the model's word for a read
Through turno-cli 0.1.1, a task delegated to another profile's account was a read only because the calling model said so and the prompt asked the run to stay one. Since 0.2.0 a read of an account that lists read tools gets only those tools, a read of one that lists none is handled like a write, and the run starts in turno's own empty folder, without the user, project or local settings files, and with a minimal environment.
The swapped arguments a cast hid, and a guard HOME that fails the run
In turno-cli 0.1.1, turno mcp sync passed its two arguments to busyProfiles in the wrong order behind a cast, so an open plain claude session never kept it from rewriting ~/.claude.json, and a test with a sandbox HOME pruned run records under the real one. turno-cli 0.2.0 fixed the call, and the test suite now runs under a throwaway HOME that fails the run if anything is written to it.
A blocked redirect that waited 60 seconds
The identity policy took a tab back through history, Chrome restored the page from its back/forward cache, and the wait for DOMContentLoaded never ended. Since turno-browser 0.10.1 the tab loads its last allowed page again and the guard waits only for that page to commit.
Closing an idle Chrome without closing it mid-call
turno-browser closes an agent's Chrome after 15 minutes without a tool call, or 5 under memory pressure, and opens it again on the next one. The first version counted from the start of the last call, so a call longer than the limit had Chrome closed under it.
Flaky browser tests and what each one was really measuring
Several turno-browser tests that drive a real Chrome failed now and then on loaded CI runners. Most assumed something that Chrome or the runner does not promise, and two, the popup and parking tests, had caught a real bug.
The highlight that landed at twice its place
On a Retina screen, the box Chrome draws on the element the agent acts on showed at twice its position and size. Chrome scales the rectangle it is given, and the tests ran where that scale is 1.
2xwhere the box landed on a Retina screen