How to set 'AutomationExtension' as false in wdio.conf.js file in webdriverio?

195 Views Asked by At

I am new to WebdriverIO. I want to know how to set 'AutomationExtension' as false in wdio.conf.js file in webdriverio.

1

There are 1 best solutions below

0
On BEST ANSWER

You can do it as below in your config file for Chrome.

{
  'maxInstances': 1,
  'browserName': 'chrome',
  'goog:chromeOptions': {
    w3c: true,
    args: ['--headless'],
    useAutomationExtension: false,
  },
},