原理:是通过在页面加载之前注入js脚本,抹去navigator.webdriver等浏览器自动化特征。 使用的这个js脚本(stealth.min.js)来源于Github上的puppeteer-extra-plugin-stealth项目(A plugin for puppeteer-extra and playwright-extra to prevent detection.)。 playwright的示例: context.add_init_script(path='stealth.min.js...