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

[Bug] Stealth is not working properly

Open cyeibs opened this issue 4 months ago • 4 comments

  • So, my point is to sign-in into PSN account.
  • `const puppeteer = require("puppeteer-extra"); const StealthPlugin = require("puppeteer-extra-plugin-stealth"); const proxyRouter = require("@extra/proxy-router"); puppeteer.use(StealthPlugin()); puppeteer.use(require("puppeteer-extra-plugin-anonymize-ua")());

puppeteer.use( proxyRouter({ proxies: { DEFAULT: "http://EwUbB71R:[email protected]:64402" }, }) );

const psnSignInPage = "https://store.playstation.com/en-tr/pages/latest";

const browserConfig = { headless: false, executablePath: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", ignoreHTTPSErrors: true, ignoreDefaultArgs: ["--enable-automation"], slowMo: 0, args: [ "--window-size=1400,900", "--disable-gpu", "--no-sandbox", "--enable-webgl", ], };`

so, I open page of store, go to sign-in page, using page.type(selector, "value") insert email and than password, click on sign-in and get error "Can't connect to the server". But manually in main browser (not run by puppeteer-extra) it sign-in properly.

I tried headless: true - did not help

cyeibs avatar Feb 29 '24 18:02 cyeibs