Next-Gen App & Browser
Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud

How to test Cypress on different browsers and devices?

Cypress supports cross browser testing for Chrome, Firefox, and WebKit. To run tests over different browsers, you need to install that browser in your system, or you will require to use a cloud-based cross browser testing platform such as LambdaTest, where you can access over 3000+ browsers, OS, and device combinations.

Once you install the browser, follow these steps to run the Cypress test:

  • Specify your browser with “--browser” and launch your browser in Cypress.
  •  cypress run --browser firefox
  • Open the Cypress test runner with the “cypress open” command in the terminal.
  • In Cypress Test Runner, click on “Run all specs,” which will run a test on the default browser, which is Chrome.
  • If you want to run a test on a different browser, go to the top right corner of Cypress Test Runner and select the desired browser. And rerun your test.

For testing on different devices, you need to install real devices, an emulator, or a simulator in your system, or you can use LambdaTest Real Device cloud. Specify your device with “--device”.

 cypress run --device iPhone 6

Open Cypress test runner and go to the right corner. Then select the device and run the test.

Test Your Website on 3000+ Browsers

Get 100 minutes of automation test minutes FREE!!

Test Now...

KaneAI - Testing Assistant

World’s first AI-Native E2E testing agent.

...
ShadowLT Logo

Start your journey with LambdaTest

Get 100 minutes of automation test minutes FREE!!

Signup for free