Re:Firefox 56 supports headless mode on Windows
by jmull on Thursday June 22, 2017 @08:28AM
(#14611721)
I think the goal is to have a browser that renders web pages and is fully interactive, but just doesn't render to screen and is interactive through an API rather than input devices.
So it's going to need a UI rendering and interaction library.
Re:Firefox 56 supports headless mode on Windows
by mintplant on Thursday June 22, 2017 @11:21AM
(#14612838)
You don't actually need to have X11 etc running to use headless mode, the libraries are just necessary for linking as there aren't separate headless and non-headless Firefox binaries shipped. The possibility of dynamically loading these libraries to remove this dependency is being looked into.
Re:Firefox 56 supports headless mode on Windows
by jxn on Thursday June 22, 2017 @08:30AM
(#14611734)
Upvote the bug! https://bugzilla.mozilla.org/show_bug.cgi?id=1372998
I doubt it'll happen anytime too soon, but Mozilla should see the community interest.
Re:Firefox 56 supports headless mode on Windows
by TheRealPomax on Thursday June 22, 2017 @12:53PM
(#14613553)
As minor counterpoint: Firefox is not strictly speaking developed "by Mozilla" but by the community. Mozilla's the curator, and has a fair bit of staff also working on it, but vast swathes of the codebase are community contributions. If you need FF to do a thing, and you think you have good enough ideas to contribute the solution there, then rather than upvoting a bug, or bumping it to ask what's happening, be the person to make the happening happen =)
Re:Firefox 56 supports headless mode on Windows
by jxn on Thursday June 22, 2017 @04:01PM
(#14614877)
Of course, but bug upvotes don't hurt that cause, either. I have a few reasons that I work on open source projects. First, to fix a bug or add a feature that affects me directly. Second, to learn something new. If I'm just doing the latter, I'd prefer to tackle a bug with more interest/votes, to help others out while I'm at it and increase the odds of finding a willing reviewer.
Re:Firefox 56 supports headless mode on Windows
by baldfat on Thursday June 22, 2017 @08:12AM
(#14611654)
If your running this on a server sure great. On desktop that is next to pointless due to the need for those dependencies for everything besides cure apps.
Re:Firefox 56 supports headless mode on Windows
by ryanlol on Thursday June 22, 2017 @01:25PM
(#14613809)
>If your running this on a server sure great.
Which is certainly the obvious primary use case for headless browsers.
Re:Firefox 56 supports headless mode on Windows
by baldfat on Friday June 23, 2017 @07:41AM
(#14618442)
I actually have to run it on my desktop due to non-primary use cases.
Re:Firefox 56 supports headless mode on Windows
by swiley on Thursday June 22, 2017 @07:53AM
(#14611562)
This got down voted a lot but GTK is really a pretty painful dependency in many situations (especially gtk3)
Not that Firefox itself is particularly lightweight.
Poke me when there are no X11/Qt/GTK/whatever dependencies at all - that is headless.
https://packages.debian.org/stretch/firefox-esr