Something has changed, because in @wdio/cli version 5.11.13 and chromedriver version 76.0.0 I can not pass the chromeOptions parameter - the result: invalid argument: unrecognized capability: chromeOptions .
I did some research and passed goog:chromeOptions work:
capabilities: [{ browserName: 'chrome', 'goog:chromeOptions': { args: ['--disable-web-security'], }, }]
source share