Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

How to make FIREFOX save all files without asking (no pop-up)

  • 1 Antwort
  • 1 hat dieses Problem
  • 58 Aufrufe
  • Letzte Antwort von pieras2

more options

Hi,

I want Firefox to save files without asking. I need it for E2E test automation, recentyl something has to change in update because even in GUI I don't see an option to remember my choice. In case of E2E framework I had a setting which was working but now stopped to work:

desiredCapabilities: {

               browserName: 'firefox',
               alwaysMatch: {
                   'moz:firefoxOptions': {
                       prefs : {
                           "browser.helperApps.neverAsk.saveToDisk": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
                           "browser.download.folderList": 2,
                           "browser.download.dir": downloadsFirefoxPath,
                           "browser.download.lastDir": downloadsFirefoxPath
                       },
                       args: []
                   }
               }
           },

How to do it today?

Hi, I want Firefox to save files without asking. I need it for E2E test automation, recentyl something has to change in update because even in GUI I don't see an option to remember my choice. In case of E2E framework I had a setting which was working but now stopped to work: desiredCapabilities: { browserName: 'firefox', alwaysMatch: { 'moz:firefoxOptions': { prefs : { "browser.helperApps.neverAsk.saveToDisk": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "browser.download.folderList": 2, "browser.download.dir": downloadsFirefoxPath, "browser.download.lastDir": downloadsFirefoxPath }, args: [] } } }, How to do it today?

Ausgewählte Lösung

Well, I guess I did something wrong - for XLSX it does work. I mislead the file type. It's a pitty I cannot delete this question :/

Diese Antwort im Kontext lesen 👍 0

Alle Antworten (1)

more options

Ausgewählte Lösung

Well, I guess I did something wrong - for XLSX it does work. I mislead the file type. It's a pitty I cannot delete this question :/