puppeteer-autoscroll-down icon indicating copy to clipboard operation
puppeteer-autoscroll-down copied to clipboard

div autoscroll

Open raymanrt opened this issue 2 years ago • 1 comments

Hi, I would like to know if I can use this library to scroll down of a single div inside a web page.

For example the left column of google maps (reviews panel): https://www.google.com/maps/place/Amici+Miei/@45.0668589,7.6596322,15z/data=!4m7!3m6!1s0x47886d116a3e887d:0x19aeff5affec07a5!8m2!3d45.0667877!4d7.6683395!9m1!1b1

raymanrt avatar Apr 11 '22 09:04 raymanrt

Hey! @raymanrt At this moment, no it is not possible. But it looks like nice enhancement.

We can add third optional parameter (container) to scroll function. Would you like to make a PR?

mbalabash avatar Apr 12 '22 12:04 mbalabash