Electron Playwright has experimental support for Electron automation. You can access electron namespace via: const { _electron } = require('playwright'); An example of the Electron automation script would be: const { _electron: electron } = require('playwright'); (async () => { // Launch Electron app.
