TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Selenium IDE

Fix Error Session not created ChromeDriver

Overview

In this post, we will learn how to fix the error Session not created: This version of ChromeDriver only supports Chrome <version>

 

Error Trace

C:\TestingDocs>selenium-side-runner C:\Users\suri\Desktop\SeleniumIDE\TestingDocs.side
info: Running C:/Users/suri/Desktop/SeleniumIDE/TestingDocs.side

RUNS ./DefaultSuite.test.js

FAIL ./DefaultSuite.test.js7.0.0.1:52211/devtools/browser/01615739-e7b7-4ac1-a781-ede75
● Test suite failed to run

SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 95
Current browser version is 94.0.4606.71 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

at Object.throwDecodedError (../../Users/suri/AppData/Roaming/npm/node_modules/selenium-side-runner/node_modules/selenium-webdriver/lib/error.js:550:15)
at parseHttpResponse (../../Users/suri/AppData/Roaming/npm/node_modules/selenium-side-runner/node_modules/selenium-webdriver/lib/http.js:560:13)
at Executor.execute (../../Users/suri/AppData/Roaming/npm/node_modules/selenium-side-runner/node_modules/selenium-webdriver/lib/http.js:486:26)

Fixes

The root cause of this error is that the version of Chrome browser doesn’t support the Chrome driver or vice-versa.

#1

Update the Chrome browser on the test machine.

Click the Three dots browser button >> Help >> About Google Chrome

This will check for Google browser updates.

 

#2

Download the suitable Chrome driver that supports the Chrome browser installed on the machine.

Related Posts

Selenium IDE /

Test execution speed in Selenium IDE

Selenium IDE /

How to Fix ChromeDriver could not found on PATH

Selenium IDE /

Install Selenium IDE on Microsoft Edge Browser

Selenium IDE /

Debug Test Scripts in Selenium IDE

Selenium IDE /

Selenium IDE Components

‹ How to Fix ChromeDriver could not found on PATH› Test execution speed in Selenium IDE

Recent Posts

  • Scaler Academy – An Online Learning Platform
  • Difference between PHP and JavaScript?
  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com