jasmine / jasmine-browser-runner

Serve and run your Jasmine specs in a browser
50 stars 25 forks source link

Added support for headless Firefox #20

Closed chadlwilson closed 2 years ago

chadlwilson commented 2 years ago

I followed the existing way it is done in Chrome to add the capabilities manually rather than using new firefox.Options().headless() etc because there doesn't seem to be an equivalent for the Chrome options.

I note that CircleCI doesn't seem to be running specific tests against firefox (and now headlessFirefox). Should we add Firefox to the below and add a firefox browser smoke test for it perhaps?

https://github.com/jasmine/jasmine-browser-runner/blob/e688cc302d313eb4bbc0c6169de2d68efb4af8ad/.circleci/config.yml#L30-L36

sgravrock commented 2 years ago

Thanks for your contribution. I'll release this soonish.