Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Mozilla Hacks 9 min read Announcement mediumAdept

Announcing Official Puppeteer Support for Firefox

Puppeteer 23 adds first-class Firefox support, built on the W3C WebDriver BiDi protocol rather than a Firefox-specific protocol, so the same automation and end-to-end tests can run against Chrome and Firefox by setting browser: "firefox". Code examples cover console log capture, device emulation, network request interception and preload scripts, all capabilities that classic HTTP-based WebDriver could not offer across browsers. BiDi is positioned as an LSP-style common protocol that ends the choice between WebDriver's limited features and per-browser protocols like CDP. Firefox's experimental CDP implementation is scheduled for removal at the end of 2024, and some APIs (CDPSession, accessibility snapshots, worker evaluation) remain unsupported.

Assumes: browser automation basicsJavaScript async/await

Related posts

  • Puppeteer Support for the Cross-Browser WebDriver BiDi Standard

    Mozilla Hacks easyNovice

    Puppeteer v21.6.0 adds support for WebDriver BiDi, the W3C cross-browser automation standard, enabled by launching with product 'firefox' and protocol 'webDriverBiDi' (it also works with Chrome). It replaces Firefox's partial, experimental re-implementation of the Chrome DevTools Protocol, which was incomplete and subject to frequent breaking changes. Gaps remain versus Chrome+CDP, including cookie access, network interception, some emulation and permissions. On Firefox, only cookie access is missing, and BiDi handles multi-process Firefox better. Mozilla has already ported its pdf.js Puppeteer tests to it and expects to eventually drop CDP support in Firefox.

  • Bun v1.3.12

    Bun mediumAdept

    Bun v1.3.12 adds Bun.WebView, a built-in headless browser automation API with WebKit and Chrome (CDP) backends. It dispatches OS-level trusted input events and waits for elements to be actionable, Playwright-style. Other additions are terminal Markdown rendering via `bun ./file.md` and Bun.markdown.ansi(), an in-process Bun.cron() scheduler that never overlaps runs and fires in UTC, and async stack traces for native APIs. The release also fixes UDP ICMP error handling and truncation detection, aligns unix socket lifecycle with Node.js, and embeds standalone Linux executables in an ELF section so execute-only binaries work. A JavaScriptCore upgrade brings `using` declarations and JIT improvements, and benchmarks show URLPattern up to 2.3x faster, SIMD-accelerated stripANSI/stringWidth up to ~11x faster, and faster bun build on low-core machines.

  • Bun v0.8.0

    Bun mediumAdept

    Bun v0.8.0 adds a debugger via WebKit's Inspector Protocol (`--inspect` with a web UI at debug.bun.sh), a `bun update` command, streaming `fetch()` response bodies, and true streaming of ReadableStream responses in `Bun.serve()`, which previously buffered them. `node:tty` ReadStream/WriteStream and `process.stdin.setRawMode()` now work, unblocking interactive prompt libraries such as inquirer, and SvelteKit and the Nuxt dev server now run. Other changes include Jest `test.each`/`describe.each`, a SIMD-optimized `Buffer.toString("hex")` that is 40x faster, and a fix for a DOMJIT crash in Buffer functions introduced by a JavaScriptCore upgrade. For fast streaming, `type: "direct"` ReadableStreams are still recommended for now.

  • New to the web platform in September

    web.dev easyNovice

    September 2026 brought Chrome 153 and 154, Firefox 155 through 157, and Safari 27 to stable, the first month of bi-weekly Chrome and Firefox releases. Many features reached Baseline Newly available: the CSS progress() and alpha() functions, the revert-rule keyword, image values in light-dark(), scroll anchoring via overflow-anchor, font-width, sizes="auto" for lazy images, async-iterable and transferable ReadableStreams, and cookieStore maxAge. Other additions include customizable <select> in Safari, <camera> and <microphone> elements, Iterator.zip and keyed Promise combinators, WebTransport updates in Firefox, and Service Worker static routing in Safari. Chrome 155 and 156 betas preview CSS random(), margin-trim, JPEG XL decoding, import defer and the <install> element.

  • Bun v1.3.9

    Bun mediumAdept

    Bun v1.3.9 adds `bun run --parallel` and `--sequential` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via `net.Server`, `Symbol.dispose` support for test mocks, `NO_PROXY` handling for explicit proxies, `--cpu-prof-interval`, and ESM bytecode in `--compile`. A JavaScriptCore upgrade brings SIMD-accelerated RegExp prefix search on ARM64 and x86_64, JIT compilation of fixed-count parenthesized subpatterns (~3.9x faster), DFG/FTL intrinsics for `startsWith`, `Set/Map#size` (2.2-2.7x) and `trim`, and rope-returning `String#replace`. Fixes include SIGILL crashes on ARMv8.0 CPUs caused by mimalloc LSE atomics, a chunked-encoding request smuggling bug, and keep-alive hangs for proxy-style requests.

The quest for software engineering knowledge.

Look:
Layout: