[错误] stealth 插件在 playwright 中出现故障

作者: ramsestom创建于 2023年4月4日更新于 2026年5月2日
标签issue: bug reportneeds triage

Describe the bug

When trying to access a page protected by a Cloudflare challenge, the challenge always fails when using playwright with the stealth plugin, but succeeds when using puppeteer with the stealth plugin (I tested it multiple times with different IPs and the result is always the same: playwright+stealth -> challenge fails, puppeteer+stealth -> challenge succeeds). So it looks like playwright is exposing something that puppeteer doesn't. I checked both fingerprints with https://antoinevastel.com/bots/, but they look identical, so I couldn't determine why playwright is flagged as a bot by Cloudflare while puppeteer isn't. But it looks like the stealth plugin would need additional evasion procedures to work with playwright as intended.

内容来源: berstend/puppeteer-extra