alvarcarto/url-to-pdf-api

scrollPage bug

Open

#52 opened on Jan 2, 2018

 (2 comments) (0 reactions) (0 assignees)HTML (778 forks)batch import
PR welcomehelp wanted

Repository metrics

Stars
 (7,103 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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!

Contributor guide