Answers for "scrollin up and down using selenium in python"

2

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()
Posted by: Guest on May-05-2020

Code answers related to "scrollin up and down using selenium in python"

Python Answers by Framework

Browse Popular Code Answers by Language