tinybrowser review: a 19.7 MB headless browser you drive over WebDriver, and we ran it on Linux

By Lounes Hareb14 views
  • Developer Tools
  • Open Source
tinybrowser review: a 19.7 MB headless browser you drive over WebDriver, and we ran it on Linux

tinybrowser is a headless browser: no window, just a program that loads pages for scripts. Its GitHub description calls it "a pretty tiny browser you can embed anywhere." The README says it speaks the Chrome DevTools Protocol and W3C WebDriver, so Playwright and Selenium can drive it, and that it also compiles to WebAssembly. It is MIT-licensed, version 0.0.17 came out on December 5, 2026, and GitHub showed 317 stars that day. Adafruit's post about it calls it a headless browser for AI agents. The README does not use that framing.

What the project says

The README is upfront that tinybrowser is experimental. It says not every Web API is implemented, that JavaScript runs on QuickJS-ng with no JIT and is slower than V8, that there is no out-of-process iframe isolation, that OS sandboxing is "not battle-tested", and that rendering is headless with one-shot screenshots only. The command-line help describes it as a "Tiny headless web browser (CDP + W3C WebDriver on one loopback port)" and lists extensions as "reserved; not yet implemented". We read that in the help output of the build we ran.

What we ran

We downloaded the x86_64 Linux archive from the GitHub release (9.2 MB). Its SHA-256 matched the release's checksum file, and the unpacked binary was 19,726,048 bytes, the size the release lists. tinybrowser --version printed 0.0.17. tinybrowser daemon start returned in about 0.07 seconds with a JSON line giving a port on 127.0.0.1. The processes we saw in ps held between about 11 and 37 MB of resident memory each.

We then drove it with a short Python script over plain WebDriver HTTP, not Playwright or Selenium. Our own test page loaded, ran its JavaScript, and fetched a JSON file from our local server. A CSS grid and flexbox rendered, and a canvas pixel we painted red read back as 255/0/0/255. Web Workers, WebAssembly, localStorage, IntersectionObserver and custom elements were all present. We typed "hello" into a field, clicked a button, and the page showed HELLO.

On real pages, the call to load example.com returned in 0.3 seconds, Hacker News in 0.4, a Wikipedia article in 1.0 and the tinybrowser repository page on GitHub in 4.4. Each page title came back correct, and the screenshots showed real text, layout and images. Screenshots came out at 800 by 600. These timings come from one small Linux sandbox and one run each, so they say little about speed in general.

Limits we hit

The daemon accepted one WebDriver session at a time. Asking for a second one returned "session not created: already have a session" until we stopped and restarted the daemon. In our test page, WebSocket and crypto.subtle came back undefined, so pages that depend on them will not work. Both fit the README's warning that coverage is partial.

Not tested

We did not test Playwright, Selenium, the DevTools protocol or WebDriver BiDi, so the README's claims about them are unchecked. We did not build the WebAssembly package, run the npm install, or try Windows, macOS or Android. We did not check the project's web-platform-tests coverage, JavaScript-heavy single-page apps, logins, downloads, or the security of its sandbox. We did not test how it behaves when left running for days.

Our take

For fetching a page, running its scripts and taking a quick screenshot on a small machine, it worked well in our checks, and the single binary is easy to try. It is not a Chrome replacement, and at version 0.0.17, with a release on the day we tested, expect it to change quickly. Our reading: keep it on loopback, as it did for us, and do not point it at pages you do not trust until its sandbox has had more review.

Source and releases: github.com/tinybrowser-dev/tinybrowser. Live demo and documentation: tinybrowser.ericc.ch. Adafruit's post: blog.adafruit.com.

Share this article