First step into automation of ElectronJS applications

Praveen David Mathew
3 min readAug 25, 2021

Read the theory:

Let us start by understanding how easy is device Automation:

https://github.com/praveendvd/webdriverIO_winappdriver_boilerplate

Boiler Plate Code:

What is ElectronJS :

Electron uses Chromium and Node.js so you can build your app with HTML, CSS, and JavaScript.

Jump Right into Implementation:

  1. Download chromedriver:

As electronjs apps run on chromium you need chromedriver to automate it . Each electron app will be using different chromium version so you have to download the correct compatible chromedriver version as you do for webbrowser automation

2. Starting the test application:

we are using the printing application from : https://github.com/hokein/electron-sample-apps

there also other application for you to play around with . You dont need to clone this repo as the…

--

--

Praveen David Mathew
Praveen David Mathew

Written by Praveen David Mathew

An open source advocator/WebdriverIO Projectcommiter/Postman Supernova/Postman-html-extra contributor/Stack overflow sqa moderator/Speaker

No responses yet