HeadlinesBriefing HeadlinesBriefing.com

Tinybrowser: Browser Runs Directly In Browser

Hacker News •
×

Tinybrowser is an experimental headless browser running directly inside a web browser, rendered via a ~19 MB Rust Web Assembly binary. Currently passing 70.4% of Web Platform Tests, it implements Chrome DevTools Protocol and W3C Web Driver for Playwright and Selenium compatibility. The browser utilizes Quick JS-NG without JIT compilation, resulting in slower JavaScript performance compared to V8. Key limitations include absent Web API implementations, no out-of-process iframe isolation, untested OS sandboxing, and headless one-shot PNG rendering only. Installation involves downloading a binary via npm or curl, ensuring the install directory is on PATH, and starting the daemon for loopback port connectivity. The project targets developers seeking lightweight browser automation without full system installations, though it remains very experimental with significant feature gaps.

Playwright and Selenium integration via Web Driver protocol enables automated testing and scripting. The Wasm build offers an alternative to native binary usage through an npm package. Community reactions highlight both novelty and practical constraints, with users noting mixed rendering results and certification issues. While promising for specific automation tasks, the browser currently lacks the robustness and feature completeness required for general web navigation or complex JavaScript-dependent applications.

Source: Hacker News · Summarized by HeadlinesBriefing