Puppeteer supports Firefox now.


Puppeteer supports Firefox now.

Puppeteer is browser test automation tool developed by Chrome Developer Team.It is announced Chrome Dev Summit 2017 first, and released at January 2018.This node based library increases popularity day by day.Puppeteer promises that ease to use , 100x faster test run , working with CI/CD pipelines like travis.To make quick intoduction to puppeteer please read my post about Puppeteer from this link

Last week , in Google I/O ,Chrome developers announced new features of Puppeteer.By virtue of collabration of Mozilla , Puppeteer now support Firefox too.It is experimental phase now and 90% of project is done.You can easily find from this link which API’s are ready.To write a script for firefox you need to change just one line after when you installed firefox-puppeteer.

1
const puppeteer = require('puppeteer-firefox')

Another improvement announced about mobile device profile set.Puppeteer comes with 100+ device profile to test your modern web pages with real device sizes.Also you can test your web pages with new “Offline Mode” support, without cutting your connection of device.

1
await page.setOfflineMode(true)

If you want to learn more depth about new features watch video in below