Take a screenshot with an autogenerated filename:
When I screenshot
Take a screenshot with a specified filename:
When I screenshot "path/to/screenshot"
When passed a path, the folder structure will be created.
Takes a screenshot of the application under test. See naming conventions.
When I screenshot:
When I screenshot with filename:
The screenshot will be stored in the screenshots folder (e.g.,
cypress/screenshots
).