Answers for "when scrolling in selenium how do you make sure it reads all the elements"

1

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)
Posted by: Guest on April-22-2020

Code answers related to "when scrolling in selenium how do you make sure it reads all the elements"

Python Answers by Framework

Browse Popular Code Answers by Language