Here’s the code sample from our tutorial on how to how to take a screenshot in Cypress

 

View on GitHub
©2026 Applitools