-
-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Stealth is not working properly #878
Comments
Loll. This could be either CDP or or you were caught spoofing navigator. Best hack around this would be to use an extension bypass. I had similar experience way back, the bypass did the trick for me |
I would ask you a couple question to enable me help you bypass the issue. Firstly are you using puppeteer stealth in recent times? if you are they there would be an issue because stealth modifies the navigator in a way that show the navigator is not to be trusted. visit browserscan.net to see if the navigator was not trusted. |
hlo denny Sir, i have solution for it... to bypass anykind of detection.. |
Can you tell us a little about your detection evasion? |
I made a patch for this issue, it disables Runtime.enable that causes a leak and which is used by many major anti-bot systems. |
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
The text was updated successfully, but these errors were encountered: