CheshireCaat/puppeteer-with-fingerprints

Can't launch browser

hoaibao232 opened this issue · 9 comments

Today I have a problem. The browser can't launch, timeout problem.

Please atach more info

screenshot 2024-04-17 lúc 19 49 24

Please check it. It prints undefined, undefined and undefined,..

Please attach minimal source code and error string, not screenshot

C:\Users\Administrator\Documents\AUTO_SHOPEE\node_modules\browser-with-fingerprints\src\plugin\connector\index.js:34
() => reject(new Error(Timed out while calling the "${name}" method.)),
^

Error: Timed out while calling the "setup" method.
at Timeout._onTimeout (C:\Users\Administrator\Documents\AUTO_SHOPEE\node_modules\browser-with-fingerprints\src\plugin\connector\index.js:34:26)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7)

screenshot 2024-04-17 lúc 19 54 01

Please attach minimal source code

My minimal source code

plugin.useProxy(${currentproxyAddresss}:${currentproxyPort}@${proxyUser}:${proxyPass}, {
detectExternalIP: true,
changeGeolocation: true,
changeBrowserLanguage: true,
changeTimezone: true,
changeWebRTC: true,
});
}

const userAgent = new UserAgent({ platform: 'MacIntel', deviceCategory: 'desktop' });
const userAgentStr = userAgent.toString();
console.log(`User Agent: ${userAgentStr}`);

const anonymizeUserAgentPlugin = require('puppeteer-extra-plugin-anonymize-ua')({
    customFn: () => userAgentStr,
    stripHeadless: true,
    makeWindows: false,
});
puppeteer.use(anonymizeUserAgentPlugin);

    plugin.launch({ headless: false,
      args: ['--disable-notifications',
      '--start-maximized',
          ],

    userDataDir: './profile/gpt',
    executablePath: "C:/Program Files/Google/Chrome/Application/chrome.exe"

    }).then(async browser => {
  
        const page = await browser.newPage();
      })

not connected to puppeteer-with-fingerprints

not connected to puppeteer-with-fingerprints

I had this code above. It's connected

const puppeteer = require('puppeteer-extra')

const fingerprint = await plugin.fetch('', {
tags: ['Microsoft Windows', 'Chrome'],
});

plugin.useFingerprint(fingerprint);

@bablosoft Hi, please help me