Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

172
Views
Puppeteer is it only used for chrome browser?

Puppeteer is it only used with chrome browser ? what about the others ?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Puppeteer is a browser test automation Node.js library that provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol.

Since Puppeteer 3.0, however, supports Firefox, a move that is poised to increase its usage for cross-browser testing purposes.

Microsoft Edge is built upon Chromium so it's supported too.

about 4 years ago · Juan Pablo Isaza Report

0

As iamdlm pointed Firefox is also available in puppeteer.

If you are looking for a similar browser automation API that supports more than puppeteer there is also Playwright from Microsoft.

The core API matches puppeteer's in 90% and there are more browser testing targeted methods additionally. The reason they are this similar: it is written by the ex-puppeteer team (after they moved to Microsoft from Google).

It supports:

  • Chrome/Chromium (+ Edge, Opera, Chromium-based browsers)
  • Firefox
  • Webkit (Safari)

Their Firefox and Webkit use so-called "jugglers" - patched binaries of the original browsers. (Puppeteer's Firefox implementation is different, it is communicating to a real Firefox Nightly binary)

Example of browser usage in Playwright:

// @ts-check
const playwright = require('playwright');

(async () => {
  // Try to add 'firefox' to the list ↓
  for (const browserType of ['chromium', 'webkit']) {
    /** @type {import('playwright').Browser} */
    const browser = await playwright[browserType].launch();
    const context = await browser.newContext();
    const page = await context.newPage();
    await page.goto('http://whatsmyuseragent.org/');
    await page.screenshot({ path: `example-${browserType}.png` });
    await browser.close();
  }
})();

source: try.playwright.tech

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!