I’m attempting to use playwright to automate an electron js application but unfortunately the executable path that i am providing is not targeting the app and when i am providing the path to different electron js app(slack) it is launching the app. little help would be highly appreciated.
this is the code for it –
import { test, expect, type Page } from ‘@playwright/test’;
import { _electron as electron, ElectronApplication } from ‘playwright’;
test(‘get started’, async ({ page }) => {
// test.setTimeout(150000);
let electronApp: ElectronApplication =
await electron.launch({
executablePath: 'path to my electron js app '
});