we were using below code to run automation when there was electron BrowserWindow support but now our electron application is using Electron.WebContentsView, suggest changes for this? we are using "name": "@playwright/test", "version": "1.56.0
const electronApp = await _electron.launch({
executablePath: path.resolve(localExePath),
offline: false,
})
pageFixture = await electronApp.firstWindow()
await pageFixture.waitForLoadState()
we were using below code to run automation when there was electron BrowserWindow support but now our electron application is using Electron.WebContentsView, suggest changes for this? we are using "name": "@playwright/test", "version": "1.56.0
const electronApp = await _electron.launch({
executablePath: path.resolve(localExePath),
offline: false,
})
pageFixture = await electronApp.firstWindow()
await pageFixture.waitForLoadState()