webdriver-iowdio-v5

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


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


Solution

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

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