Firefox support added to Puppeteer
Mozilla has announced that Puppeteer, a browser automation and testing library, now has first-class support for Firefox using theWebDriver 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 significantundertaking. The Firefox support is not based on a Firefox-specificautomation protocol, but on WebDriver BiDi, a cross browser protocolthat's undergoing standardization at the W3C, and currently hasimplementation in both Gecko and Chromium. This use of across-browser protocol should make it much easier to support manydifferent browsers going forward.