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.
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.
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.
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.
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 β
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.