Open zhuang-hao-ming opened 6 years ago
There are some websites such as example using a special lazy loading strategy.
When users scroll quickly(<300ms) they do not load image. Just when users stop to look at the content they load image.
So, I think that we need another option (scrollInterval) to let user to test and decide the interval.
releated discussions:
https://github.com/GoogleChrome/puppeteer/issues/338#issuecomment-333301117
Thanks!
Good feedback. I'm open for a PR to implement this.
Simply we can use : await page.goto('URL', { waitUntil: 'networkidle0' }); this will wait until the complete page is loaded.
There are some websites such as example using a special lazy loading strategy.
When users scroll quickly(<300ms) they do not load image. Just when users stop to look at the content they load image.
So, I think that we need another option (scrollInterval) to let user to test and decide the interval.
releated discussions:
https://github.com/GoogleChrome/puppeteer/issues/338#issuecomment-333301117
Thanks!