How to Use Selenium Manager (Beta) in Leapwork
How to Use Selenium Manager (Beta) in Leapwork
The Selenium Manager (beta) feature has been integrated into Leapwork to help users automatically download and update the latest driver updates for Chrome, Edge, and Firefox browsers.
Previously, Leapwork users had to manually update these browser drivers, which was not only cumbersome but often led to compatibility issues. This was primarily because Leapwork releases new Windows builds quarterly, while browser drivers are typically updated every month. By the time a user waits for a new Leapwork release, several browser driver updates might have been made available, causing potential compatibility problems in automation workflows.
To address this challenge, the Selenium Manager (beta) ensures that users can automatically download and update drivers without waiting for Leapwork’s next official release.
Key Features and Flexibility
While the Selenium Manager (beta) simplifies the process, there are instances where newly released drivers may have known issues that can block users' workflows. To provide flexibility, Leapwork allows users to choose between manual drivers and automatically installed drivers using Selenium Manager (beta).
Instructions for Users
1. Using Manual Drivers (for Leapwork versions earlier than v2025.3.0)
- Users can manually select and use browser drivers of their choice.
- To use a manual driver, users must place the desired driver file in the following directories
Studio machine:C:\Program Files\Leapwork\Studio
Agent machine:C:\Program Files\Leapwork\Agent
Please refer to this article for more information:
2. Using Automatic Drivers with Selenium Manager (beta)
- If users want to leverage the Selenium Manager (beta) for automatic updates, they need to remove the manually placed driver file from the above directory.
- Once the manual driver file is removed, the Selenium Manager (beta) will automatically download and install the latest browser drivers in the following location:
C:\Users\<username>\.cache\selenium
Note: The following URLs need to be whitelisted so that Leapwork can download compatible drivers automatically in agent/studio machines:
- chromedriver.chromium.org
- github.com/mozilla/geckodriver/releases
- developer.microsoft.com//tools/webdriver/
- msedgedriver.microsoft.com
- googlechromelabs.github.io
- storage.googleapis.com/chrome-for-testing-public/
- chromedriver.storage.googleapis.com/
If you have any questions, contact our Priority Support team.