Closed Bug 1459472 Opened 6 years ago Closed 5 years ago

Headless screenshot hangs with some sites.

Categories

(Firefox :: Headless, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1526822

People

(Reporter: fabrice, Unassigned)

Details

STR:
run `firefox --headless --window-size=800,600 --screenshot test.png https://nike.com`

Expected: Just do a screenshot!

Observed: firefox never returns.

I don't know which heuristic is used to know when to take the screenshot but it looks like at least this site doesn't trigger it. Maybe a fallback like "take whatever is displayed N seconds after page load" would be enough.
I still see this bug. I suspect it needs to have component=headless to actually be seen by the headless folks.
Component: Shell Integration → Headless

I still see this bug.

$ firefox -screenshot https://developer.mozilla.com &
[2] 7345
*** You are running in headless mode.
$ sleep 60 && kill 7345
[2] terminated firefox -screenshot https://developer.mozilla.com

Same, screenshot command from https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Headless_mode#Taking_screenshots hangs
Firefox snap on Ubuntu 18.10

Will this be fixed by bug 1522989 ?

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.