Skip to content

Cypress not running from Custom browser path #30269

Open
@PrashamN

Description

@PrashamN

Current behavior

I am trying to run msedge version 120 and above from G drive on windows 10(2022 server edition). I get following error while running this. However, if I copy this browser to C drive(path: C:\Program Files (x86)\Microsoft\EdgeCore\Edge 126.0\msedge.exe), the tests run successfully.
Note: I am able to successfully run browser from the custom path. Also, this only occurs for msedge, I tried different browsers from G drive and they worked.
Screenshot 2024-09-23 at 8 48 03 PM
Screenshot 2024-09-23 at 8 48 17 PM
DebugLogs.txt

Desired behavior

I should be able to run cypress test from whatever custom path I provide. There shouldn't be a limitation that the browser should be in C drive only.

Test code to reproduce

Pick any cypress test and try running it in windows 10/11 2022 edition on browser ms edge version 120+. Keep browser in some other drive than the primary hard drive(C drive) and give the browser as custom path while running the cypress tests.

Cypress Version

13.14.2

Node version

18.17.1

Operating System

Windows 10, 2022

Debug Logs

No response

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions