Bun adds a new feature, "Headless Browser Automation," that lets users operate headless browsers from the command line

TL;DR AI
2 min readKey summary
Bun v1.3.12 adds headless browser automation from the CLI or Bun APIs.
Users can launch, navigate, click, and take screenshots without opening a full browser UI.
On macOS, Bun uses WKWebView by default; on other platforms it can use Chrome or Chromium via the DevTools Protocol.
The feature lowers setup friction for browser testing and AI-driven web automation, including agent workflows like Claude Code.



