Use of 'Binary location' Attribute in 'Start Web Browser' Building Block
Use of 'Binary location' Attribute in 'Start Web Browser' Building Block
Introduction
In this article, you will learn how to use the Binary location attribute in the Start Web Browser building block in Leapwork. You’ll learn what this attribute does, where it’s available across different browsers, and how you can use it as a quick workaround if your browser and driver versions don’t match.
This is especially handy when you’re launching a browser with a user profile and face automation errors. The Binary location option helps you keep your flows running smoothly until Selenium automatically updates the driver to match your browser.
Please Note: It’s meant as a short-term fix, not a permanent solution.
With the Selenium 4.34 update in release 2025.3, Selenium now automatically handles driver versions for Chrome, Edge, and Firefox. This improvement ensures that browser drivers are aligned with the installed browser versions, reducing manual intervention and improving overall stability in web automation.
Issue
In some scenarios, mismatches may still occur between the installed browser version and the automatically managed driver version. When this happens, web automation runs in Leapwork may fail to launch or execute successfully.
Workaround
You can use the Binary location attribute in the Start Web Browser building block.
- The Binary Location attribute allows you to manually specify the path to the browser driver executable (.exe) that exactly matches your installed browser version.
- By setting this path explicitly, you can continue running your web automation even when Selenium’s auto-upgrade fails to synchronize the driver and browser versions.
Important Limitation
When Selenium 4.34 in release 2025.3 automatically updates the driver to match your browser, the manual binary path you set may stop working. You should remove the custom path once the automatic alignment is restored.
Browser Availability
| Browser | Availability of Binary location Attribute | Notes |
|---|---|---|
| Chrome | Available and configurable | Recommended for temporary use if mismatched with ChromeDriver |
| Edge | Exists but hidden | Not available for direct use in Leapwork |
| Firefox | Exists but hidden | Not available for direct use in Leapwork |
For any clarification, please contact our Priority Support.