Skip to content
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

Cypress --browser option not working on Windows for Edge browsers with full path #14716

Closed
SagarGaniga opened this issue Jan 23, 2021 · 2 comments · Fixed by #14723
Closed

Cypress --browser option not working on Windows for Edge browsers with full path #14716

SagarGaniga opened this issue Jan 23, 2021 · 2 comments · Fixed by #14723

Comments

@SagarGaniga
Copy link
Contributor

Current behavior

Facing an issue while launching Edge browsers with the full path on Windows 10 using --browser
I am running the following command:

cypress run --browser "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"

and the output is

We could not identify a known browser at the path you provided: `C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe`

The output from the command we ran was:

 Unable to find browser with path C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe

Desired behavior

Should open edge browser from the given path just like it does for chrome and firefox.

Test code to reproduce

Not dependent on test/specs, I was using the default example folder for this.

Versions

Cypress Version: 6.3.0
Browser: MS Edge 88
OS: Windows 10

Work-around

I Will try to raise a PR with a fix.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 8, 2021

The code for this is done in cypress-io/cypress#14723, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 16, 2021

Released in 6.5.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v6.5.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Feb 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants