Is it possible to run karma tests with chromium browser, in order to run these karma tests on linux box which has an open source version of chrome in it?
Asked
Active
Viewed 1.1k times
25
-
2You chose the wrong answer – tread Nov 20 '14 at 06:31
1 Answers
37
You could also set the CHROME_BIN environment variable to chromium
export CHROME_BIN=/usr/bin/chromium-browser

user1067920
- 1,492
- 15
- 8
-
8
-
5This [isn't needed any more](https://github.com/karma-runner/karma-chrome-launcher/commit/46e14284ef9bd575ec88b9e62f36f81aaedd56d2). I didn't have to do it for karma-chrome-launcher 0.2.0. – z0r Aug 28 '15 at 13:27
-
this worked for me, i was able to run my test with chromium-browser while keeping my karma.conf.js option as browsers: ['Chrome'], – ArrowHead Jan 08 '17 at 13:07
-