windows-firefox
Launch a fresh Firefox on Windows. See also osx-firefox
and linux-firefox
.
Example
const firefox =
API
firefox([options, ]callback)
The callback
receives an error if any, a child process and a metadata object.
Options:
uri
(string): URL to openchannel
(string): filter installed versions by release channel, e.g.nightly
version
(string): filter versions by partial (e.g.62
) or exact version. If neitherchannel
norversion
is specified, the first found version will be launched.proxy
,noProxy
andprefs
: passed tocreate-firefox-profile
headless
(boolean): Run Firefox in headless mode. Available since Firefox 56.devtools
(boolean): Start with Developer Tools opened.background
: Don't foreground the browser.
Install
With npm do:
npm install windows-firefox
Firefox needs to be installed on your system as well.
License
MIT © Vincent Weevers