Is the width and height of recorded videos configurable? #14250
-
Cypress records its videos at 1280x720. This makes it a bit difficult to see some of the longer error messages in the left pane. Is there a way to configure the width and height of the recorded videos? I can only find config options for the viewport itself, which I want to leave at 1050x1000, but recorded in a video of 1600x1050 rather than 1280x720. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
The video is recorded in a resolution of the actual size of the screen (or virtual screen size when headless). The default size for headless is 1280x720. To set the screen size to a different size during headless runs, it is different for each headless browser. You can follow these instructions: https://on.cypress.io/browser-launch-api#Set-screen-size-when-running-headless |
Beta Was this translation helpful? Give feedback.
The video is recorded in a resolution of the actual size of the screen (or virtual screen size when headless). The default size for headless is 1280x720.
To set the screen size to a different size during headless runs, it is different for each headless browser. You can follow these instructions: https://on.cypress.io/browser-launch-api#Set-screen-size-when-running-headless