siteshooter
siteshooter copied to clipboard
delaying screenshot?
@stevebritton
Is it possible to delay the screenshot?
When I'm taking screenshots of overlays and modals it sometimes takes the screenshot before everything is displayed.
Here's an example
Hey @benhalverson,
Have you tried working with the delay setting in your siteshooter.yml file?
Also, if you're triggering overlays in an inject.js file, have you tried doing a setTimeOut?
@stevebritton yes I've tried both the yml option and setting a timeout in the inject.js file
@benhalverson,
I put together a quick example that will open a modal, start a timer within the model, and set the timer to the same value as the screen delay option and everything seems to be working as expected.
Example: https://github.com/devopsgroup-io/siteshooter/tree/master/examples/screenshot-delay
I'm wondering if this is an async issue?