This repository contains the example code from my Dreamforce 2019 session on using the JavaScript bindings to allow Node execute the Selenium Webdriver. You can find the associated slide deck here
- Clone this repo
- Execute
npm install
- Push source to scratch org / deploy to dev org
- Update the username/password in javascript/modules/config.js
Execute node javascript/demos/<name of demo>.js
e.g. node javascript/demos/login.js
selenium-webdriver node package
Selenium and the Shadow DOM article
Selenium and Web Components Github issue