Attached is the picture of the scroll bar that I would like to move.
I already have a method that is not working. could you please tell me what's wrong?
public static void ScrollPageToEnd(this IWebDriver Driver)
{
var maxScrollY = Driver.Scripts().ExecuteScript("return document.documentElement.scrollHeight;");
Driver.Scripts().ExecuteScript("window.scrollTo(0," + maxScrollY + ")");
}