Browserr Browserr

[![CI](https://github.com/Omodaka9375/browserr/actions/workflows/ci.yml/badge.svg)](https://github.com/Omodaka9375/browserr/actions/workflows/ci.yml) [![Release](https://img.shields.io/github/v/release/Omodaka9375/browserr?include_prereleases&label=release)](https://github.com/Omodaka9375/browserr/releases/latest) [![PyPI](https://img.shields.io/pypi/v/browserr-mcp?label=pypi%20browserr-mcp)](https://pypi.org/project/browserr-mcp/) [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE) A Servo-based browser engine built for AI agents. Headless by default, with an optional native interactive window for human handoff. One Rust + Servo binary instead of embedding Chromium: it renders pages, blocks ads, and exposes a small loopback protocol built around three commitments: **block when unsure, hand the page to a human when a human is needed, and leave evidence for everything it did.** **Jump to:** [Quickstart](#quickstart) · [Why Browserr](#why-browserr) · [Features](#features) · [Install](#install) · [Platforms](#platforms) · [MCP tools](#mcp-tools) · [Protocol](#protocol) · [Limits](#known-limitations) ## Quickstart Add it to any MCP-capable client (Claude Desktop, [Kai](https://github.com/Omodaka9375/kai), Cursor, ...) and you are done. The engine binary is downloaded and sha256-verified on first run: ```json { "mcpServers": { "browserr": { "command": "uvx", "args": ["browserr-mcp"] } } } ``` 45 tools: navigate, token-cheap reads, structured inventories with stable element refs, type-aware form filling, fail-closed interception, evidence capture, and human handoff. Python SDK and manual install: [Install](#install). An agent driving it end to end - navigate, read structure, click a stable ref, save evidence: https://github.com/user-attachments/assets/fdc5c347-2cf3-4fb7-b458-501d8e24506d ## Why Browserr Most agent browsers embed Chromium and speak CDP behind the scenes. Browserr is a purpose-built engine for the job instead, with the product decisions that follow from owning the whole stack: - **Fail-closed by default.** When Browserr is unsure, it blocks instead of guessing. Intercepted requests are held for a decision and denied after 5 s. Auth challenges with no stored credentials are refused outright. Submitting a payment or CAPTCHA page needs an explicit human confirm. - **Humans are part of the workflow, not a fallback.** `detect_handoff()` spots CAPTCHAs, one-time codes and payment fields. `pause()` hands the page to a person while the agent keeps watching; `wait_for_user` returns the moment control can come back. Annotated screenshots number every element, so a human and an agent can point at the same `e7`. - **Every action leaves evidence.** Timestamped screenshots plus an append-only action log, per profile. Credentials are stored per host and never written to logs, so a big claim is backed by a saved screenshot instead of a promise. - **Runs where Chromium cannot.** CPU rendering by default: instant start on GPU-less machines, containers, CI runners and a Raspberry Pi 4/5 (ARM64 builds included). - **MCP-native, not wrapper-native.** All 45 tools surface directly to any MCP-capable agent. No CDP quirks, no driver downloads, no version drift. - **SPA-ready.** Modern JS syntax, fetch/WebSockets/Workers, custom elements, shadow DOM, React 18 + Vue 3 verified rendering, plus IntersectionObserver, IndexedDB, Web Animations, WebGL2, crypto.subtle digests and requestIdleCallback (the last two via built-in shims where servo omits them). - **Honest about its limits.** Web compatibility is bounded by Servo 0.8: text, documents, search, forms and common SPA patterns work well; DRM video, WebRTC and service-worker-dependent offline apps do not. If you need those, or fleet scale or residential proxies, a cloud provider is still the better tool. Browserr wins on local, trust-first, human-in-the-loop work. ## Features ### Page engine - Servo 0.8 rendering, CPU by default (instant start on GPU-less machines, containers, CI); `--gpu` opts into hardware GL with automatic CPU fallback - SPA compatibility: React 18 and Vue 3 render and react; all modern ES syntax; fetch/WebSockets/Workers/custom elements/shadow DOM; IntersectionObserver, IndexedDB, Web Animations, WebGL and WebGL2 (via ANGLE, so it works on GPU-less machines too), clipboard and DecompressionStream; `requestIdleCallback` and `crypto.subtle` digests (SHA-1/256/384/512) via built-in shims where servo omits them - Tabs, navigation, per-tab history, zoom, pointer/wheel/keyboard input - JavaScript evaluation with results returned as JSON - On-demand screenshots of the active tab; the SDK saves them as PNG - Console capture: page messages plus network and TLS load errors - Downloads fetched straight to disk; an opt-in `use_session` mode fetches inside the active tab with its cookies (logged-in portals) - EasyList-based adblock, refreshed weekly ### Reading pages - `read_page()`: token-cheap prose extraction - `read_structure()`: every interactive element with its rect, selector and a stable ref (`e7`); fields carry label, constraints, state and validity; shadow DOM included. Refs are scoped to each `read_structure()` snapshot; after navigation or a refresh, read again. MCP reports stale refs as errors ### Acting on pages - Selector interaction: `click_element`, `set_value` (React/Vue-safe), `wait_for_selector` - Ref interaction: `click_ref`, `set_field`, `fill_form` - stable refs, no selector fragility; a whole form in one round trip, with type-aware writes that fire input/change/blur once so page validators run - Submit cycle: `submit_form` runs the page's own validation, then `read_outcome` reports the url, alert texts and invalid fields - File uploads: picker events answered with local file paths ### Network control - Fail-closed interception: requests are held for an allow / deny / respond decision; unanswered requests deny after 5 s - Net evidence: every `fetch`/XHR recorded in a ring buffer, in every frame; kept in a hidden, non-enumerable window holder so pages cannot see it - Auth challenges surface as events; wrong or missing credentials fail closed - Frame tree listing (cross-origin frames report their url only) ### Human in the loop and trust - `detect_handoff()`: spots CAPTCHAs, one-time codes, empty passwords, payment fields and consent walls - `pause()` / `resume()`: mutating actions fail loudly while a human has control; reads keep working. MCP `browser_wait_for_user` completes only on navigation or an observed handoff clearing, never on a clean first scan - Real human handoff: `browser_start({headed: true})` shows the native window; mouse and keyboard input still work while MCP actions are paused - Annotated screenshots: every element boxed and numbered by ref, so an agent and a human point at the same element - Persistent profiles: logins survive sessions - Evidence: timestamped screenshots plus an append-only action log; credentials are never logged - Credential store: auth challenges answered automatically for known hosts, denied for unknown ones - Confirm gate: submitting a payment or CAPTCHA page needs an explicit human confirm ### Operations - `ping` health check; fast failure when the engine dies - Ephemeral throwaway profiles for per-run isolation - Concurrent driver clients over `--driver-port`, optional token authentication ## Install ### MCP clients: one command The `browserr-mcp` package on PyPI installs the MCP server with a single config entry. The engine binary is downloaded from the official GitHub release and sha256-verified on first run (~46 MB, once); later starts are instant and offline: the resolved release tag is cached for 24 h and an installed engine never depends on a live GitHub API call. Same config entry as [Quickstart](#quickstart); `pip install browserr-mcp` plus the `browserr-mcp` command works the same way as [uv](https://docs.astral.sh/uv/). Pin a release with `BROWSERR_VERSION`, override the install dir with `BROWSERR_HOME`. ### Manual: download the archive Download the archive for your platform from [releases](https://github.com/Omodaka9375/browserr/releases) and unpack it anywhere (no admin rights, no installer). You get: | File | What it is | | --- | --- | | `engine(.exe)` | the headless browser engine | | `libEGL.dll`, `libGLESv2.dll` | ANGLE GL for WebGL (Windows archives); must stay next to `engine.exe` | | `driver.py` | Python SDK (stdlib only) | | `driver_js.py` | page-side scripts the SDK evaluates (pure data) | | `annotate.py` | screenshot annotation helpers (PNG, boxes, numbers) | | `browserr_mcp.py` | MCP server (stdlib only) | | `mcp_wrap.cmd` | Windows MCP launcher (cmd wrapper) | | `browserr-term`, `browserr-term.cmd` | terminal browser launchers | | `browserr_term.py` | terminal browser UI (stdlib; numpy improves the fallback) | | `update.sh` / `update.ps1` / `update.cmd` | in-place updater (see below) | | `README.md`, `LICENSE` | docs | Requirements: Python 3.10+ on PATH. `driver.py` finds the engine binary next to itself; override with `BROWSERR_ENGINE=/path/to/engine`. > [!IMPORTANT] > **Linux runtime packages.** The engine creates its GL context through > EGL even for CPU (llvmpipe) rendering - EGL is the context-creation > API, not the GPU. On a server or VPS without a GPU install: > > ```sh > sudo apt install libegl1 libgl1 libgbm1 libgl1-mesa-dri > ``` > > `libegl1` and `libgbm1` create the headless context, `libgl1-mesa-dri` > ships llvmpipe. X11/xvfb is only needed for `--headed`. ### Update an existing unpack Re-download the archive, or run the updater shipped inside it. It queries the GitHub API, verifies the download against the release's sha256 digest and refuses to install if the digest is missing or wrong (pass `-AllowNoDigest` / set `ALLOW_NO_DIGEST=1` to override), backs up the current files, copies the new payload over this directory, and verifies the new binary before cleaning up. Stop a running engine first (a running executable cannot be replaced on Windows). ```sh ./update.sh # macOS / Linux: latest release ./update.sh v0.7.0 # pin a version update.cmd # Windows (double-clickable) powershell -File update.ps1 -WhatIf # report without touching anything ``` ### Android (Termux) Browserr runs headless on Android inside [Termux](https://termux.dev): the engine is an android-arm64 binary (API 29+ / Android 10+, 64-bit userland), and the MCP server and Python SDK run unmodified under Termux's Python 3. No APK, no root, no emulator needed - the same `browserr-mcp` package auto-detects Termux and downloads the android engine asset on first run. ```sh pkg install python # Python 3.12 from the Termux repo pip install browserr-mcp # server + SDK + engine bootstrap browserr-mcp # first run downloads the android engine ``` Or drive it as a library, same as on a desktop: ```python import sys; sys.path.insert(0, "...") from driver import Driver d = Driver(ephemeral=True) d.navigate("https://example.com/") print(d.read_page()[:200]) ``` Headless only: no headed mode and no audio on Android. 32-bit ARM and x86 devices are not supported (no assets). Screenshot, eval, forms, network inspection - the full headless toolset works.
Manual device test over adb (no pip) To test-drive a build from an emulator or a rooted device, push the engine and drive it from the PC over `adb forward`: ```sh adb push engine /data/local/tmp/engine adb shell chmod +x /data/local/tmp/engine adb shell /data/local/tmp/engine --ephemeral --driver-port=7412 adb forward tcp:7412 tcp:7412 ``` ```python # from the PC, with the repo's tools/ on sys.path: from driver import Driver d = Driver.attach(7412) d.navigate("https://example.com/") print(d.read_page()[:200]) ```
### Browse in your terminal Browserr Term renders real pages inside a terminal pane at native resolution, using Sixel or the Kitty graphics protocol with dirty-rectangle patches computed in the engine. It needs no installer step: ```sh ./browserr-term https://browserr.dev/ # macOS / Linux browserr-term.cmd https://browserr.dev/ # Windows ``` Use a terminal with image support for native resolution (Windows Terminal 1.22+, iTerm2, wezterm, kitty, ghostty, mlterm; tmux works with `allow-passthrough on`). In terminals without image protocols the same command falls back to a low-resolution cell renderer. Keys: `ctrl+l` URL bar, `ctrl+t` new tab, `ctrl+]/[` switch tabs, `ctrl+r` reload, `ctrl+q` quit. Mouse clicks and wheel go to the page. Inside tmux pass `--cell W:H` to match your font size (tmux cannot relay the terminal's pixel-cell query). Details: `term/README.md` in the repo. ### Platforms | Platform | Asset | Headless | Native window | Notes | | --- | --- | --- | --- | --- | | Windows x64 | `.zip` | yes | yes | ANGLE DLLs ship in the archive | | Linux x64 | `.tar.gz` | yes | yes | needs `libegl1 libgl1 libgbm1 libgl1-mesa-dri` | | Linux ARM64 | `.tar.gz` | yes | yes | Raspberry Pi 4/5 | | macOS ARM64 | `.tar.gz` | yes | yes | macOS 13+ | | Android ARM64 | `.tar.gz` | yes | no | Termux, Android 10+ (API 29), 64-bit userland | Python 3.10+ is needed everywhere for the SDK and MCP server; the engine binary itself is standalone. ### Connect an MCP client ([Kai](https://github.com/Omodaka9375/kai), Claude Desktop, ...) Same one-command config as [Quickstart](#quickstart). If you prefer an unpacked archive instead, point the client at the bundled launcher. On Windows, use the wrapper: ```json { "mcpServers": { "browserr": { "command": "C:/path/to/browserr/mcp_wrap.cmd", "cwd": "C:/path/to/browserr" } } } ``` To share one engine across sessions, start it yourself with a driver port and attach instead: ```powershell engine --ephemeral --driver-port=7412 --driver-token=secret ``` ```json { "mcpServers": { "browserr": { "command": "python", "args": ["C:/path/to/browserr/browserr_mcp.py", "--port", "7412", "--token", "secret"] } } } ``` ### Use the Python SDK ```python import sys; sys.path.insert(0, "tools") from driver import Driver, save_png d = Driver(ephemeral=True) # spawns the engine, throwaway profile try: d.navigate("https://example.com"); d.wait_load(); d.wait_ready() print(d.eval_js("document.title")) # results returned as JSON title, text = d.read_page() # token-cheap prose structure = d.read_structure() # headings/buttons/inputs/... d.set_value("#q", "search terms") # React/Vue-safe d.click_element("#go") # scrolls into view, real pointer w, h, bgra = d.screenshot(); save_png("shot.png", w, h, bgra) print(d.ping()) # {'tabs': 1, 'active': 0} finally: d.close() # socket close = engine exit ``` ### Run the MCP server directly ```text python tools\browserr_mcp.py # headless, ephemeral profile, MCP on stdio python tools\browserr_mcp.py --port 7412 # attach to an engine started with --driver-port ``` ### Build from source ```powershell cargo build --release --manifest-path engine\Cargo.toml ``` Package a distributable (builds into `dist\` and zips it): ```powershell powershell -File scripts\package.ps1 ``` ## Architecture ```text engine/ Servo webviews (one per tab), CPU-default rendering (--gpu for hardware GL), request interception (adblock), automation protocol, driver port. main.rs render loop, tabs, command dispatch hub.rs attached-driver hub, ping/stop fast paths net.rs minimal HTTPS client, favicons adblock.rs EasyList delegate, filter-list loading tools/ driver.py (Python SDK) plus driver_js.py (page scripts) and annotate.py (screenshot marking); browserr_mcp.py (MCP server). scripts/ dist/package/ci for Windows (ps1) and Linux (sh). ``` ## Protocol
The full 24-command wire format Commands are newline-delimited JSON, tab-addressed, over a loopback socket (127.0.0.1:7411) that accepts a single client - the automation host: ```text {"cmd":"navigate","url":"...","tab":N} {"cmd":"back"|"forward","tab":N} {"cmd":"new_tab"|"activate"|"close_tab","tab":N} {"cmd":"resize","w":N,"h":N} {"cmd":"input"|"wheel"|"key","tab":N,...} page input forwarding {"cmd":"eval","tab":N,"js":"..."} run JS, discard the result {"cmd":"eval","tab":N,"js":"...","id":X} run JS, report via evalresult {"cmd":"screenshot","tab":N} paint, answer with a SHT1 frame {"cmd":"zoom","tab":N,"zoom":F} page zoom {"cmd":"ping","id":X} health check {"cmd":"download","url":"...","path":"...","id":X} fetch straight to disk {"cmd":"intercept","on":B} arm/disarm fail-closed interception {"cmd":"request","id":X,"action":"allow"|"deny"|"respond",...} decide held req {"cmd":"auth","id":X,"user":"...","pass":"..."} answer an auth challenge {"cmd":"files","id":X,"paths":[...]} answer a file picker {"cmd":"frames","id":X} frame tree (evalresult answer) ``` Responses use a 20-byte header (magic u32, id u64, two u32 fields): ```text FRM1 + id + w + h -> w*h*4 BGRA pixels (active tab, deduped, 30 fps cap) EVT1 + id + len + 0 -> JSON events SHT1 + id + w + h -> w*h*4 BGRA pixels (screenshot answer, automation only) ``` Events: `url`, `title`, `history`, `cursor`, `favicon`, `evalresult`, `pong`, `console` (page messages; Servo also routes network and TLS load errors there), `download` (ok/bytes/error), `request` (held interception decision), `auth` (challenge), `filepicker` (picker opened). Only the active tab is painted; switching tabs re-sends that tab's url/title/history/cursor. ### Computer-use mode `engine.exe --driver-port=N [--driver-token=T]` opens a second loopback listener (after the main client connects) that accepts driver clients: - Commands are validated against an allow-list (page-level only) and queued into the main loop, which owns Servo - Events and SHT1 screenshot answers are mirrored to every attached driver - With `--driver-token=T`, the first line a driver sends must be `{"cmd":"auth","token":"T"}`; unauthenticated sockets receive no events and are dropped - Command lines over 8 MB are rejected without parsing - `Driver.attach(port, token=...)` handles the handshake Timing rules worth knowing: - The url event fires when navigation commits, before the page accepts input. Call `wait_ready()` before interacting, and leave a short beat between a focus click and `type_text()`. - The bare engine accepts exactly one main-connection, so headless mode always spawns its own engine.
## MCP tools `tools/browserr_mcp.py` is a Model Context Protocol server (standard library only, newline JSON-RPC on stdio) exposing 45 tools. Every tool accepts a named engine `session`, so several browsers can run side by side (the default session keeps single-engine behavior). | Group | Tools | | --- | --- | | session | `browser_start` (profile, proxy, user_agent, headed), `browser_stop`, `browser_ping` | | page | `browser_navigate`, `browser_read`, `browser_read_structure`, `browser_links`, `browser_forms`, `browser_frames` | | interaction | `browser_click`, `browser_click_text`, `browser_click_element`, `browser_click_ref`, `browser_fill`, `browser_set_value`, `browser_set_field`, `browser_fill_form`, `browser_key`, `browser_wait_for` | | forms | `browser_submit_form`, `browser_read_outcome` | | viewport | `browser_scroll`, `browser_resize`, `browser_history` (back / forward), `browser_tabs` | | capture | `browser_screenshot`, `browser_screenshot_annotated`, `browser_evidence`, `browser_console`, `browser_download` (opt-in `use_session`) | | network | `browser_intercept`, `browser_pending_requests`, `browser_intercept_answer`, `browser_net`, `browser_document_status` | | trust | `browser_pause`, `browser_resume`, `browser_detect_handoff`, `browser_wait_for_user`, `browser_set_credentials`, `browser_action_log` | | events | `browser_wait_auth`, `browser_auth_answer`, `browser_wait_filepicker`, `browser_files_answer` | It runs headless with an ephemeral profile by default; `--port N` attaches to a running engine's driver port. `browser_start(profile=...)` uses a persistent profile (logins survive sessions) with a per-profile evidence dir and action log; evidence shots, auto-auth and the submit confirm gate are on by default for MCP-started engines. Set `auto_auth: false` to use the manual auth tools. Navigation returns an `auth_required` challenge instead of waiting for a blocked page. A good match for driving it: [Kai](https://github.com/Omodaka9375/kai), an agentic developer terminal from the same author as Browserr. Kai speaks MCP natively, so all 45 tools show up first-class next to its editor and terminal - Browserr is the browser half of that stack. ### Upstream proxy All http/https traffic can route through an upstream proxy (hyper CONNECT tunnel; TLS stays end-to-end, no MITM). Basic auth rides in the URL: ```text engine: --proxy=http://user:pass@host:port [--proxy-https=...] [--no-proxy=host1,host2] SDK: Driver(engine_args=["--proxy=..."]) MCP: browser_start(proxy="http://user:pass@host:port", proxy_https=..., no_proxy=...) ``` `--proxy` covers both http and https; `--proxy-https` overrides https only. Credentials are never logged. Per-attempt rotation: spawn one ephemeral engine per walk, each with its own proxy. Known gaps: WebSocket connections bypass the proxy, and DNS resolves locally (CONNECT tunnels are exempt: the proxy resolves the hostname). ### Block vs dead-listing detection Servo never surfaces the main document's HTTP status, so a block that serves a fake 404 is indistinguishable from a real 404 by page content alone. `browser_document_status` re-fetches the document URL (same-origin HEAD, same cookies/session) and reports the status: 200 means the page served normally, 404 means the URL is either genuinely dead or blocked ( correlate with proxy rotation to separate the two), `null` means a network-level failure. The probe also lands in the `browser_net` ring as a `document-probe` entry. For human handoff, start with `{headed: true}`. That is a real browser window, not a screenshot viewer: the user can click and type directly, including inside cross-origin CAPTCHA frames when the provider supports Servo. `browser_pause` blocks MCP mutations, not native window input. Call `browser_wait_for_user`, then `browser_resume`. The user can press Enter in the native window to explicitly finish a generic or cross-origin challenge; this confirms completion without needing heuristic detection. The engine-level pause blocks all automation clients but not native input. Headless mode cannot provide this direct interaction. `browser_start` and `browser_evidence` return absolute `evidence_dir` and `action_log_path` values. The action log is `actions.jsonl` in that evidence directory, under `tools/mcp-evidence/` in a source checkout. `browser_action_log` reads it back: what the engine did and when, newest last, credentials never included. ## Profiles All engine data lives under a profile directory as plain files: ```text settings.json homepage, user_agent, adblock, search, default_zoom history.jsonl one entry per navigation (timestamp, url) bookmarks.json url/title pairs engine\ Servo storage (cookies, HSTS, localStorage), per profile easylist.txt adblock filter list ``` `--profile-dir=PATH` selects a profile; `--ephemeral` uses a throwaway directory deleted on engine exit. ## Build details - Servo is built with `default-features = false`, dropping devtools, clipboard and multiprocess. - Single crypto stack: servo-net pins rustls with aws-lc-rs; the engine's own downloads (EasyList, favicons) use a minimal rustls client with the platform verifier. ## Security notes - The engine socket and the driver port are loopback-only, but any local process can connect by default; use `--driver-token` when that matters. - No site sandbox on Windows: page code runs in-process with the engine, so treat page loads as untrusted; prefer ephemeral profiles for agent work. - Automation downloads send no page cookies; use them for public URLs only. ## Known limitations - Web compatibility is bounded by Servo 0.8: text, documents, search, forms and common SPA patterns (React, Vue, data-fetching grids) work well. No EME (DRM video), no WebRTC, no service-worker offline support; crypto.subtle covers digests/randomUUID only (no AES-GCM), via a shim. - CAPTCHA challenges (Cloudflare Turnstile, hCaptcha, reCAPTCHA v2) do not work: their iframe RPC channels hit Servo's strict cross-origin frame policy (SecurityError on window.frames access patterns that Chrome permits). Turnstile and hCaptcha widgets never mount at all; reCAPTCHA's iframe mounts but its contents never load (SecurityError in the loader, then "reCAPTCHA Timeout", zero challenge-domain traffic). Verified live against all three (2026-11, see tests/test_captcha.py). Solver chains cannot run against them and the headed human handoff cannot solve them either - the iframe content never loads. Detection works: console SecurityErrors plus zero challenge-domain traffic in the net ring reliably distinguish a challenged walk from an empty page. Sites using these or SW-based bot defense are hard blockers for automation. - Server-side-rendered React 18 hydration (#418/#422 mismatch errors) partially crashes client interactivity on some sites: the server HTML renders fine, hydrated components may fail. Client-rendered React (createRoot) is unaffected. - Servo 0.8 on WINDOWS blocks PAGE-INITIATED navigations to a MORE-LOCAL address space (public -> local, and IP host -> localhost name): a form GET (or location.href / a submit-button click) to such a target silently does nothing. Linux allows the same navigation. Embedder-level loads (the driver's navigate) are NOT blocked on either, so the workaround is to read the form's action and call navigate() with it - submit_and_wait reports a nav_note hint when it detects this. Public -> public form navigation (e.g. HN's search box to hn.algolia.com) is unaffected. - No devtools, no find-in-page. - History records urls only, without page titles. ## Tests `tests/test_*.py` exercise the engine as a raw protocol client or as an MCP client. The full list:
46 test files (what each covers) ```text test_driver.py SDK: eval results, click, typing, screenshot pixels test_agent.py ping, ephemeral profiles, extraction helpers test_elements.py click_element / set_value / wait_for_selector test_structure.py read_structure selectors round-trip through set_value test_features.py console capture, downloads, load-error surfacing test_watchdog.py driver fails fast when the engine dies test_scroll.py scroll position survives tab switches test_bind.py port handover between dying and booting engines test_attach.py computer use: attach through the driver port test_hardening.py driver-token gate, oversized-line rejection test_mcp.py full MCP session over stdio test_intercept.py fail-closed interception: allow / deny / respond test_auth.py auth challenges, credential answers, fail-closed case test_filepicker.py file picker events answered with local paths test_net.py fetch/XHR evidence ring in every frame test_frames.py frame tree listing and same-origin walking test_form.py form model: labels, constraints, validity, refs test_flow.py fill_form / submit / read_outcome end to end test_annotate.py annotated screenshots (box + glyph pixels exact) test_handoff.py pause/resume, detect_handoff, reads while paused test_trust.py evidence dir, action log, auto-auth, confirm gate test_software_render.py CPU-default and --gpu rendering log markers test_compat.py SPA/JS APIs, WebGL via ANGLE, digest vectors, gzip test_captcha.py challenge-page signatures (online; not in suite) test_headed.py Windows-only: real HWND, OS mouse/keyboard handoff test_mcp_logic.py handoff transition and answered-event regressions test_input.py raw-socket input forwarding test_cursor_zoom.py cursor events + zoom via devicePixelRatio test_close.py tab close must not kill the engine test_csp.py strict-CSP pages: promise await, typed errors test_bootstrap.py engine asset names match the release globs test_improvements.py scroll/resize/history, session downloads, nav race test_release.py version consistency, updater manifest, re-exec guard test_navigate_quirk.py navigate fail-last: redirects, slow commits, error pages test_proxy.py upstream CONNECT proxy, basic auth, no-proxy list test_sessions.py named engine sessions, per-session profiles test_useragent.py UA profiles and the custom-string passthrough test_useragent_mcp.py UA profile resolution through browser_start test_tab_flow.py tab open/switch/close through the driver test_term.py terminal client render path (Sixel/Kitty + fallback) test_native_frame.py native compressed frame patches (FRM2) test_frame_pixels.py frame pixel correctness against the page test_native_interaction.py native pointer/keyboard forwarding test_login_flow.py login form flow via terminal keys test_https.py engine TLS client against the real EasyList endpoint test_thin.py release build smoke test ```
Run the suite (fmt + clippy gate, build, tests): ```powershell powershell -File scripts\ci.ps1 ```