You can scroll to the desired location using the scrollTo javascript method.
public void scrollToElement(By by) { Locatable element = (Locatable) selenium.findElement(by); Point p= element.getCoordinates().getLocationOnScreen(); JavascriptExecutor js = (JavascriptExecutor) selenium; js.executeScript("window.scrollTo(" + p.getX() + "," + (p.getY()) + ");"); }
source share