Hassan
Hassan

Reputation: 349

how to configure Protractor and Selenium Server?

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??

Upvotes: 3

Views: 4931

Answers (1)

Rahul Vig
Rahul Vig

Reputation: 736

  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.

Upvotes: 5

Related Questions