Answers for "scroll down selenium chrome python"

1

scroll down selenium python

browser.execute_script("window.scrollTo(0,document.body.scrollHeight)")
Posted by: Guest on June-12-2021
0

selenium webdriver scroll down python

while driver.find_element_by_tag_name('div'):
    driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
    Divs=driver.find_element_by_tag_name('div').text
    if 'End of Results' in Divs:
        print 'end'
        break
    else:
        continue
Posted by: Guest on May-23-2020

Code answers related to "scroll down selenium chrome python"

Python Answers by Framework

Browse Popular Code Answers by Language