Page Scroll Down does not work in Chrome | Selenium Forum
M
Posted on 22/09/2016
Hi,

protected static void pageScrollDown(final int i, final int j, final WebDriver driver) {
final JavascriptExecutor js = (JavascriptExecutor)driver;
js.executeScript("window.scrollBy(" + i + "," + j + ")");
}

the below snipped code does not work when I d page Scroll Down in Chrome Driver, is this right ?

Thanks

Regards
J

M
Replied on 23/09/2016

increase the value of j.