Firefox 4 with watir webdriver: Need help using helperApps.neverAsk to save CSV without prompting
问题 I learned how to use Firefox 4 with watir and webdriver (on Win7 x64), setting profile items. Example: profile = Selenium::WebDriver::Firefox::Profile.new profile["browser.download.useDownloadDir"] = true profile["browser.download.dir"] = 'D:\\FirefoxDownloads' profile["browser.helperApps.neverAsk.saveToDisk"] = "application/csv" driver = Selenium::WebDriver.for :firefox, :profile => profile browser = Watir::Browser.new(driver) What I try to do with the example below, is setting CSV files to