Answers for "HOW TO SCROLL TO A PERTICULAR HEIGHT IN SELENIUM 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 "HOW TO SCROLL TO A PERTICULAR HEIGHT IN SELENIUM PYTHON"

Python Answers by Framework

Browse Popular Code Answers by Language