Description:
Electron is a free and open-source software framework to develop the Desktop GUI applications that host a chromium browser inside i.e. it combines the Chromium rendering engine and the Node.js runtime. Different applications can be based on different Chromium versions. In order to automate applications using Leapwork, the corresponding version of ChromeDriver is required to be placed inside the driver directory otherwise the user will get an error message "ChromeDriver for Electron is not found" or "The Electron application requires Chrome driver XX to enable automation" where XX denotes the version number of Chrome driver.
Resolution:
The user needs to download the mentioned ChromeDriver from the ChromeDriver Downloads page. Please note that only the major version has been mentioned in the error message, so the user can download any minor version that matches the corresponding major version. e.g. for version 85.0 85.0.4183.87 or 85.0.4183.83 both will work. However, we recommend downloading the latest version.
Once the driver has been downloaded, please follow the below steps:
- Navigate to the folder path: C:\Program Files\LEAPWORK\Studio
- Create a folder with the name, driver, if it doesn't exist already
- Create a sub-folder with the name, chrome
- Create another sub-folder with the major version number. For example, 85
- The overall path should look like this:
- C:\Program Files\LEAPWORK\Studio\driver\chrome\85
- Unzip the downloaded chromedriver_win32, and place the chromedriver.exe file at the above path. Refer to below screenshot:
Note: After placing the chromedriver.exe, you have to "Restart the Leapwork Studio" and then you can automate the electron application using Leapwork.
If the issue continues, please contact our Priority Support.
Comments
0 comments
Please sign in to leave a comment.