question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spectron Broken by Electron v1.5.0

See original GitHub issue

After 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:closed
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
colinskowcommented, Jan 26, 2017

Never mind, it works now. I had to rm -rf node_modules and reinstall to get Electron to get them to upgrade correctly.

0reactions
cganpulecommented, Mar 25, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found