Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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

  • 2 ответа
  • 0 имеют эту проблему
  • 6 просмотров
  • Последний ответ от 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.