Currently, I am utilizing Selenium for end-to-end tests with jest.
My browser of choice is Chrome version 85.0.4183.121, and the correct chromedriver version is present in my PATH. When I execute chromeversion -v
in the command line, it returns
ChromeDriver 85.0.4183.87 (cd6713ebf92fa1cacc0f1a598df280093af0c5d7-refs/branch-heads/4183@{#1689})
Despite having the appropriate versions, when attempting to run tests using webdriver, I encounter the error
SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 74
, which is puzzling since it indicates that I have chromedriver 74 installed.
I have researched similar issues but have yet to find a solution that addresses my problem directly.
Any assistance would be greatly appreciated.