title: Mouse scroll down using Selenium WebDriver (a.k.a. Selenium 2.0) - JAVA
body: <p>I am trying to do a mouse scroll in my automation testing (selenium webdriver). My page have loads of data where it take time to load all the datum. </p>
  
  <p>My Requirement:
  I have a consolidated table with set of datum, where those records are displayed from the set of values that get displayed in the bottom of my page.</p>
  
  <p>I am validating whether both the values are equal, for that I need the page to be completely scrolled to evaluate the same.</p>
  
  <p>I used the below code:</p>
  
  <pre><code>Javascript jse = (Javascript)driver;
  jse.executescript("scroll(0, 9000)");
  </code></pre>
  
  <p>This doesn't help it scrolled only half of the datum so my test get fail.</p>
  
  <p>Suggestions please...</p>