I am getting error "ChromeDriver for Electron is not found" or "Electron application requires Chrome driver XX to enable automation"
Electron is an open-source framework for building desktop applications that run on an embedded Chromium browser.
Each Electron app can use a different Chromium version.
To automate an Electron app in Leapwork, the matching ChromeDriver version must be in the Leapwork driver directory.
If it is missing, you will see an error such as:
-
"ChromeDriver for Electron is not found"
-
"Electron application requires Chrome driver XX to enable automation" (where XX is the driver version).
Resolution
You need to download and place the correct ChromeDriver version in Leapwork’s driver folder.
Step 1. Download ChromeDriver
-
Go to the ChromeDriver Downloads page.
-
Find the driver version that matches the major version mentioned in the error message.
-
Example: For version 85.0, you can use 85.0.4183.87 or 85.0.4183.83.
-
It is recommended to download the latest available minor version.
-
Step 2. Place ChromeDriver in Leapwork’s directory
-
Navigate to:
C:\Program Files\Leapwork\Studio -
Create a new folder named Driver (if it does not exist).
-
Inside it, create another folder named Chrome.
-
Inside the Chrome folder, create one more folder with the major version number (for example,
85).
The final path should look like this:
C:\Program Files\Leapwork\Studio\Driver\Chrome\85 -
Unzip the downloaded chromedriver_win32.zip file.
-
Place the chromedriver.exe file in the folder you just created.
Step 3. Restart Leapwork Studio
After placing the driver, restart Leapwork Studio before running your test again.