Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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
8+4 =