Selenium alternative for E2E testing of Electron app

I am trying to find a good framework for writing end-to-end tests for my electron app that even contains multiple windows.
Using Selenium for electron e2e tests is giving us a hard time maintaining it.
We thought of using Playwright codegen but it doesn’t support electron yet!!
Any suggestions will be appreciated.