0
votes

Does Cypress have a variable I can grab to determine if it's running via cypress open or cypress run?

I am not sure whether cypress provides this or not, but you can check out the module API if that helps - docs.cypress.io/guides/guides/module-api#cypress-runAlapan Das