alvarcarto/url-to-pdf-api

scrollPage bug

Open

#52 opened on Jan 2, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)HTML (6,967 stars) (759 forks)batch import
PR welcomehelp wanted

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