I am testing my web application using selenium, I am able to take screenshot but it only captures the area visible on screen (doesn’t scroll the page)
My requirement is to get the screenshot of entire page.
I am using code to capture screenshot is:
var ss = driver.GetScreenshot();
ss.SaveAsFile("ss.png",System.Drawing.Imaging.ImageFormat.Png);