driver.get('http://www.quora.com/Andrew-Delikat/followers')
element = WebDriverWait(driver, 2).until(EC.presence_of_element_located((By
    .XPATH,
    '//li[contains(@class, "FollowersNavItem")]//span[@class="profile_count"]'
    )))
followers_count = int(element.text.replace(',', ''))
print(followers_count)
for _ in range(0, followers_count / followers_per_page + 1):
    driver.execute_script('window.scrollTo(0, 10000);')
time.sleep(2)
Scrolling web page using selenium python webdriver