dialog = driver.find_element_by_css_selector('div.review-dialog-list')
last_scroll_height = 0
while True:
    reviews = driver.find_elements_by_css_selector('div._ju')
driver.execute_script('arguments[0].scrollIntoView();', reviews[-1])
time.sleep(1)
scroll_height = driver.execute_script('return arguments[0].scrollHeight;',
    dialog)
if scroll_height == last_scroll_height:
    break
else:
    last_scroll_height = scroll_height
print(len(reviews))
How to scroll a div when ajax is used to load data in python selenium