0
Q:

python selenium scroll all down

# selenium python to scroll to the bottom of a page
driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
2
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()
3

New to Communities?

Join the community