Is there any easy / automated way to scroll down in a page using RSelenium
?
I use a delay in a page in which I should scroll down to see the content.
remDr$navigate("http://www.pageyouprefer.com/")
Sys.sleep(35)
Is there any easy / automated way to scroll down in a page using RSelenium
?
I use a delay in a page in which I should scroll down to see the content.
remDr$navigate("http://www.pageyouprefer.com/")
Sys.sleep(35)
You can scroll by javascript execute.
Try this one.
WebDriver driver = new FirefoxDriver();
JavascriptExecutor js = (JavascriptExecutor)driver;
jse.executeScript("window.scrollBy(0,200)", "");