Ran into a similar problem. Usually, I'd fix this by changing the version number in my package.json
file to match my chrome browser version. This worked until chromedriver v115 came out. For chromedriver v115, it still worked even though the browser version didn't match. That is I could put in my package.json
:
"webdriver:update": "webdriver-manager update --versions.chrome=114.0.5735.248",
While my browser was 115.0.5790.170. The end to end tests still worked.
Now that chromedriver v116 came out and my browser updated to v116.0.5845.96, the above doesn't work anymore. My workaround was to download the chromedriver-win64.zip and put it in C:\your project\node_modules\webdriver-manager\selenium and extract it. Then you'll have a chromedriver-win64 folder with the chromedrive.exe file. Next is update the update-config.json
file to make it point to the latest chromedriver. Update the last like so:
{
"gecko": {
...
},
"chrome": {
"last": "C:\\your project\\node_modules\\webdriver-manager\\selenium\\chromedriver-win64\\chromedriver.exe",
"all": [
"C:\\your project\\node_modules\\webdriver-manager\\selenium\\chromedriver_83.0.4103.39.exe",
"C:\\your project\\node_modules\\webdriver-manager\\selenium\\chromedriver_114.0.5735.248.exe",
"C:\\your project\\node_modules\\webdriver-manager\\selenium\\chromedriver_114.0.5735.16.exe"
]
},
"standalone": {
'''
}
}
After this, the end to end tests worked again.