Reputation: 3
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.
Upvotes: 0
Views: 3889
Reputation: 618
What actually you can do is, you can check the element till where you want to scroll down and perform an action,
WebElement element = driver.findElement(By.id("youElementID"));
Actions act = new Actions(driver);
act.moveToElement(element);
act.perform();
Upvotes: 2