berstend / puppeteer-extra

💯 Teach puppeteer new tricks through plugins.
https://extra.community
MIT License
6.42k stars 740 forks source link

Chromium gets detected #609

Open PatrickWegmann opened 2 years ago

PatrickWegmann commented 2 years ago

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();

...
Krid86abc commented 2 years ago

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

PatrickWegmann commented 2 years ago

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