安装了Nide.js,Eclipse Oxygen 3和量角器。 更新了Webdrivr-manager并开始 当运行javascript项目时,显示以下错误。
[22:04:20] I/launcher - Running 1 instances of WebDriver
[22:04:20] I/direct - Using ChromeDriver directly...
[22:04:20] E/direct - Error code: 135
[22:04:20] E/direct - Error message: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.
[22:04:20] E/direct - Error: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.
at Direct.getNewDriver (D:\Protractor\Workspace\Test1\protractor\built\driverProviders\direct.js:63:31)
at Runner.createBrowser (D:\Protractor\Workspace\Test1\protractor\built\runner.js:195:43)
at q.then.then (D:\Protractor\Workspace\Test1\protractor\built\runner.js:339:29)
at _fulfilled (D:\Protractor\Workspace\Test1\protractor\node_modules\q\q.js:834:54)
at D:\Protractor\Workspace\Test1\protractor\node_modules\q\q.js:863:30
at Promise.promise.promiseDispatch (D:\Protractor\Workspace\Test1\protractor\node_modules\q\q.js:796:13)
at D:\Protractor\Workspace\Test1\protractor\node_modules\q\q.js:556:49
at runSingle (D:\Protractor\Workspace\Test1\protractor\node_modules\q\q.js:137:13)
at flush (D:\Protractor\Workspace\Test1\protractor\node_modules\q\q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
[22:04:20] E/launcher - Process exited with error code 135
测试案例代码:
Config.js
如何正确运行程序?