title: How to scroll down using Selenium WebDriver with Java
body: <p>I want to scroll down my web page and i m using this code to scroll page but it is not working </p>
  
  <pre><code>public ViewBasketSentToMePageObject viewSlideShare() throws InterruptedException {
  
      Thread.sleep(500l);
  
      Actions action1 =new Actions(getDriver());
      action1.keyDown(Keys.CONTROL).sendKeys(String.valueOf('\u0030')).build().perform();
  
      List&lt;WebElement&gt; function = getDriver().findElements(By.xpath("//a [@ng-click='onItemClick()']"));
      function.get(13).findElement(By.xpath("//img [@ng-src='resources/images/slideshare-icon-small.png']")).click();
  
      return getFactory().create(ViewBasketSentToMePageObject.class);
  }
  </code></pre>
  
  <p>Looking for help</p>