i want to fill out a form with xpath but if i use the scroll down function driver.execute_script("window.scrollTo(0, 1080);") he dont find the xpath email = driver.find_element_by_xpath('//*[@id="email"]') anymore.
driver.execute_script("window.scrollTo(0, 1080);")
email = driver.find_element_by_xpath('//*[@id="email"]')
If i omit the function it finds the xpath
1.4m articles
1.4m replys
5 comments
57.0k users