How to scroll page
Hi, I am using PupperteerCrawler, how to scroll load more in handler
4 Replies
stormy-gold•3y ago
You can look at this: https://stackoverflow.com/a/53527984/710955
Stack Overflow
Puppeteer - scroll down until you can't anymore
I am in a situation where new content is created when I scroll down. The new content has a specific class name.
How can I keep scrolling down until all the elements have loaded?
In other words, I w...
itchy-amethyst•3y ago
You can use Crawlee util function (should be easier and cleaner):
https://crawlee.dev/api/puppeteer-crawler/namespace/puppeteerUtils#infiniteScroll
other-emeraldOP•3y ago
this is not working when scroll on element not all page
stormy-gold•3y ago
You can look at the link to the source code and customize it