-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to connect to Chrome Debugging Protocol #26711
Comments
Also seeing this issue on v12.12 but not on v12.11. |
Do you have any updates on it, @warrensplayer? |
@atmullan @derevnjuk Looking at this issue today. Sorry for the delay. |
@atmullan @derevnjuk I am not able to reproduce your error with your example repo. My steps:
I did do not see the same files or output that you show in the description above. Are you able to reproduce the error with the example directory here: /~https://github.com/NeuraLegion/cypress-har-generator ?
|
@warrensplayer, it seems that you are using version 12.3.0, but the issue can be reproduced starting from version 12.12.0. Please update Cypress to the latest version in the example folder and then repeat the steps. Also, it appears that you are still launching tests on Chrome. Please update the - "cypress:run": "cypress run --browser chrome --headless",
+ "cypress:run": "cypress run --browser electron",
"start": "node -r ts-node/register src/index.ts --port 7079",
"test": "start-test 7079 cypress:run" Thanks 😉 |
Thanks for clarifying. I was just using the default files in your repo and missed the specifics in your output. I was able to reproduce the error. Looking at it a bit more to see if I can find a simple fix. |
@derevnjuk I found the update that broke this functionality. It was the PR: #26573 that was part of the I have a simple fix and will work on getting a PR up for it shortly. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Cypress Crashes when Cypress Har Generator is enabled (/~https://github.com/NeuraLegion/cypress-har-generator) with Electron Browser with Flag ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222
Logs:
Desired behavior
Works Fine in Previous Cypress Releases
Test code to reproduce
Run a spec with Electron and Cypress Har Generator enabled
cy.recordHar({ includeMimes: ['application/json'] })
Cypress Version
12.12.0
Node version
v16.20.0
Operating System
Windows and Ubuntu
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: