Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 796
Hassan Avatar asked Dec 01 '25 00:12

Hassan


1 Answers

  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.
like image 190
Rahul Vig Avatar answered Dec 03 '25 14:12

Rahul Vig



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!