Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delaying screenshot? #77

Open
benhalverson opened this issue Sep 28, 2017 · 3 comments
Open

delaying screenshot? #77

benhalverson opened this issue Sep 28, 2017 · 3 comments
Assignees

Comments

@benhalverson
Copy link

@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
screen shot 2017-09-28 at 11 14 54 am

@stevebritton
Copy link
Member

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?

@benhalverson
Copy link
Author

@stevebritton yes I've tried both the yml option and setting a timeout in the inject.js file

@stevebritton
Copy link
Member

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants