Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Why does karma-runner try to open a browser? #937

elgs opened this Issue · 4 comments

2 participants


I'm running karma-running with Jasmine in Webstorm 7.0. Whenever I run the test, a browser is opened. Now if I close the browser, and try to run the tests again. An error message says something like this:

/usr/local/bin/node /Applications/ --karmaPackageDir=/usr/local/lib/node_modules/karma --serverPort=9876 --urlRoot=/
Testing started at 2:38 AM ...
No captured browser, open http://localhost:9876/

Process finished with exit code 0

I just want to test some nodejs functions. I don't think they have anything to do with a browser. Why does karma-runner bother to open a browser?



@davidlinse thanks. It's interesting I saw karma-runner in some older version of Webstorm didn't bring out any browser, maybe the karma-runner's version was also older. If you look at this link: , drag to about 1:15, and you will see what I meant.

What I need is really a simple test runner. I appreciate if you would recommend another test-runner for jasmine to me.



I tried jasmine-node just now. It seems to be exactly what I wanted. However, I still want to use karma-runner, as it has very good integration with Webstorm. I really cannot figure out why karma-runner has to launch a browser.

@elgs elgs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.