title: Saving Screenshot file
body: <p>My code for saving screenshot file is:</p>
  
  <pre><code>File scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
  FileUtils.copyFile(scrFile, new File("c:\\screenshots\\"+Filename+".jpg"));
  </code></pre>
  
  <p><strong>The Error is :</strong></p>
  
  <blockquote>
    <p>The method copyFile (File, File)is undefined for the type FileUtil  <P></p>
  </blockquote>
  
  <p>I use an <code>EventFiringWebDriver</code> . Any ideas on this.</p>