scrollDownJS

public void scrollDownJS() {
    JavascriptExecutor Scrool = (JavascriptExecutor)getDriver();
    Scrool.executeScript("window.scrollBy(0,300)", "");
}
What are your feelings
Scroll al inicio