Answers for "scroll down bottom 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
0

scroll to bottom in selenium python

ele =browser.find_element_by_tag_name('body')
ele.send_keys(Keys.END)
time.sleep(3)
Posted by: Guest on February-27-2021

Code answers related to "scroll down bottom in selenium python"

Python Answers by Framework

Browse Popular Code Answers by Language