← All stories
● Covered by 1 source Β· 1 reportMedium impact

Puppeteer Version 23 Adds Official Support for Firefox

Aggregated by BrevFeed dev Β· updated 7h ago
πŸ”– Save

Puppeteer version 23 introduces first-class support for Firefox, allowing users to run automation tests on both Chrome and Firefox. This integration is based on the WebDriver BiDi protocol, enhancing cross-browser compatibility and user experience.

Key points

Introduction to Puppeteer Firefox Support

Puppeteer has added official support for Firefox as of version 23. Users can now seamlessly write automation scripts for both Chrome and Firefox, improving the flexibility of the library for developers.

Getting Started with Puppeteer and Firefox

To utilize Puppeteer with Firefox, users need to simply specify 'firefox' in the launch options, enabling easy browser switching in scripts. The library automatically downloads and runs the latest stable version of Firefox, ensuring a consistent experience.

Technical Underpinnings: WebDriver BiDi Protocol

The Firefox support in Puppeteer is built upon the WebDriver BiDi protocol, which is designed for cross-browser automation and is currently being standardized by W3C. This new approach is expected to facilitate the inclusion of additional browsers in the future.

Collaboration for Browser Automation Improvements

The update showcases collaborative efforts from the Puppeteer team and the W3C Browser Testing and Tools Working Group. Their work has made substantial advancements in developing a standardized browser automation protocol, paving the way for enhanced cross-browser support.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors β€” check the original sources. How BrevFeed works β†’

Primary sources

GitHub puppeteer/puppeteer GitHub w3c/webdriver-bidi npm @tailwindcss/language-server

Reporting from

Puppeteer version 23 introduces first-class support for Firefox, allowing users to run automation tests on both Chrome and Firefox. This integration is based on the WebDriver BiDi protocol, enhancing cross-browser compatibility and user experience.