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
When I go to run npx cypress run --browser chrome it will run my test(s) in both the command line AND a Chrome window.
When using npx cypress run it only runs in command line.
Desired behavior:
It would be awesome and easier to simply run tests in the command line only AND to utilize Chrome over Electron as my app does not support Electron.
I asked on stack overflow whether it was possible to be able to run a command to tell Chrome to not run in a window but to defer to Chrome over Electron when running a test in the command line. Stack Overflow post
I did have a reply saying to run DISPLAY= npx cypress run --browser chrome which would make the display to not show of the Chrome window but it would still utilize it when running in the command line. However, this only works for Linux and not OS X and it's only hiding it from you rather than just running "headless".
Summary
To be able to run a "headless" version of Chrome like Electron with command line testing for OS X users.
Versions
Chrome 74
OS X Mojave 10.14.4
The text was updated successfully, but these errors were encountered:
Current behavior:
When I go to run
npx cypress run --browser chrome
it will run my test(s) in both the command line AND a Chrome window.When using
npx cypress run
it only runs in command line.Desired behavior:
It would be awesome and easier to simply run tests in the command line only AND to utilize Chrome over Electron as my app does not support Electron.
I asked on stack overflow whether it was possible to be able to run a command to tell Chrome to not run in a window but to defer to Chrome over Electron when running a test in the command line.
Stack Overflow post
I did have a reply saying to run
DISPLAY= npx cypress run --browser chrome
which would make the display to not show of the Chrome window but it would still utilize it when running in the command line. However, this only works for Linux and not OS X and it's only hiding it from you rather than just running "headless".Summary
To be able to run a "headless" version of Chrome like Electron with command line testing for OS X users.
Versions
Chrome 74
OS X Mojave 10.14.4
The text was updated successfully, but these errors were encountered: