Comments (1)
@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.
from creevey.
Related Issues (20)
- Custom webpack loader not working HOT 2
- Browser specific delays for tests HOT 3
- failFast:true disables maxRetries config option HOT 2
- Using webkit/safari results in ERROR => UnknownCommandError: Unknown command: /wd/hub/session HOT 1
- maxRetries and non-existing screenshots HOT 1
- Unexpected story export "image": expected function, received "object". HOT 2
- `ssh2` vulnerable version through `docker-modem` HOT 1
- [Creevey:21879] ERROR => TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined HOT 3
- Storybook vite builder breaks creevey chrome after hot-reload
- Storybook 6.4.0 - TypeError: Cannot read properties of undefined (reading 'removeAllListeners') HOT 12
- Creevey with Docker Desktop alternatives HOT 1
- Testing Firefox focus state issues HOT 1
- Malicious code through dependency
- Typescript support
- Storybook 6.5 support, bundle with many chunks
- creevey with storybook 6.5
- Extract `metadata` object from story
- Getting the creevey server can't reach error
- Does not support storybook 7 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from creevey.