1

I'm trying a way to launch cypress with a specified firefox version, if i launch something like

cypress run --browser firefox

I only see version 89 running, how can I force it to launch it with different versions?

FYI, I'm launching it inside a docker container with cypress/base:12.19.0 image

1 Answers1

1

Try specifying the path, e.g. run -b /usr/bin/firefox_target_version

https://www.w3resource.com/cypress/command-line.php

bsi
  • 11
  • 2
  • Being in a docker container, how can i find firefox bin? – Marco Nobile Dec 14 '21 at 09:28
  • It would help if the issue being faced was shared, but here is a link that might help: https://www.cypress.io/blog/2019/05/02/run-cypress-with-a-single-docker-command/ – bsi Dec 14 '21 at 10:13
  • this link might be also helpful https://collabnix.com/running-firefox-in-docker-container/ for the path – bsi Dec 14 '21 at 10:35