I'm using Selenium Webdriver automated testing on Browserstack and when I take a screenshot on Firefox and IE, it takes the screenshot of the whole page. But as my page contains a very long list - the screenshot is too 'long' and because of that it's not a clear image and it's difficult to see if the page behaves the right way. I need it to do exact as the Chrome does: the screenshot of the viewport width and height only. Is it possible on Firefox and IE?
The code I use:
Screenshot ss = ((ITakesScreenshot)driver).GetScreenshot();
ss.SaveAsFile(imageSave, System.Drawing.Imaging.ImageFormat.Png);