title: How to download any file and save it to the desired location using Selenium Webdriver
body: <p>I have to perform following task using Selenium Webdriver given below.</p>
  
  <ol>
  <li>Click on any link/button that start downloading any file (filetype may be anything image, pdf, jar etc)</li>
  <li>Click on the "Save" on popup if appeared (e.g. in case of <a href="http://selenium.googlecode.com/files/selenium-server-standalone-2.33.0.jar" rel="noreferrer">http://selenium.googlecode.com/files/selenium-server-standalone-2.33.0.jar</a>)</li>
  <li>Give the desired location to save that file.</li>
  </ol>
  
  <p>Can anyone share, how can we implement this using Java?</p>