Question: how to download zip file using selenium webdriver?
Answer: setPreference("plugin. disable_full_page_plugin_for_types", "application/zip"); WebDriver driver = new FirefoxDriver(firefoxProfile); I checked the MIME type of my file being downloaded is application/zip. Every time I try download the file a I get a window asking to either open the file or save it.