Run Cypress Headless With a Mobile Viewport

Run the Cypress Test Runner with a Mobile Viewport in Headless Mode

Authored by: cypress-dx
width
height

Command
Copy
npx cypress run --config viewportWidth=375,viewportHeight=667
Tags