scrollUpJS

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