Синтаксис методов Scrollby ()
executeScript("window.scrollBy(x-pixels,y-pixels)");
Cooking_Master
executeScript("window.scrollBy(x-pixels,y-pixels)");
js.executeScript("window.scrollTo(0, document.body.scrollHeight)");
js.executeScript("arguments[0].scrollIntoView();",Element );