Is there any automated cross-browser screenshot capturing tool?

I’m looking for an automated screenshot tool which can take screenshot of multiple pages where we can define the url, viewport size and it will navigate to those pages, capture screenshot of the entire page and save it locally.

It should be cross browser compatible (Chrome, Firefox, Internet explorer). I’ve looked at PhantomJS however, since it’s headless rendering, it doesn’t exactly match with the real browser. Nimbus, Snagit, Awesome screenshot requires manual effort.

Since I have 1000’s of page to capture, manual mode would be too time consuming. I’ve also looked at nightwatch JS which is based on webdriverIO and selenium however, it lacked option to capture full-page screenshot.

It’s possible to take a screenshot using Selenium WebDriver. Try this java sample…

WebDriver driver = new FirefoxDriver();
driver.get("http://www.example.com/");
File srcFile = (File) (((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE));)
FileUtils.copyFile(scrFile, new File("c:\\tmp\\picture.png"));