---
title: "Announcing Official Puppeteer Support for Firefox"
description: "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\"."
url: "https://swe.quest/articles/announcing-official-puppeteer-support-for-firefox-aa74f7c1642a1bdc"
canonical: "https://hacks.mozilla.org/2024/08/puppeteer-support-for-firefox/"
source: "Mozilla Hacks"
published: "2024-08-07"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 9
tags: ["testing","browsers","javascript","developer-tools"]
---

# Announcing Official Puppeteer Support for Firefox

A post on [Mozilla Hacks](https://swe.quest/sources/mozilla-hacks.md), published 2024-08-07, 9 min read, Announcement. Original: [https://hacks.mozilla.org/2024/08/puppeteer-support-for-firefox/](https://hacks.mozilla.org/2024/08/puppeteer-support-for-firefox/)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- browser automation basics
- JavaScript async/await ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Puppeteer, Firefox, WebDriver BiDi, Chrome DevTools Protocol, WebDriver, W3C

## Related posts

- [Puppeteer Support for the Cross-Browser WebDriver BiDi Standard](https://swe.quest/articles/puppeteer-support-for-the-cross-browser-webdriver-bidi-standard-1a31e5a6a084f9cd.md): Mozilla Hacks · 2023-12-12 · Easy · 3 min read · Testing, Browsers, JavaScript
  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).
- [Bun v1.3.12](https://swe.quest/articles/bun-v1-3-12-6739a38ec397eac1.md): Bun · 2026-04-09 · Medium · 18 min read · JavaScript, Runtimes & VMs, Performance engineering, Developer tools
  Bun v1.3.12 adds Bun.WebView, a built-in headless browser automation API with WebKit and Chrome (CDP) backends.
- [Bun v0.8.0](https://swe.quest/articles/bun-v0-8-0-6b987fd4a933f802.md): Bun · 2023-08-24 · Medium · 11 min read · JavaScript, Runtimes & VMs, Developer tools
  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.
- [New to the web platform in September](https://swe.quest/articles/new-to-the-web-platform-in-september-cc84fc5fb8499b25.md): web.dev · 2026-10-02 · Easy · 7 min read · Browsers, CSS, JavaScript, Frontend
  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.
- [Bun v1.3.9](https://swe.quest/articles/bun-v1-3-9-b7a8e766ebce7857.md): Bun · 2026-02-08 · Medium · 8 min read · JavaScript, Runtimes & VMs, Performance engineering, Compilers
  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\`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
