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

806
Visualizações
Playwright stealth

I have been using puppeteer for a while, but decided to convert to playwright. In puppeteer, there was a plugin puppeteer-extra-stealth which was able to hide headless chrome and websites did not detect headless mode. Is there a similar thing for playwright?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

There is a playwright-extra in development however according to the creator this won't include the stealth evasions. See: https://github.com/berstend/puppeteer-extra/pull/303 for more information.

That being said, you don't really need an external package in order to implement functionality that the puppeteer-extra-stealth package offers. Here is my attempt: https://gist.github.com/nicoandmee/1ec1b6a07c94f82df41d2496194ef3a6

In addition to doing everything the puppeteer package is doing, my code is generating a unique browser fingerprint based on real data collected from google analytics. This fingerprint is then used as part of the "evasions." It should be sufficient for most use-cases.

over 4 years ago · Santiago Trujillo Relatório

0

In playwright you can start the browser in a headful mode:

const browser = await playwright.firefox.launch(headless=false)

More about browser launch params: https://playwright.dev/docs/api/class-browsertype#browser-type-launch

over 4 years ago · Santiago Trujillo 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