Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 WebdriverIO 的新手。我想知道如何在 webdriverio 的 wdio.conf.js 文件中将“AutomationExtension”设置为 false。
您可以在 Chrome 的配置文件中执行以下操作。
{ 'maxInstances': 1, 'browserName': 'chrome', 'goog:chromeOptions': { w3c: true, args: ['--headless'], useAutomationExtension: false, }, },