-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Trying to use Chromium on 4.0.0 results in an error #6357
Comments
I also get this error when trying to open Chromium (78) in 4.0.0. This exact download worked in 3.8.3. I have the same path described of
module.exports = (on, config) => {
on('before:browser:launch', (browser = {}, launchOptions) => {
console.log(browser)
})
} 3.8.3 browser object{
displayName: 'Chromium',
family: 'chrome',
isChosen: true,
majorVersion: 78,
name: 'chromium',
path: '/Applications/Chromium.app/Contents/MacOS/Chromium',
version: '78.0.3904.0',
isHeaded: true,
isHeadless: false
} 4.0.0 browser object{
channel: 'stable',
displayName: 'Chromium',
family: 'chromium',
isChosen: true,
majorVersion: 78,
name: 'chromium',
path: '/Applications/Chromium.app/Contents/DMacOS/Chromium',
version: '78.0.3904.0',
isHeaded: true,
isHeadless: false
} WorkaroundFind the location that Chromium is installed in and run that with the My path was This will pre-select the found browser and it's called Similarly for For debuggingLogging the
module.exports = (on, config) => {
on('before:browser:launch', (browser = {}, launchOptions) => {
console.log(browser)
})
} {
channel: 'stable',
custom: true,
displayName: 'Custom Chromium',
family: 'chromium',
info: 'Loaded from /Applications/Chromium.app/Contents/MacOS/Chromium',
isChosen: true,
majorVersion: 78,
name: 'chromium',
path: '/Applications/Chromium.app/Contents/MacOS/Chromium',
version: '78.0.3904.0',
isHeaded: true,
isHeadless: false
} |
@leichteckig Have you updated your plugins file according to the migration guide? There were some breaking changes to args in 4.0.0: https://docs.cypress.io/guides/references/migration-guide.html#Migrating-to-Cypress-4-0 |
The code for this is done in cypress-io/cypress#6358, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Hey there, I just wanted to give the new version a try and ran into this issue. I don't think it's test specific but let me know if I'm missing something. Thanks for your hard work on v4!
I suspect the issue is a typo on this line
Current behavior:
npx cypress open
Desired behavior:
Test code to reproduce
Versions
From
npx envinfo
:System:
OS: macOS Mojave 10.14.6
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 641.25 MB / 32.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 12.13.0 - ~/.nvm/versions/node/v12.13.0/bin/node
Yarn: 1.21.1 - ~/.yarn/bin/yarn
npm: 6.13.6 - ~/.nvm/versions/node/v12.13.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Utilities:
CMake: 3.16.2 - /usr/local/bin/cmake
Make: 3.81 - /usr/bin/make
GCC: 4.2.1 - /usr/bin/gcc
Git: 2.25.0 - /usr/local/bin/git
Clang: 1100.0.33.12 - /usr/bin/clang
Subversion: 1.10.4 - /usr/bin/svn
The text was updated successfully, but these errors were encountered: