Slow scrolling down the page using Selenium

I needed it for the same issue , i needed to scrape a social media website

y = 1000
for timer in range(0,50):
     driver.execute_script("window.scrollTo(0, "+str(y)+")")
     y += 1000  
     time.sleep(1)

the sleep every 1000 is to allow to load

Leave a Comment