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

Can not run Cypress with Browsers have Chromium core. #5377

Closed
jackmercy opened this issue Oct 16, 2019 · 2 comments
Closed

Can not run Cypress with Browsers have Chromium core. #5377

jackmercy opened this issue Oct 16, 2019 · 2 comments

Comments

@jackmercy
Copy link

Current behavior:

For now, I can only run Cypress with Chrome, chromium, Canary, and Election.
When I tried to run cypress with other browsers like Brave or SWare Iron which is a browser with Chromium core, I got a message "Can't start server" with the provide execution path.
The command that I used cypress open -b 'C:\Program Files\SRWare Iron (64-Bit)\iron'
image
After that, I tried to open Cypress with Chrome by providing execution path of Chrome
cypress open --browser "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
But I got the same error message
image

With cypress open command, everything works fine, my test can run with Chrome/Canary/Election.

Desired behavior:

In the docs have stated that

All Chrome* flavored browsers will be detected and are supported.

So this is means I could run Cypress with browser have Chromium engine like Brave or Iron or recently Opera have changed to Chromium engine but sadly I can not run Cypress with browsers are not in the docs list (Chrome, Chromium, Election, and Canary)

So I wonder, am I doing something wrong or Cypress can not run tests on browsers that different Chrome, Chromium, Election, and Canary

Despite Cypress cannot run on Multi superdomain, tabs and limited on testing iframe. If Cypress can not run Cypress with other Chromium core browser, this is preventing me to convince my team to use Cypress.

Steps to reproduce: (app code and test code)

  1. Install Iron browser or Brave
  2. Using commands: cypress open -b 'C:\Program Files\SRWare Iron (64-Bit)\iron' (this command for Iron browser)
  3. Got Error message.

Versions

Cypress package version: 3.4.0
Cypress binary version: 3.4.0
OS: Win 10

@jennifer-shehane
Copy link
Member

I did try this and ran into the same error - just to double check you were sending the path correctly.

Cypress currently only runs in Chrome, Chromium, Election, and Canary. See this issue for further cross browser support: #310

You will be able to pass in your own browser list after this PR is merged in: #5068 But there would be no guarantee this browser would functionally work until Cypress itself tests against the browser.

If you have a usecase for testing within the Iron or Brave browser, I would suggest noting your needs in the main cross browser issue. #310

I'll be closing this issue since the other 2 issues would essentially fulfill what you are looking for.

@IanVS
Copy link
Contributor

IanVS commented Jul 13, 2021

If you have a usecase for testing within the Iron or Brave browser,

The cross-browser issue has been locked, so that's no longer an option. I do not have chrome installed on my machine, and use only Brave. I was able to use it by following the instructions at https://docs.cypress.io/guides/guides/launching-browsers#Customize-available-browsers, but it's a bummer that I'll need to check in an operating-system-dependant path to a browser that only I use on my team. It would be great if cypress detected chromium-based browsers automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants