Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

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
  • 85 views
  • Last reply by cor-el

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)

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.

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