-
-
Notifications
You must be signed in to change notification settings - Fork 728
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
Page redirect/ different render when using puppeteer-extra vs without #202
Comments
I have the same issue on a different site which is resolved either by not using the stealth plugin or by using the adblocker plugin in conjuction. However, with the adblocker plugin enabled I run into #90/#91 and the suggestions on those issues (using version 2.4.5 or disabled accept-language evasion) do not resolve the stream of error messages. |
@Bobchev I experienced the same problem. I removed the evasions one at a time and found that So you'll need to disable the evasion. I think there is a way you can disable a single evasion, but I did this: puppeteer.use(stealthPlugin({
enabledEvasions: [
'chrome.runtime',
'console.debug',
// as of 6/11/2020 the iframe.contentWindow evasion causes navigation to the first iframe in the document
// 'iframe.contentWindow',
'media.codecs',
'navigator.languages',
'navigator.permissions',
'navigator.plugins',
'navigator.webdriver',
'user-agent-override',
'webgl.vendor',
'window.outerdimensions'
],
})); I figured opting into evasions is better anyway because I'd want to retest my scripts if any new evasions are added in future versions of the stealth plugin. The code for the |
I solved the issue in my case by editing the
|
Confirmed that without the above change it performs a redirect and with the fix it seems to behave as expected. Just unsure if this change will cause any side effects? |
I am also experiencing this issue using the latest version of the plugins and latest puppeteer. |
Closing in favor of #137, please see this comment for more info. |
Hello, I am really grateful for the plugin, but have couple of issues using it.
I am testing it with couple websites: https://www.whatismyip.com/ , https://whatismyipaddress.com/
The code I am using
Without stealth :
With Stealth :
It seems that I get redirect to page with AdSense ad. When I comment
//puppeteer.use(StealthPlugin())
It is working normally.
Quite strange, can I get a hand on this issue, thank you
The text was updated successfully, but these errors were encountered: