question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest stealth plugin detected by Google

See original GitHub issue

The stealth plugin had been working fine on Google’s website, however it stopped working recently. The website shows “This browser or app may not be secure” error after submitting the username.

my package version: puppeteer-extra-plugin-stealth@2.8.2 puppeteer-extra@3.2.3

Below is my code:

(async () => {
  const puppeteer = require('puppeteer-extra')
  const StealthPlugin = require('puppeteer-extra-plugin-stealth')
  puppeteer.use(StealthPlugin())  
  const browser = await puppeteer.launch({ headless: false });
  const page = await browser.newPage();
  await page.goto('https://accounts.google.com/signin/v2/identifier?service=mail&passive=true&rm=false&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&ss=1&scc=1&ltmpl=default&ltmplcache=2&emr=1&osid=1&flowName=GlifWebSignIn&flowEntry=ServiceLogin');
  await page.type('input', 'demo123', {delay: 20})
  const elements = await page.$x('//span[text()="Next"]')
  await elements[0].click() 
  await page.waitForTimeout(3000);
  await browser.close();
})();

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
ghostcommented, Oct 18, 2021

It is working in headless mode. Bypass CSP geniuses

5reactions
berstendcommented, Oct 15, 2021

A fix is coming 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

puppeteer-extra-plugin-stealth - npm
Stealth mode: Applies various techniques to make detection of headless puppeteer harder.. Latest version: 2.11.1, last published: 5 months ...
Read more >
Detecting Headless Chrome: Puppeteer-Extra-Plugin-Stealth
The main techniques that are useful to detect the stealth plugin are: A powerful behavioral detection engine. Advanced IP/session reputation.
Read more >
puppeteer-extra-plugin-stealth/readme.md - UNPKG
> A plugin for [puppeteer-extra](https://github.com/berstend/puppeteer-extra) to prevent detection. Tests have been done using [this test site](https://bot. ...
Read more >
In Plain Sight - Squarespace
This plugin was released on May 29th, 2018 and currently includes support for 12 different methods to evade bot detection. Puppeteer Stealth has...
Read more >
Detecting Headless Chrome: Spotlight on Puppeteer-Extra ...
My team detects ~40 million requests per week linked to puppeteer-extra-plugin-stealth. We recently shared some research about how attackers use ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found