Skip to content

Instantly share code, notes, and snippets.

@sashuk
Created August 3, 2023 16:40
Show Gist options
  • Save sashuk/d60297b86c203a2b68cf7b367495cc6f to your computer and use it in GitHub Desktop.
Save sashuk/d60297b86c203a2b68cf7b367495cc6f to your computer and use it in GitHub Desktop.
happo-cypress take screenshot of entire full page
Screenshot is not cut off if <body/> in cypress/support/component-index.html has first child like
```
<div style="position: absolute; top: 0; bottom: 0; width: 100%; background-color: #FFF; z-index: -1000;"></div>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment