Posts

Showing posts from July, 2017

How to handle vertical & Horizontal Autoscroll using selenium webdriver.

Handling Auto scroll with selenium Webdriver is very easy just copy & paste the below script and it's done... JavascriptExecutor jse = (JavascriptExecutor)driver; jse.executeScript("window.scrollBy(0,700)"); Note: Where "0" handle Horizontal scroll &  "700" handle Vertical scroll.