After upgrading LEAPWORK from 2020.1.xx version to 2020.2.xx version, some users may see "No Browser window is opened so navigation cannot continue." error message while automating web applications on the Firefox browser -
The latest gecko driver v0.27.0 does not contain any information about its version (Properties on geckodriver.exe file) due to which LEAPWORK can not identify it as the latest version and hence not placing it into the correct path.
LEAPWORK installer is not designed to rollback binaries to previous versions, during LEAPWORK upgrade previous gecko driver is simply deleted first, then LEAPWORK installer tries to find the latest driver information to be able to copy the latest driver to the correct path but due to missing version information installer can't find the gecko binary and hence gecko driver goes missing from Studio and Agent folders.
In order to resolve this, user can try one of the two ways below:
Manually place the latest gecko driver(geckodriver.exe) in the agent as well as the studio folder.
- Download the latest gecko driver.
- Extract the geckodriver.exe file from the downloaded 32-bit zip version.
- Open the File Explorer on the Studio machine and navigate to:
C:\Program Files\LEAPWORK\Studio folder and place the extracted geckodriver.exe file.
- Open the File Explorer on the Agent machine and navigate to:
C:\Program Files\LEAPWORK\Agent folder and place the extracted geckodriver.exe file
Alternatively, clean installation or repair help to solve this situation as well - remove all the components of LEAPWORK and perform the installation again https://support.leapwork.com/hc/en-us/articles/115003453571-How-to-Install-and-Setup-LEAPWORK-Environment-.
For any clarification, please contact our Priority Support.