title: Handle save as dialog box by selenium web driver in java
body: <p>I'm Trying to save a Html Page using Selenium script in java which perform following operations</p>
  
  <ol>
  <li>open the web page.</li>
  <li>fire a right click event.</li>
  <li>click on save as html option.</li>
  </ol>
  
  <p>Now problem is when script click on save as html option it shows a pop-up to save html.</p>
  
  <p>I already set default option for download in Firefox but when i run the script it keep showing me pop-up again and again what i need is:-</p>
  
  <ol>
  <li>when Firefox shows a save as dialog box then it'll fire an enter event so that it can save html by using Selenium script.</li>
  </ol>