puppeteer-extra icon indicating copy to clipboard operation
puppeteer-extra copied to clipboard

Chromium gets detected

Open PatrickWegmann opened this issue 3 years ago • 2 comments

Unfortunately Chromium gets detected on a lot of sites now, even if you run it in headless = false, so i kinda gave up on this cat and mouse game, i don't want to get my accounts banned. I'm now just using the standard Chrome through the debug port. Hope this helps people facing the same issue...


const wsChromeEndpointurl = 'ws://127.0.0.1:9222/devtools/browser/c53e908d-741b-4e5b-843e-f770ac142acd';


(async () => {
  const browser = await puppeteer.connect(
    { browserWSEndpoint: wsChromeEndpointurl, 
      defaultViewport: null, 
      devtools: true }

  );

  const page = await browser.newPage();

...

PatrickWegmann avatar Jan 17 '22 10:01 PatrickWegmann

Sadly this also do not work, in my try. Do you can reach this` in Headless Mode? Best Regards

Krid86abc avatar Jan 19 '22 14:01 Krid86abc

Sadly this also do not work, in my try. Do you can reach this` in Headless Mode? Best Regards

Chrome is obviously not in headless mode, but it doesn't get detected, regarding your link you have to establish a session with that site before you can checkout lol

PatrickWegmann avatar Jan 19 '22 14:01 PatrickWegmann