Readyevent must be triggered twice
Open
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
Hey,
I am using the readyEvent to trigger backstopJS to take the screenshots but I always get TimeoutErrors when i'm not triggering it twice.
```
window.addEventListener('load', () => {
// Backstop must be triggered twice.
console.log('pageLoaded');
setTimeout(() => {
console.log('pageLoaded');
}, 1000);
});
```
I am using the docker image v3.0.38
Contributor guide
Assessment
This issue has not been assessed yet.