Closed flotwig closed 5 years ago
@petermouton @PetMou It looks like Chrome is being launched with an incorrect path to the spec, which is causing this error. Can you share the full DEBUG
logs, from the time to when you launch Cypress to when you launch Chrome and experience this error? Instructions for debug logs are here: https://docs.cypress.io/guides/guides/debugging.html#Print-DEBUG-logs
Thanks Zach. I added the debug log cypress_debug_4410.log
Parallel to issue #4260, I tried several options. Extra information:
Hope this gives some extra clues.
Hey @PetMou, I was able to reproduce your issue, can you try something for me? Run with NO_PROXY=undefined,localhost
.
The core problem is that requests for Cypress's internal server on localhost
are going through your proxy, which will be fixed with #4358 (should be out in 3.3.2).
Wow. That did the trick! Thank you!
Check, one more happy customer! :))
The code for this is done in cypress-io/cypress#4358, but has yet to be released. We'll update this issue and reference the changelog when it's released.
Released in 3.3.2
.
I am having this issue in Cypress 4.10.0. I am using my work computer.Works fine on electron 80 but when I select chrome it gives error The browser was not launched through cypress , tests can not run
This issue will be closed to further comment as the exact issue here was resolved and tested.
@munna73 If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix.
After installing 3.3.0 I get the Whoops' window ('This browser was not launched through Cypress'), trying to run Chrome 74. The Cypress add-in is loaded in to Chrome. The add-in is shown as version 0.0.0 The tests run fine under Electron 61.
Back to Cypress 3.2.0 and Chrome 74 runs again without problems.
Originally posted by @petermouton in https://github.com/cypress-io/cypress/issues/4260#issuecomment-494693673
Cypress 3.3.1
Originally posted by @PetMou in https://github.com/cypress-io/cypress/issues/4260#issuecomment-499488347