如何删除“Chrome正在被自动testing软件控制”
如何在默认情况下删除此消息?
我正在使用木偶,铬启动时,显示此消息。
您正在查找--disable-infobars
标志。
传递给puppeteer.launch([options])
哪里
options = { args: ['--disable-infobars'] }
https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions https://peter.sh/experiments/chromium-command-line-switches/#disable-infobars