How to achieve a forward/backward Browser and Driver compatibility
How to achieve a forward/backward Browser and Driver compatibility
Introduction
With Leapwork users can test their web applications in various browser versions and combinations. Leapwork supports the latest available version of the browser. You can achieve forward and backward compatibility by either Upgrading/Downgrading the Leapwork Version or Selenium WebDriver and/or Browser under test.
Working With Various Versions
Scenario 1: You are working on Leapwork old version, but the version of the browser is updated automatically.
Check the Web Browser and Driver Compatibility Matrix, if the latest Leapwork version is supporting the updated Browser then upgrade Leapwork using the How to Download/Upgrade Leapwork article.
In case, Leapwork latest version does not support the updated browser then,
Check the respective browser driver page for the compatible driver, if a newer version is available, then download the driver and replace it in Studio and Agent folder.
Otherwise, downgrade the browser to the last supported version as per the Web Browser and Driver Compatibility Matrix article and wait for a new release.
Scenario 2: You are working on the latest version of Leapwork but the version of the browser is older than the already supported version in Web Browser and Driver Compatibility Matrix.
User needs to upgrade the browser and bring it to matching the version of Leapwork defined in Web Browser and Driver Compatibility Matrix.
Check the compatible driver version for the browser, download it from the respective browser driver page, and replace it in Studio and Agent folder.
Scenario 3: You want to run a test against an older version of the browser.
Check the compatible Leapwork version for the supported browser using the Web Browser and Driver Compatibility Matrix article and downgrade to the version using the How to Download/Upgrade Leapwork article.
Check the compatible driver version for the browser and download it from the respective browser driver page and replace it in Studio and Agent folder.
Upgrade/Downgrade Selenium Web Driver
You can upgrade/downgrade Selenium Web Driver using the following steps.
- Open web driver download page ( Chrome, Firefox, IE11 and Edge).
- Select the required driver and download it.
- Check the downloaded file type. If it is .zip then extract the respective driver.exe file to a folder and make note of it.
- Go to C:\Program Files\LEAPWORK\Studio folder in Studio and C:\Program Files\LEAPWORK\Agent folder in Agent and take the backup of your existing driver.exe file.
- Copy and paste the driver.exe file (extracted in step 3) to C:\Program Files\LEAPWORK\Studio folder in Studio and C:\Program Files\LEAPWORK\Agent folder in Agent.
- Verify the version of recently copied files.
For any clarification, contact our Priority Support.