title: Selenium scroll to the bottom does not work properly
body: <p>I'm trying to scroll to the bottom of the web page but it scrolls only once and stay on that position and there's a big part of the page left.</p>
  
  <p>I use this: <code>_inst.driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")</code></p>
  
  <p>Do you know where could be the problem? </p>
  
  <p>EDIT: Is there a way to tell the selenium that it has to scroll to the absolute bottom of the page or that it should do the scroll certain amount of times? For example 5?</p>