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
Will creevey wait for the call of window.__CREEVEY_SET_READY_FOR_CAPTURE__.()and wait then 2000 ms to make the screenshot or will creevey make the screenshot immediately when window.__CREEVEY_SET_READY_FOR_CAPTURE__.() get's called?
The text was updated successfully, but these errors were encountered:
@pernsteinerc hi, the first option, creevey will wait for __CREEVEY_SET_READY_FOR_CAPTURE__ call and then wait 2000 ms. I guess the name or global function is confusing, because of how creevey works. It sends to a browser a request to switch the story or re-mount it and waits for a response. In a browser Creevey waits for when the story will be rendered in that moment story might want to update itself or load something asynchronous, that's where waitForReady plays the role. When the story gets stable, a browser sends a response to Creevey, where it waits for extra 2 seconds before capturing the screenshot.
What is the behaviour of creevey if I set the following story parameters:
Will creevey wait for the call of
window.__CREEVEY_SET_READY_FOR_CAPTURE__.()
and wait then 2000 ms to make the screenshot or will creevey make the screenshot immediately whenwindow.__CREEVEY_SET_READY_FOR_CAPTURE__.()
get's called?The text was updated successfully, but these errors were encountered: