Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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

Doesn't do screenshot in headless mode

  • 2 replies
  • 2 have this problem
  • 4 views
  • Last reply by cor-el

more options

I'm trying to do a screenshot with `firefox -screenshot test.jpg firefox.com`. I have the message `*** You are running in headless mode.` but nothing else. I continues to run and the image isn't created.

I have Firefox 58.0.2.

I'm trying to do a screenshot with `firefox -screenshot test.jpg firefox.com`. I have the message `*** You are running in headless mode.` but nothing else. I continues to run and the image isn't created. I have Firefox 58.0.2.

Chosen solution

Hi please update or compile as no idea what you are using as this says Firefox 60 on Linux so I have no idea. Version 59 was released yesterday with fixes and more for Screenshots as per : https://www.mozilla.org/en-US/firefox/59.0/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=whatsnew

Please let us know if this solved your issue or if need further assistance.

Read this answer in context 👍 0

All Replies (2)

more options

Chosen Solution

Hi please update or compile as no idea what you are using as this says Firefox 60 on Linux so I have no idea. Version 59 was released yesterday with fixes and more for Screenshots as per : https://www.mozilla.org/en-US/firefox/59.0/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=whatsnew

Please let us know if this solved your issue or if need further assistance.

more options

See also:

If the screenshot isn't saved then Firefox might be trying to save the screenshot to a directory where you do not have write access.

Modified by cor-el