DEV Community

Discussion on: What have you built/automated with headless browsers (e.g. Puppeteer)?

filips profile image
Filip Š • Edited on

I use Selenium WebDriver. It has some advantages over Puppeteer:

  • It can be used with any browser. For some very simple tasks, this isn't so important (but I still use it), but it can be quite important for complete E2E tests.

  • It can be used with any language. Unlike Puppeteer, which can only be used in JS, Selenium has libraries for all popular languages. This is very useful if you develop in multiple programming languages.