title: How to scroll down in table with selenium python?
body: <p>
  check the scrrenshot please 
  <a href="https://www.screencast.com/t/dNgVy1xWON" rel="nofollow noreferrer">https://www.screencast.com/t/dNgVy1xWON</a></p>
  
  <p><a href="https://www.screencast.com/t/6P0MUQoO" rel="nofollow noreferrer">https://www.screencast.com/t/6P0MUQoO</a></p>
  
  <pre><code>PAGE = 1
  SCROLL_PAUSE_TIME = 4
  
  # Get scroll height
  last_height = driver.execute_script("return document.body.scrollHeight")
  
  while True:
      print("Scrolling to page %s" % PAGE)
  
      # Scroll down to bottom
      # if time.time() // 9 % 5 == 0:
      #     print("window scrolling to bottom")
      #     break
  
      driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
  
      # Wait to load page
      time.sleep(SCROLL_PAUSE_TIME)
  
      # Calculate new scroll height and compare with last scroll height
      new_height = driver.execute_script("return document.body.scrollHeight")
      if new_height == last_height:
          break
  
      last_height = new_height
      PAGE += 1
  </code></pre>
  
  <p>i need the scroll down but this stay not doing anything </p>