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.

Learn More

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

  • 2 பதிலளிப்புகள்
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 6 views
  • Last reply by 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.

All Replies (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.