title: How to disable 'Download Complete' notification using selenium Webdriver
body: <p>I am using selenium to automate a functionality on my webpage.
  I am downloading certain files using selenium. But as soon  as a download completes, I can see a pop up notification on my web page that the download is complete.</p>
  
  <p><a href="http://i.stack.imgur.com/VkX3U.png" rel="nofollow">enter image description here</a></p>
  
  <p>Kindly suggest using selenium, I can I remove this pop up notification?</p>
  
  <p>I am setting the following firefox profile:</p>
  
  <pre><code>FirefoxProfile firefoxProfile = new FirefoxProfile();
      firefoxProfile.setPreference("browser.download.folderList", 2);
      firefoxProfile.setPreference("browser.download.manager.showWhenStarting", false);
      firefoxProfile.setPreference("browser.download.manager.useWindow", false);
      firefoxProfile.setPreference("browser.download.manager.showAlertOnComplete", false);
      firefoxProfile.setPreference("browser.download.manager.closeWhenDone", true);
      firefoxProfile.setPreference("browser.download.dir", downlodeLocation);
   firefoxProfile.setPreference("browser.helperApps.neverAsk.openFile",
          "application/bin,application/binary,text/comma-separated-values,application/octet-stream,text/csv,application/x-msexcel,application/excel,application/x-excel,application/vnd.ms-excel,text/html,text/plain,application/csv,text/anytext");
   firefoxProfile.setPreference("browser.helperApps.neverAsk.saveToDisk",
       "application/bin,application/binary,text/comma-separated-values,application/octet-stream,text/csv,application/x-msexcel,application/excel,application/x-excel,application/vnd.ms-excel,text/html,text/plain,application/csv,text/anytext");   
  </code></pre>
  
  <p>Any help will be appreciable.</p>
  
  <p>Thanks</p>