Answers for "scroll and click in selenium python"

4

scroll to element python selenium

from selenium.webdriver.common.action_chains import ActionChains

element = driver.find_element_by_id("my-id")

actions = ActionChains(driver)
actions.move_to_element(element).perform()
Posted by: Guest on March-06-2020
0

scroll down selenium python

browser.execute_script("window.scrollTo(0,document.body.scrollHeight)")
Posted by: Guest on June-12-2021

Code answers related to "scroll and click in selenium python"

Python Answers by Framework

Browse Popular Code Answers by Language