Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

176
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda