You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround script, added into my node binaries folder:
#!/bin/bash# Create a temporary directory
tmpdir=$(mktemp -d)# Clean up on exittrap"rm -rf $tmpdir" EXIT
# Create a symlink to the Chrome 95 binary in the temporary directory
ln -s $(which chrome-95)$tmpdir/chromium
# Run Cypress with the temporary directory in the PATH and append any further arguments# For example, cypress-95 open
PATH=$tmpdir:$PATH cypress $@
Unfortunately I'm not getting results with that workaround. It is back to 2 browsers (latest Chrome & Electron).
I also sym linked "Chromium" in the same directory to map to "Chrome" and not working either:
cypress open --e2e --browser $HOME/Downloads/Linux_x64_916288_chrome-linux/chrome-linux/chrome
cypress open --e2e --browser $HOME/Downloads/Linux_x64_916288_chrome-linux/chrome-linux/chromium <-- Symlink to chrome in the same directory
As a shortcut, I've just added a "cypress-95" script in my PATH which does the trick for now.
Current behavior
I have a custom build of chromium installed at
$HOME/Downloads/Linux_x64_916288_chrome-linux/chrome-linux/chrome
This is "Chromium 95"
When I launch with:
cypress open --browser $HOME/Downloads/Linux_x64_916288_chrome-linux/chrome-linux/chrome
It does not detect and simply displays Chrome 121 and Electron.
However, when I sym link 'chromiim' then it is fine and displays 3 browsers (Chrome, Chromium and Electron):
However, i don't really desire setting my global chromium PATH to this specific version as it is just used for testing.
How should the
--browser
flag work?Debug log attached as a file because I couldn't paste the whole thing:
cypress-missing-browser.log
Desired behavior
Cypress should query the path specified in
--browser
and launch it?Test code to reproduce
Download any build of chromium to a path not on $PATH and try and run with --browser
Cypress Version
13.13.3
Node version
v20.16.0
Operating System
Ubuntu 22.04
Debug Logs
Attached as file in main body
Other
No response
The text was updated successfully, but these errors were encountered: