Open Bug 1614206 Opened 4 years ago Updated 7 months ago

Headless --screenshot doesn't work with local files

Categories

(Firefox :: Headless, defect)

72 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jake2607, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

Run something like:
"C:\Program Files\Mozilla Firefox\firefox.exe" --screenshot file:///D:/test.html

and for comparison, run something like:
"C:\Program Files\Mozilla Firefox\firefox.exe" --screenshot https://www.google.com

Actual results:

The first line, attempting to screenshot a local file in headless mode, does not write a screenshot and does not output any error message.

The second line, attempting to screenshot a live website (google) works as intended, writing a screenshot.png file in the working directory.

Expected results:

Both lines should create a screenshot of the page, regardless of whether it's a local file or remote website.

This stack overflow post (not mine) is from another user also experiencing this bug: https://stackoverflow.com/questions/59691455/mozilla-firefox-headless-screenshot-not-working-for-local-html-files

Component: Untriaged → Screenshots

The priority flag is not set for this bug.
:ianbicking, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ianb)
Component: Screenshots → Headless

Redirect a needinfo that is pending on an inactive user to the triage owner.
:nalexander, since the bug has recent activity, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ianb) → needinfo?(nalexander)
Severity: normal → S3

Setting priority is no longer part of current triage processes, clearing needinfo.

Flags: needinfo?(nalexander)
You need to log in before you can comment on or make changes to this bug.