接收WebDriverError:尝试从CentOS量角器脚本时没有系统TLS

时间:2018-04-09 06:59:34

标签: protractor

我在CentOS上使用 节点verison v6.14.1,量角器版本5.3.1。

完整消息:

  

E / launcher - No System TLS [06:43:05] E / launcher - WebDriverError:No   系统TLS       at WebDriverError(/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:27:5)       at Object.checkLegacyResponse(/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:546:15)       at parseHttpResponse(/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:509:13)       at doSend.then.response(/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:441:30)       at process._tickCallback(internal / process / next_tick.js:109:7)From:Task:WebDriver.createSession()       在Function.createSession(/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:769:24)       在Function.createSession(/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/chrome.js:761:15)       at createDriver(/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:170:33)       在Builder.build(/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:626:16)       在Local.getNewDriver(/usr/lib/node_modules/protractor/built/driverProviders/driverProvider.js:53:33)       在Runner.createBrowser(/usr/lib/node_modules/protractor/built/runner.js:195:43)       在q.then.then(/usr/lib/node_modules/protractor/built/runner.js:339:29)       在_fulfilled(/usr/lib/node_modules/protractor/node_modules/q/q.js:834:54)       at self.promiseDispatch.done(/usr/lib/node_modules/protractor/node_modules/q/q.js:863:30)       在Promise.promise.promiseDispatch(/usr/lib/node_modules/protractor/node_modules/q/q.js:796:13)   [06:43:05] E / launcher - 进程已退出,错误代码为199 sh-4.2#vi   config.js

0 个答案:

没有答案