Electron Service
wdio-electron-service is a 3rd party package, for more information please see GitHub | npm
WebdriverIO service for testing Electron applications
Enables cross-platform E2E testing of Electron apps via the extensive WebdriverIO ecosystem.
Spiritual successor to Spectron (RIP).
Features
Using the service makes testing Electron applications much easier:
- 🚗 auto-setup of required Chromedriver
- 📦 automatic path detection of your Electron application - supports Electron Forge and Electron Builder
- 🧩 access Electron APIs within your tests
- 🕵️ mocking of Electron APIs via a Vitest-like API