【发布时间】:2019-03-30 01:48:06
【问题描述】:
我一直在尝试在 IE 11 上运行量角器规范,使用以下 conf.js:
multiCapabilities: [
{
'browserName': 'internet explorer',
version: 11,
'ignoreProtectedModeSettings': true
// 'idle-duration':10000,
},
}],
并添加了这个:
seleniumArgs: 'C:/Users/LJQAuser/AppData/Roaming/npm/node_modules/protractor/node_modules/webdriver-manager/selenium/IEDriverServer.exe',
并将directConnect设置为:false
但仍然显示错误:
控制台中的错误是: [12:38:42] I/local - 正在启动 selenium 独立服务器... [12:38:43] E/launcher - 错误:错误:服务器提前终止,状态为 1 在 earlyTermination.catch.e (C:\Users\LJQAuser\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\remote\index.js:252:52) 在:null:null 在 process._tickCallback (internal/process/next_tick.js:188:7)
结束报告 [12:38:43] E/launcher - 进程退出,错误代码为 100
【问题讨论】:
标签: protractor internet-explorer-11