Browser Driver Auto-Download Issue After Upgrading to Leapwork 2025.3.0

Browser Driver Auto-Download Issue After Upgrading to Leapwork 2025.3.0

Overview
With the Leapwork 2025.3.0 release, Selenium Manager has been upgraded to version 4.34, introducing enhanced browser and driver management capabilities. In some cases, after upgrading, browser drivers (ChromeDriver or EdgeDriver) may fail to auto-download. This is typically caused by outdated driver files remaining in the Leapwork installation directory, which prevent Selenium Manager from fetching the latest versions.

Symptoms

  1. Chrome or Edge browser sessions fail to start.
  2. The expected auto-download of drivers does not occur after the upgrade.
  3. Execution errors indicating missing or incompatible drivers.

Cause
Outdated chromedriver.exe and msedgedriver.exe files from previous versions may still exist in the installation directory. These files override Selenium Manager’s automatic driver management functionality introduced in version 4.34.

Resolution
To ensure Selenium Manager downloads the correct drivers automatically, follow these steps:

1. Close Leapwork Studio (and Agent, if applicable).
2. Navigate to the installation directory:
For Studio:

C:\Program Files\Leapwork\Studio

For Agent:

C:\Program Files\Leapwork\Agent

3. (Optional) Back up your existing driver files:
chromedriver.exe
msedgedriver.exe
4. Delete both driver files (chromedriver.exe and msedgedriver.exe) from the folder.
5. Restart Leapwork Studio.
6. Retry your execution.

Expected Outcome
Selenium Manager will automatically download the correct and up-to-date drivers at the following location:

C:\Users\<Username>\.cache\selenium

Additional Information
This issue only occurs after upgrading from earlier Leapwork versions that bundled static driver files. The new Selenium Manager version ensures automatic and version-matched driver management for Chrome and Edge browsers. Manual driver management is no longer required once the outdated binaries are removed.

For any clarification, please contact our Priority Support.