Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium scroll to element

element = driver.find_element(By.XPATH, "Whatever xpath you want")
driver.execute_script("return arguments[0].scrollIntoView();", element)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selenium #scroll #element
ADD COMMENT
Topic
Name
4+5 =