title: Take multiple screen shots in a single word file in Selenium webdriver
body: <p>Can we capture multiple screen shots in a single file in Selenium WebDriver ?
  My project requirement is to capture all (input &amp; output) screen shots in a single file.</p>
  
  <p>I know how to capture individual screen shot in .jpg format.</p>
  
  <pre><code>WebDriver driver = new FirefoxDriver
  driver.get("http://www.google.com/");
  File scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
  FileUtils.copyFile(scrFile, new File("c:\\tmp\\screenshot.png"));
  </code></pre>
  
  <p>Any suggestions ?
  Thanks,</p>
  
  <p>Chintan</p>