You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I went through all available evasions and toggled them, until I got a passing result. The only evasion that I had to disable was "iframe.contentWindow".
Code Snippet
constpuppeteer=require('puppeteer-extra')conststealth=require('puppeteer-extra-plugin-stealth')constplugin=stealth()plugin.enabledEvasions.delete('iframe.contentWindow')chromium.use(plugin)(async()=>{constbrowser=awaitpuppeteer.launch({args: ["--disable-blink-features=AutomationControlled"// this flag is important to avoid detection]})constpage=awaitbrowser.newPage()awaitpage.goto("https://fingerprint.com/products/bot-detection/")})()
@daniellionel01 you are a life saver, thank you! Without this Google detects puppeteer as well.
Would be great if @berstend found time to add this crucial piece.
Tbh at this point I've removed puppeteer-extra-stealth-plugin from all of my automations in favor of https://github.com/Kaliiiiiiiiii-Vinyzu/patchright-nodejs and https://github.com/DarkGL/node-xvfb-ts. I think it's rather harmful since it's been picked up by all major automation detection libraries and is not being developed with the attention it would need to stay relevant :/
Describe the bug
When visiting the browser detection https://fingerprint.com/products/bot-detection/, it detects an automation if the "iframe.contentWindow" evasion is enabled.
I went through all available evasions and toggled them, until I got a passing result. The only evasion that I had to disable was "iframe.contentWindow".
Code Snippet
Versions
System:
OS: macOS 15.0.1
CPU: (10) arm64 Apple M2 Pro
Memory: 861.64 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.1 - ~/.nvm/versions/node/v18.19.1/bin/node
npm: 10.8.3 - ~/.nvm/versions/node/v18.19.1/bin/npm
pnpm: 9.6.0 - ~/Library/pnpm/pnpm
bun: 1.1.28 - ~/.bun/bin/bun
npmPackages:
playwright-core: 1.48.1 => 1.48.1
playwright-extra: 4.3.6 => 4.3.6
puppeteer-extra-plugin-stealth: 2.11.2 => 2.11.2
The text was updated successfully, but these errors were encountered: