@Yarush, Yes it is possible to take screenshot of a webpage using EventFiringWebDriver in Selenium:
EventFiringWebDriver eDriver=new EventFiringWebDriver(driver);
File srcFile = eDriver.getScreenshotAs(OutputType.FILE);
FileUtils.copyFile(srcFile, new File(imgPath));