Closed taboca closed 7 years ago
Spectron can't currently communicate with Electron dialogs via the ChromeDriver/webdriverio libraries, #23.
Electron only displays error alerts for uncaught exceptions when the default app is used.
Registering a process.on('uncaughtException', function() {})
handler in both processes should prevent it from opening any.
I have noticed that under certain conditions I saw a javascript alert error message that was displayed from the electron app context.
I wanted to open this bug to attempt to collect, and understand, all the cases which Electron app launches popups, and then to see how spectron could deal with monitoring or handling these content interactions.