ChromeDriver is not compatible with the installed Chrome Browser. Please update ChromeDriver to the appropriate version
ChromeDriver is not compatible with the installed Chrome Browser. Please update ChromeDriver to the appropriate version
Introduction
The ChromeDriver vXX is not compatible with the installed Chrome Browser. Please update ChromeDriver to the appropriate version. No browser window is open, so navigation cannot continue message is shown when Chrome browser and Selenium driver (a selenium driver used to interact with browser to perform automation) is incompatible. Google releases the new version for chrome browser at regular intervals. The auto-update browser settings result in this sort of incompatibility between the browser and the driver version present in Leapwork.
Note Some users might get the error "Could not open Chrome, please check that it is properly installed on your computer". If the following steps do not resolve the issue, follow this link.
Resolution
Follow below steps to fix this issue.
- You need to know your chrome browser version. To do so, click on three vertical dots at the top right corner of your chrome browser window > Help > click About Google Chrome).
The Google Chrome version appears.
Now we need to find a compatible chrome driver for the above chrome browser version, please open the chrome web driver download page and find a latest chrome driver release corresponding to current chrome browser version installed on the system.
Note[For the Chrome Driver v116 and onwards]: If you don't get the option for the latest chrome driver version then you can choose "the Chrome for Testing availability dashboard" and select the "Stable" option for the latest version and then can select the respective Chrome Driver URL to download it.
Here is an example.
Click on the required driver link will take you to the chrome driver download page.
Download the zipped file and then extract the respective chromedriver.exe file to a folder and make note of it. (Chrome driver is available in 32 bits for windows)
If your tests are failing in preview mode on the local display, the chromedriver update is required in the Leapwork Studio. You need to follow the below steps:
- Go to C:\Program Files\Leapwork\Studio folder on the Studio machine
- Take a backup of your existing chromedriver.exe file.
- Copy and Paste the chromedriver.exe file (extracted in step 3)
- Restart the Leapwork Studio.
If your tests are failing in scheduled mode or if the tests are failing when executed in preview mode on Agent directly, an update of the chromedriver is required for Leapwork Agent. Please follow the below steps:
- Go to the C:\Program Files\Leapwork\Agent folder on the Agent machine.
- Take a backup of your existing chromedriver.exe file.
- Copy and Paste the chromedriver.exe file (extracted in step 3)
- Restart the Agent machine.
That's it, you are all set to execute the test flow again.
Note: If your Agent component is not installed on the machine on which your Studio component is installed, then you must download and replace the chrome driver version for corresponding chrome browser version installed on Agent machine in the respective path (C:\Program Files\Leapwork\Agent folder in Agent) on your Agent machine.
For any clarification, contact our Priority Support.