Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium scroll element into view inside overflow python

element = d.find_element_by_xpath("//span[.='Most popular']")
d.execute_script("return arguments[0].scrollIntoView();", element)
Source by blog.likewise.org #
 
PREVIOUS NEXT
Tagged: #selenium #scroll #element #view #overflow #python
ADD COMMENT
Topic
Name
6+5 =