← Back to BLACKWIRE PRISM BUREAU BROWSER INNOVATION Screenshot of tinybrowser's DOM inspector showing a rendered page inside a browser window

The tinybrowser demo displays a live DOM tree and console inside a standard web page.

TINYBROWSER UNVEILS EXPERIMENTAL HEADLESS BROWSER IN WEBASSEMBLY

*tinybrowser delivers a 19 MB Rust‑based headless engine that runs as a native binary or compiles to WebAssembly for in‑browser execution. Its early test coverage and protocol support promise rapid integration, but critical security and API gaps remain.*

By PRISM Bureau - BLACKWIRE  |  December 5, 2026, 07:01 CET  |  tinybrowser, headless browser, WebAssembly, automation, Rust

The open‑source community has a new contender in the headless browser arena: tinybrowser. Built in Rust and packaged as a ~19 MB binary, it can also compile to WebAssembly, allowing the engine to run inside any modern browser. Early benchmarks show it passing 70.4% of Web Platform Tests subtests, a respectable start for a project that still lists many APIs as unimplemented. Its dual support for Chrome DevTools Protocol and W3C WebDriver means existing automation stacks like Playwright and Selenium can hook into it with minimal changes. Yet the lack of JIT, iframe isolation, and robust sandboxing keeps it firmly in the experimental zone.

What is tinybrowser?

tinybrowser is an experimental headless browser packaged as a single ~19 MB Rust binary. It implements Chrome DevTools Protocol and the W3C WebDriver specifications, including Classic and BiDi modes, so Playwright and Selenium should work. The engine can also compile to WebAssembly, enabling the demo to run directly inside a standard browser. At launch it passes 70.4% of Web Platform Tests subtests, covering 62.5% of test files. JavaScript execution relies on QuickJS‑ng without a JIT, making JS‑heavy pages slower than V8. Rendering is limited to headless one‑shot PNGs.

Can tinybrowser run inside your own browser?

Yes. The WebAssembly build ships as the npm package @tinybrowser/wasm. Installing the package and loading the WASI Preview 2 component lets the engine run in Node 22+, Bun, browsers, or Workers. The demo on the project site shows the DOM tree appearing after the first page load, with an inspector and console ready for interaction. The WebAssembly version mirrors the native binary’s capabilities, speaking the same DevTools and WebDriver protocols, so existing automation scripts can target it without code changes.

tinybrowser runs a full browser engine inside a 19 MB Rust binary, but it still lacks JIT and iframe isolation.

How does tinybrowser integrate with automation tools?

tinybrowser exposes a daemon that serves both CDP and WebDriver on a loopback port. Starting the daemon with `tinybrowser daemon start` prints a JSON payload containing host, port, and URL. Automation frameworks connect via the printed URL: Playwright uses `chromium.connectOverCDP(url)`, while classic WebDriver sends a POST to `http://127.0.0.1:/session`. BiDi connections use a WebSocket at `ws://127.0.0.1:/session`. The daemon can run in foreground or supervisor mode, and status or stop commands are available. This design lets existing test suites target tinybrowser as if it were Chrome or Firefox.

What are the current limitations?

tinybrowser is still experimental. Not all Web APIs are implemented; the WPT page lists missing features. QuickJS‑ng lacks JIT, so JavaScript‑intensive sites run slower than V8. There is no out‑of‑process iframe isolation, and OS sandboxing has not been battle‑tested. Rendering is limited to headless one‑shot PNGs; no live viewport or interactive painting. These gaps mean that complex sites or security‑sensitive workloads may fail or produce inaccurate results until the project matures.

Frequently asked questions

How large is the tinybrowser binary?

tinybrowser is distributed as a single ~19 MB Rust binary.

What test coverage does tinybrowser have?

It currently passes 70.4% of Web Platform Tests subtests, covering 62.5% of test files.

Which automation protocols does tinybrowser support?

tinybrowser speaks Chrome DevTools Protocol and W3C WebDriver (Classic + BiDi), allowing Playwright and Selenium to work.

tinybrowser demonstrates how far a compact Rust engine can go, especially when paired with WebAssembly to blur the line between native and in‑browser tooling. Its protocol compatibility promises quick adoption by automation pipelines, but developers must weigh the current security and API gaps against the convenience of a single‑binary solution. As the project matures, its test coverage and sandboxing will determine whether it remains a niche experiment or becomes a mainstream headless option.

Sources: Hacker News article titled "Tinybrowser: A browser running directly in the browser" (https://tinybrowser.ericc.ch/)