Can not load "IE", it is not registered! error message on Karma

Dor Cohen picture Dor Cohen · Nov 4, 2013 · Viewed 14.3k times · Source

I'm using karma to run my js tests on multiple browsers. the test works on Chrome & Firefox but I can't activate them on IE.

I'm getting the following error message:

Can not load "IE", it is not registered! Perhaps you are missing some plugin?

On my config file

SET CHROME_BIN=c:\Program Files (x86)\Google\Chrome\Application\chrome.exe  
SET FIREFOX_BIN=C:\Program Files (x86)\Mozilla Firefox\firefox.exe  
SET IE_BIN=C:\Program Files\Internet Explorer\iexplore.exe  

I also tried this

SET IE_BIN=C:\Program Files (86)\Internet Explorer\iexplore.exe  

I already installed karma-ie-launcher.

Can you help me?

Answer

LanderV picture LanderV · Mar 5, 2014

In the configuration file for your project (e.g. karma.config.js), check if you have the plugins listed

plugins : [
    'karma-junit-reporter',
    'karma-chrome-launcher',
    'karma-firefox-launcher',
    'karma-opera-launcher',
    'karma-ie-launcher',
    'karma-jasmine'
    ],