Skip to content

Cypress can't locate Chrome 85 exe in Windows #8425

@tyler36

Description

@tyler36

Current behavior:

cypress open does not show Chrome as a browser option. This occured after update to Chrome 85, released 2020-08-25.

I'm pretty sure this comes down to how Cypress is checking for the browser. While debugging, I came across a claim that cypress uses the following line to detect Chrome:

wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value

If this is true, Cypress won't work with Chrome 85 because it defaults to a x64 version (at least on my PC) which has a different default directory on Win10 x64 version:

C:\Program Files\Google\Chrome\Application\Chrome.exe

Desired behavior:

I would like the ability to use Chrome 84 x64 as a browser.

Test code to reproduce

cypress open

Versions

OS: Windows 10
Cypress: 4.9.0 and 5.0.0

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions