how can I manually install selenium webdriver-manager?

Leeuwtje picture Leeuwtje · Jul 15, 2015 · Viewed 9.6k times · Source

I am trying to install protractor. When I call webdriver-manager start I get:

Selenium Standalone is not present. Install with webdriver-manager update --sta
dalone

I can't install this with webdriver-manager update because of connection issues so I I manually installed chromedriver.exe and selenium-server-standalone-2.46.0 in a folder that is in my windows path. Am I missing any other files?

Update: selenium is running now but getting this error when I try to run protractor conf.js:

09:52:37.911 ERROR - org.apache.commons.exec.ExecuteException: Execution failed
(Exit value: -559038737. Caused by java.io.IOException: Cannot run program "C:\P
rogramData\work\nodejs\npm\node_modules\protractor\node_modules\chromedriver\bin
\chromedriver" (in directory "."): CreateProcess error=193, %1 is not a valid Wi
n32 application)

Answer

Sergey Teplyakov picture Sergey Teplyakov · Jul 15, 2015

you can download selenium-server-standalone.jar and run such command:

java -jar selenium-server-standalone.jar