0

我跑来npm install gulp-protractor --save-dev在我的项目中安装量角器及其要求。

根据这个文档(https://github.com/mllrsohn/gulp-protractor),我应该找到'./node_modules/protractor/selenium/selenium-server-standalone-2.45.0.jar'. 但是在我安装完所有东西之后,那个selenium-server-standalone-xxx.jar文件就找不到了。即使在我运行之后npm install protractor,它也不会出现。

这是我的文件node_modules/protractor

在此处输入图像描述

我在这里想念什么?我使用 Linux Ubuntu 16.04,节点 6.9.1(通过 nvm)

4

1 回答 1

0

你需要安装 webdriver,你可以从这个链接找到说明 https://github.com/angular/protractor#appendix-a-setting-up-a-standalone-selenium-server

于 2016-12-02T04:18:23.400 回答