Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 997
Dor Cohen Avatar asked Nov 04 '13 08:11

Dor Cohen


1 Answers

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'     ], 
like image 87
LanderV Avatar answered Oct 04 '22 13:10

LanderV