You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think your best bet here is to have some code in your app that sets a state variable, and then use waitForFunction to check that variable in your test code.
App code
// check if images are loaded, then run thiswindow.allImagesLoaded=true;
I have been trying to make a screenshot for a link that has lazyload images.
This is what I have so far:
I want to get rid of the hardcoded times from code and make the screenshot fire at the moment all resources are loaded. Any ideeas?
Thank you!
The text was updated successfully, but these errors were encountered: