Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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“.

Weitere Informationen

How do I get the logs generated on the console to redirect to a file?

  • 2 Antworten
  • 0 haben dieses Problem
  • 47 Aufrufe
  • Letzte Antwort von deathholes

I want to run some automation tests with the firefox browser. With this, I want to get the logs which is normally shown on the console to be redirected to a separate file. How can I do this in firefox? Google chrome has a similar functionality when you open chrome with "--enable-logging --v=1" parameters.

I want to run some automation tests with the firefox browser. With this, I want to get the logs which is normally shown on the console to be redirected to a separate file. How can I do this in firefox? Google chrome has a similar functionality when you open chrome with "--enable-logging --v=1" parameters.

Alle Antworten (2)

You can redirect the output to a file with an angle bracket:

firefox > log.txt

Hi @zeroknight, This method isn't working. it is not redirecting the console logs to the file.