Re:Firefox 56 supports headless mode on Windows
by jgraham on Thursday June 22, 2017 @11:12AM
(#14612773)
Would people find it helpful if I add a `headless` capability to `moz:firefoxOptions` in geckodriver so that passing in `{capabilities: {alwaysMatch: {moz:firefoxOptions:{headless: true}}}}` when starting a session will start the browser in headless mode, if supported? This doesn't seem like something that's compelex enough to warrant a whole blogpost to explain how to get it working.
Re:Firefox 56 supports headless mode on Windows
by jgraham on Thursday June 22, 2017 @11:15AM
(#14612804)
Oh, apparently there's already a flag you can pass to the binary to enable headless mode, and geckodriver already supports setting those, so adding a separate option seems unnecessary. I thought it was just an environment variable.
I would imagine the same approach could be used here with minimal changes.