While using Firefox as browser, some users may see "No Browser window is opened so navigation cannot continue." error message while automating web applications on the Firefox browser -
The gecko driver 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, 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.