Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Issue with WebDriver for E2E Testing Due to ChromeDriver Version Compatibility #5570

Open
balajitoverto opened this issue Jul 1, 2024 · 0 comments

Comments

@balajitoverto
Copy link

balajitoverto commented Jul 1, 2024

Hello Support Team,

I am encountering an issue with setting up WebDriver for my Angular project, specifically related to ChromeDriver version compatibility. Here are the details:

Error Message: "SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 114. Current browser version is 126.0.6478.127."
Environment Details:
Chrome Version: 126.0.6478.127
ChromeDriver Version (current): 114.0.5735.90
Operating System: Windows 10
teps Taken:

I have attempted to update ChromeDriver to match the current Chrome version by downloading the latest version available (126.x.xxxx.x), but the issue persists.
Request:

Could you please assist in resolving this compatibility issue? What steps should I take to ensure that WebDriver can initiate sessions successfully with the current Chrome version?
Please advise on any necessary updates or configurations needed to rectify this issue promptly. Thank you for your assistance.

`** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

√ Compiled successfully.
[18:43:04] I/launcher - Running 1 instances of WebDriver
[18:43:04] I/direct - Using ChromeDriver directly...

DevTools listening on ws://127.0.0.1:54854/devtools/browser/b437adec-ddc2-414a-a335-000c4e9741db
[18:43:07] E/runner - Unable to start a WebDriver session.
[18:43:07] E/launcher - Error: SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 126.0.6478.127 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
(Driver info: chromedriver=114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}),platform=Windows NT 10.0.22631 x86_64) at Object.checkLegacyResponse (C:\Users\balajitirupathi\Documents\GitHub\xxxxxx\node_modules\selenium-webdriver\lib\error.js:546:15)
at parseHttpResponse (C:\Users\balajitirupathi\Documents\GitHub\LSCConsumerApp\node_modules\selenium-webdriver\lib\http.js:509:13)
at C:\Users\balajitirupathi\Documents\GitHub\xxxxxx\node_modules\selenium-webdriver\lib\http.js:441:30
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[18:43:07] E/launcher - Process exited with error code 100`

@balajitoverto balajitoverto changed the title Fascing issue on Crome drive version issue when giving e2e testing Issue with WebDriver for E2E Testing Due to ChromeDriver Version Compatibility Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant