How do I run Cypress tests on Mobile browsers?

Can I run Cypress tests on Mobile browsers?

Hi Rhian,

Cypress doesn’t support mobile browsers unfortunately; however, you can test on different viewports using cy.viewport(" "). Syntax: cy.viewport("iphone-se2"); You can find more details on Cypress viewports at:

https://docs.cypress.io/api/commands/viewport#Synta