Open GoogleCodeExporter opened 8 years ago
You can try to go to the end of the page by using the keys:
driver.sendKeys Keys.END
Or you could use some JavaScript:
driver.executeScript "window.scrollBy(200,0)"
Original comment by florentbr
on 4 Feb 2015 at 2:21
Thanks florentbr. Apologies for not updating the thread, I got the solution
while browsing other sites.
driver.executeScript "window.scrollBy(0, 150);" has worked for me
sendkeys Keys.END did not work and even if it works, the content i am trying to
click might not be at the end of the page.
Original comment by santhosh...@gmail.com
on 4 Feb 2015 at 7:37
Original issue reported on code.google.com by
santhosh...@gmail.com
on 30 Jan 2015 at 8:00