In my codeceptjs setup, I updated @wdio/selenium-standalone-service to latest version 6.9.0 This seem to install chromedriver version version: '85.0.4183.87'
Now that chrome browser version upgraded to 87.0.4280.66, tests that worked fine earlier are now failing with:
Can't connect to WebDriver. Error: Failed to create session. session not created: This version of ChromeDriver only supports Chrome version 85
Any suggestion on how this issue can be resolved. Since I am using "@wdio/selenium-standalone-service", did not separately install chromedriver. Hence have this version issue with "@wdio/selenium-standalone-service"
we faced the exact same problem! I managed to get this working by using this version of wdio selenium standalone(5.16.10). I have no idea why it works with this older version though.
You can specify the latest chromedriver version you want it to use by specifying it in the plugins section.