conscious-sapphire
conscious-sapphire3y ago

How to scroll page

Hi, I am using PupperteerCrawler, how to scroll load more in handler
4 Replies
genetic-orange
genetic-orange3y ago
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...
Oleg V.
Oleg V.3y ago
You can use Crawlee util function (should be easier and cleaner): https://crawlee.dev/api/puppeteer-crawler/namespace/puppeteerUtils#infiniteScroll
conscious-sapphire
conscious-sapphireOP3y ago
this is not working when scroll on element not all page
Lukas Krivka
Lukas Krivka3y ago
You can look at the link to the source code and customize it

Did you find this page helpful?