SessionNotCreated: Chrome version with chrome driver compatibility issue.

This document should be referred in case the user receives below error in QAS.

Error Message: 

Root Cause: You must be using Chrome browser version 76 and your chrome driver version must not be supported for it.  (Your chromedriver does not match with your Chrome Browser version. You need to install chromedriver in correspondence with your Chrome Browser version).

How to find Chrome version : Type chrome://version in the chrome browser URL and enter. See chrome version.

Solution for UI Execution:

  • Download the stable version of chromedriver from this link as per your browser version. Extract the zip file.
  • In your QAS click on 'Manage' button on the bottom left corner of QAS>>Click on 'Settings'
  • Search for 'Chromedriver' >> You will see chromedriver file in extensions >> Click on 'Edit the settings.json'
  • Update the latest chromedriver path for parameter 'webdriver.chrome.driver' or Navigate to this location in your explorer and replace the chromedriver with the latest version. 
  • Restart your QAS after these changes.

Solution for Command-line Execution: 

  • click on application.properties file.
  • update your chrome driver version path which you have downloaded with compatible to your browser version as highlighted in the image below.
  • Now after making above changed you can go ahead and execute the command from CLI.