Support for own Electron version / instance #29730
Unanswered
ChrisKuBa
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
How can I configure Cypress to use my own electron version / installation?
Because the version of electron is bundled with cypress outdated and also we ship our own fixed version of electron, its necessary to test against a specific electron version.
I try to inject a new browser config, but cypress will not connect. The path to the electron.exe ist valid in my configuration, but no process will start / the process exits with 4294967295.
`
cypress:launcher:browsers launching browser { browser: { name: 'electron-locale', channel: 'stable', family: 'chromium', displayName: 'Electron Local', version: '126.0.6478.36', path: 'C:\...\node_modules\electron\dist\electron.exe', majorVersion: '126', isHeaded: true, isHeadless: false }, url: 'about:blank' } +0ms
cypress:launcher:browsers spawning browser with opts { ... } +2ms
cypress:network:connect received error on connect, retrying { iteration: 0, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:53525 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 53525 } } +3s
cypress:network:connect received error on connect, retrying { iteration: 1, delay: 100, err: Error: connect ECONNREFUSED 127.0.0.1:53525 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 53525 } } +102ms
cypress:launcher:browsers electron-locale exited: { code: 4294967295, signal: null } +118ms
cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53516 } +7s
`
Thx
Beta Was this translation helpful? Give feedback.
All reactions