Controlling scroll rate in Selenium Java? -
is there way control rate scroll down in java?
public static void scrollpage(webdriver driver) {     javascriptexecutor executor = (javascriptexecutor) driver;     executor.executescript("window.scrollto(0, document.body.scrollheight);"); } this have scrolls bottom automatically.
you can divide scrollheight 100 , use loop scroll step step small delays between steps.
Comments
Post a Comment