DEV Community

Discussion on: Scraping HTML with PHP Node and Puppeteer

Collapse
 
dahousecat profile image
Felix Eve

I too am interested in how to simulate scrolling to the bottom of the page. Was there a simple solution?

Collapse
 
alanmbarr profile image
Alan Barr

I don't have a great simple solution for this. Something I've done is finding an element on the page that triggers pagination when scrolled to and using a javascript scrollto function. I haven't spent a ton of time with this in PHP there might be better options today or using a different wrapper for puppeteer.