playwright: [BUG] Electron 14+ does not work with @nestjs/common

Context:

  • Playwright Version: 1.24.*
  • Operating System: Windows
  • Node.js version: 16.10 +
  • Browser: Chrome

Code Snippet electronApp = await electron.launch({ args: [path.join(__dirname, ’ ****')], bypassCSP: true }); app1stWindow= await electronApp.firstWindow();


**Describe the bug**
 
 **Electron 12 has been EOL, so i migrate the electron app to electron 18 , but seems the playwright get the firstWindow timeout, 
my question is does latest playwright supported the electron 18 now???**



About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

That should be fixed in 1.28, please re-file if it still does not work!

Yes it does support Electron 18.

Could you provide us a minimal reproducible what exactly is not working so we can run it locally and find out if the Electron version is the root-cause of it?