Oddbean new post about | logout
 Firefox support added to Puppeteer


Mozilla has https://hacks.mozilla.org/2024/08/puppeteer-support-for-firefox/
, a browser automation and testing library, now has first-class support for Firefox using the
https://w3c.github.io/webdriver-bidi/
 protocol. Puppeteer can be used to drive headless browser instances, and is commonly used for automated end-to-end web site tests.



Whilst the features offered by Puppeteer won't be a surprise,
bringing support to multiple browsers has been a significant
undertaking. The Firefox support is not based on a Firefox-specific
automation protocol, but on WebDriver BiDi, a cross browser protocol
that's undergoing standardization at the W3C, and currently has
implementation in both Gecko and Chromium. This use of a
cross-browser protocol should make it much easier to support many
different browsers going forward.  


https://lwn.net/Articles/984733/