Giter VIP home page Giter VIP logo

Comments (6)

zfcsoftware avatar zfcsoftware commented on May 26, 2024 1

@vladtreny @mihalichzh @signaldev1 @IqBroly @peterblazejewicz
There are 2 ways I know to get around this. The first one can be passed only in windows operating system by using the following code. you are not caught thanks to targetFilter. The 2nd solution is to use puppeteer-real-browser.

First Solution:

const puppeteer = require('puppeteer-extra');
const StealthPlugin = require('puppeteer-extra-plugin-stealth');
puppeteer.use(StealthPlugin());

(async () => {
    const browser = await puppeteer.launch({
        headless: false,
        targetFilter: target => !!target.url(),
        args: ["--no-sandbox", "--disable-setuid-sandbox"]
    });
    var page = await browser.pages()
    page = page[0]


})();

This usage only works on windows. puppeteer-real-browser works on 2 operating systems. Please check this github discussion. You will definitely find a solution.
https://github.com/zfcsoftware/puppeteer-real-browser
#817

from puppeteer-extra.

IqBroly avatar IqBroly commented on May 26, 2024

DId you test if stealth is working?

from puppeteer-extra.

signaldev1 avatar signaldev1 commented on May 26, 2024

@IqBroly yes working

from puppeteer-extra.

mihalichzh avatar mihalichzh commented on May 26, 2024

Hi! Any chance this issue to be fixed soon? We're having the same issue when attempting to login into Google Accounts.

from puppeteer-extra.

vladtreny avatar vladtreny commented on May 26, 2024

Send your code to reproduce. Better compile everything in one file.

from puppeteer-extra.

dannyokec avatar dannyokec commented on May 26, 2024

I dont think is a permanent thing. It comes and goes. how ever I think CDP could be the cause. that sh*t leaks a whole lot to detection systems

from puppeteer-extra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.