how to configure Protractor and Selenium Server?

2019-05-11 19:46发布

I have install JDK,Protractor and webdriver-manage by following this :

Protractor install tutorial

but when i run this: webdriver-manager start gets in my cmd seleniumProcess.

pid: 4648 Error: Invalid or corrupt jarfile C:\Users\HP\AppData\Roaming\npm\node_modules\p rotractor\selenium\selenium-server-standalone-2.45.0.jar Selenium Standalone has exited with code 1

how can i configure this??

1条回答
做个烂人
2楼-- · 2019-05-11 19:49
  1. Remove previous instance (.jar file) of web driver from the location- C:\Users\HP\AppData\Roaming\npm\node_modules\p rotractor\selenium
  2. Download the selenium-server-standalone-2.45.0 from http://www.seleniumhq.org/download/ and replace the .jar file.
查看更多
登录 后发表回答