Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scroll #element #python #selenium
ADD COMMENT
Topic
Name
4+5 =