Spectron Broken by Electron v1.5.0
See original GitHub issueAfter upgrading to Electron v1.5.0 Spectron tests are broken. The selenium driver fails to connect and Spectron launches 10 Electron windows.
Using: MacOS, Node 6.9.4, Spectron 3.4.1
It works as expected again after downgrading to Electron v1.4.15.
https://github.com/electron/electron/issues/8516
(node:2490) UnhandledPromiseRejectionWarning:
Unhandled promise rejection (rejection id: 1):
Error: Client initialization failed after 10 attempts:
RuntimeError Client initialization failed after 10 attempts:
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Spectron Deprecation Notice - Electron.js
Spectron will be deprecated on February 1st, 2022. Beginning in February 2022, Spectron will be officially deprecated by the Electron team.
Read more >All the Electron Docs! | Electron
Electron is an open source library developed by GitHub for building cross-platform desktop applications with HTML, CSS, and JavaScript. Electron accomplishes ...
Read more >vue-cli-plugin-electron-builder - Awesome JS
Breaking Changes from v1.x. The testWithSpectron function requires you pass the spectron module as it's first arg, allowing you to specify the version...
Read more >Cbp - River Thames Conditions - Environment Agency - GOV.UK
Tmnt season 5 dvd, Principles of engineering activity 1.1.2, Dyson dc34 handheld vacuum cleaner amazon, D0lls, Carte phare ouessant, Darkey kellys fishamble ...
Read more >selenium web driver hanging after launched an electron app ...
An example that I tried using Java v1.8, Electron v7.1.6 (Default electron.exe that gets created in node_module/.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Never mind, it works now. I had to
rm -rf
node_modules and reinstall to get Electron to get them to upgrade correctly.Still getting same error “Unhandled promise rejection (rejection id: 1): Error: ChromeDriver did not start within 5000ms” using MacOS Capitan electron: 1.6.2 spectron: 3.6.0 Can someone pls. advise