Jeff Robbins
Jeff Robbins
That being said, I did find a way to pass Electron's application menu between processes in a relatively clean way… [Here's the code](https://github.com/spaceagetv/electron-playwright-helpers/blob/00fa57abf9bac6dfb66fa3af998888f66c0a2109/src/menu_helpers.ts#L218-L245) I'm using in my `electron-playwright-helpers` library. However,...
My understanding is that electron-mocha has the capability of emulating code running in the main or renderer process. But it doesn't mean that all of the main or renderer process...
A lot of the work on this repository has moved over to the [electron-playwright-helpers](https://github.com/spaceagetv/electron-playwright-helpers) repository. There's a [GitHub workflow](https://github.com/spaceagetv/electron-playwright-helpers/blob/main/.github/workflows/e2e-ci.yml) over there which shows how to configure a Playwright e2e test....
It should be possible now to do Playwright testing without packaging the Electron application. This repository is just an example… and to be honest, most of the work has moved...
In Electron, you can run your application with a script (usually `npm start`) that will run the original source without packaging it into an application of its own. It runs...
The helper functions in the `electron-playwright-helpers` package should work the same in either a packaged app or an unpackaged one. So you should be able to test menus, ipc functionality,...
It's Typescript. I'm defining the variable scope and type.
Yeah. That's in the Javascript section of the docs. I'll fix it. Thanks for the note!
In the meantime, just change to: ```JS let electronApp ```