During my automated testing with selenium-webdriver, I encountered an issue while building a driver using chromedriver. Everything was functioning perfectly until one day, when I ran a test and received the following error message:
SessionNotCreatedError: session not created: Chrome version must be between 70 and 73
(Driver info: chromedriver=73.0.3683.20 (8e2b610813e167eee3619ac4ce6e42e3ec622017),platform=Mac OS X 10.14.3 x86_64)
Despite my package.json displaying that it is using chromedriver^73.0.0.0, I attempted to uninstall the previous version v2.45, only to receive a similar error message.
I have made numerous attempts to resolve the issue by running npm uninstall and install commands, as well as installing locally, but these efforts did not provide a solution. While updating to v74 may work, I specifically need to remain on version v73 for some reason.
If anyone has insight on how to solve this problem, please share your knowledge.