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 does not detect Firefox 64-bit browser #6355

Closed
smit9234 opened this issue Feb 6, 2020 · 8 comments · Fixed by #6367
Closed

Cypress does not detect Firefox 64-bit browser #6355

smit9234 opened this issue Feb 6, 2020 · 8 comments · Fixed by #6367
Assignees

Comments

@smit9234
Copy link

smit9234 commented Feb 6, 2020

Desired behavior:

On Windows 10 using Cypress v4.0.0, the Test Runner doesn't now show Firefox as an option in the browser list.

image

Looking at the browser configuration, Firefox is not listed.
image

I copied the Firefox directory (C:\Program Files\Mozilla Firefox) to the AppData directory
..\AppData\Roaming\Cypress\cy\production\browsers

This doesn't update the browser list.

Versions

4.0.0

@smit9234
Copy link
Author

smit9234 commented Feb 6, 2020

I just installed the 32 bit version (https://www.mozilla.org/en-US/firefox/all/#product-desktop-release).

I would suggest that Cypress be updated to also look at the C:/Program Files directory for 64 bit browser versions.

@flotwig
Copy link
Contributor

flotwig commented Feb 6, 2020

Thanks for reporting this, you're right, currently only the 32-bit Program Files are considered.

@cypress-bot cypress-bot bot added the stage: ready for work The issue is reproducible and in scope label Feb 6, 2020
@flotwig flotwig added browser: firefox OS: windows type: bug and removed stage: ready for work The issue is reproducible and in scope labels Feb 6, 2020
@jennifer-shehane
Copy link
Member

In the meantime, please follow the instructions for launching the Firefox browser by path

@jennifer-shehane jennifer-shehane added the v4.0.0 🐛 Issue present since 4.0.0 label Feb 7, 2020
@jennifer-shehane jennifer-shehane changed the title Test Runner does not show Firefox in the browser list Cypress does not detect Firefox 32-bit browser Feb 7, 2020
@jdvegmond
Copy link

Is the title correct? For me it doesn't detect the 64-bit version, but it does detect the 32-bit version.
Even when I specify the path to the 64-bit version, Cypress can't handle it. When I use
npx cypress open --browser C:\Progra~1\Mozill~1\firefox.exe I get the following message:

Can't start server
We could not identify a known browser at the path you provided: C:\Progra1\Mozill1\firefox.exe
The output from the command we ran was:
Version=72.0.2.7321

(Cypress 4.0.0, Windows 10, latest Firefox 64-bit version)

@amrsa1
Copy link

amrsa1 commented Feb 7, 2020

@jennifer-shehane

im experiencing same issue

image

2020-02-07_10h22_07

@rzegnam
Copy link

rzegnam commented Feb 7, 2020

Is the title correct? For me it doesn't detect the 64-bit version, but it does detect the 32-bit version.
Even when I specify the path to the 64-bit version, Cypress can't handle it. When I use
npx cypress open --browser C:\Progra~1\Mozill~1\firefox.exe I get the following message:

Can't start server
We could not identify a known browser at the path you provided: C:\Progra1\Mozill1\firefox.exe
The output from the command we ran was:
Version=72.0.2.7321

(Cypress 4.0.0, Windows 10, latest Firefox 64-bit version)

It doesn't detect 64-bit version using --browser firefox and when providing the path to the firefox.exe does not help.
Installing 32-bit helped.

@smit9234 smit9234 changed the title Cypress does not detect Firefox 32-bit browser Cypress does not detect Firefox 64-bit browser Feb 7, 2020
@flotwig flotwig self-assigned this Feb 7, 2020
@cypress-bot cypress-bot bot added stage: work in progress stage: needs review The PR code is done & tested, needs review and removed stage: work in progress labels Feb 7, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 7, 2020

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

@cypress-bot cypress-bot bot removed the stage: needs review The PR code is done & tested, needs review label Feb 7, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 8, 2020

Released in 4.0.1.

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

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

Successfully merging a pull request may close this issue.

6 participants