scroll down selenium ajva code example
Example 1: python selenium scroll all down
from selenium import webdriver
import time
browser = webdriver.Firefox()
browser.get("https://en.wikipedia.org")
browser.execute_script("window.scrollTo(0,document.body.scrollHeight)")
time.sleep(3)
browser.close()
Example 2: javascript scroll down
window.scrollTo(300, 500); //X=300 and Y=500