We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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 majibu
  • 2 wana tatizo hili
  • 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

Suluhisho teule

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