Can not load “IE”, it is not registered! error mes

2019-03-22 18:04发布

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?

7条回答
相关推荐>>
2楼-- · 2019-03-22 18:28

I'm currently using npm to manage packages and plugins, so I don't know if the steps I followed are the same for you. I see that your question is two years old, I'm currently working on Karma 0.13.15.

Basically to solve this problem I've performed

npm install karma-ie-launcher --save-dev -save

This command can be used to download the IE launcher plugin and update karma.config.js.

You can find a list of all launchers here: https://www.npmjs.com/package/karma-ie-launcher

查看更多
登录 后发表回答