mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
If some elements use additional xhr requests (like async image loading).
Puppeteer might not imprint the end state of the page. Puppeteer has
built-in method to resolve this -
c857aef589/docs/api.md (pagegotourl-options)
This option is fairly general so it should be okay to use for other cases
as well.
However, 'beforeScreenshot' could be used instead, but proposed approach seems
more definite and reliable
As additional further improvement, these `goto` options might be exposed to
consumber as well