Description
"ChromeDriver vXX is not compatible with the installed Chrome Browser. Please update ChromeDriver to the appropriate version." or "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 interval and 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, please follow this link
Resolution
Please follow below steps to fix this issue:
- First of all, you need to know your chrome browser version, here is how you can get it, click on three vertical dots at the top right corner of your chrome browser window--> Go to Help--> About chrome).
Click on "About Google Chrome" will bring up the chrome version.
- 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. 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 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, please contact our Priority Support.
Comments
0 comments
Please sign in to leave a comment.