Continuous Test Orchestration And Execution Platform Online

Perform automated and live-interactive testing on 3000+ real desktop and mobile devices online.

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.

LambdaTest

Test your websites, web-apps, or mobile apps seamlessly with LambdaTest.

Start Free Testing
LambdaTest

Earn resume-worthy Selenium certifications that help you land a top job.

Learn More
LambdaTest

Test your web or mobile apps

Test orchestration and execution cloud of 3000+ browsers and OS

Support

24/7 support

Security

Enterprise grade security

Cloud

Fastest test execution cloud