Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

ఇంకా తెలుసుకోండి

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

  • 2 ప్రత్యుత్తరాలు
  • 0 ఈ సమస్యలు కలిగి ఉన్నాయి
  • 1 వీక్షణ
  • చివరి సమాధానమిచ్చినది deathholes

more options

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.

ప్రత్యుత్తరాలన్నీ (2)

more options

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

firefox > log.txt
more options

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