Puppeteer 23 Released: New Libraries for Browser Automation

Support for Firefox browser has been recently added to Puppeteer 23, a JavaScript library designed to automate the control of web browsers. The library, available on puppeteer.dev, is ideal for automating standard browser operations and testing, as well as simulating user interactions. Written in Typescript using node.js, the project code is open source under the Apache 2.0 license.

With Puppeteer, users can create scripts to launch a browser with specific window size, open a desired page, interact with search fields, and manipulate web pages. The library also offers features to load different browser versions, simulate various hardware setups, process authentication forms, and monitor network requests and responses. Additionally, users can modify HTTP headers and execute custom scripts within the context of open pages.

In addition to supporting Firefox, Puppeteer 23 also works with browsers based on the Chromium engine. Powered by CDP (Chrome Devtools Protocol) and Webdriver Bidi, the library launches browsers in a headless mode by default. The latest version of Puppeteer now offers a more versatile tool for automating the testing of web applications across different browsers.

/Reports, release notes, official announcements.