cypress: Cypress does not find chromium-browser on linux
Environment: Ubuntu 16.04, Cypress 2.1.0
Repro steps:
sudo apt-get update && apt-get install chromium-browserwhich chromium browser(in my case this output/usr/local/bin/chromium-browser)./node_modules/.bin/cypress run --browser chromium-browser
Results: Browser: 'chromium-browser' was not found on your system.
Only electron and chrome are being found. The same is true when running cypress open and seeing which browsers are available in the dropdown.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 9
- Comments: 18 (5 by maintainers)
I also get the error message:
On antergos (arch) linux with
chromiuminstalled as chromium:Cypress package version: 3.1.0 Cypress binary version: 3.1.0 Chromium Version 69.0.3497.100 (Official Build) Arch Linux (64-bit)
I did no further cypress customization so far, no plugins or anything. Just installed it via
npm install --save-dev cypressand that’s it.@udl From
DEBUG=cypress:* ./node_modules/.bin/cypress run --browser chromium’s output, it expects to findchromium-browser. So,The chromium browser is still not being found by cypress, if the binary is called
chromium. Can you add that name to the detection list somehow?Released in
3.1.5.