How to scroll a webpage using selenium web driver in c #? Currently i am not able to scroll down a web page .I don't need to know how to scroll an element.
-
Can i show it in JAVA?Kishan Patel– Kishan Patel2016-05-26 04:46:17 +00:00Commented May 26, 2016 at 4:46
-
Hi Kishan, if its using javascript, it wont be useful because i am using selenium with c#.Sriram N– Sriram N2016-05-26 04:53:28 +00:00Commented May 26, 2016 at 4:53
-
File scrFile = (driver.getScreenshotAs(OutputType.FILE)); FileUtils.copyFile(scrFile, new File("d:\\Selenium\\screenshot2.png")); Use this lines and screenshot is ready.Kishan Patel– Kishan Patel2016-05-26 04:59:00 +00:00Commented May 26, 2016 at 4:59
Add a comment
|