Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I manually install selenium webdriver-manager?

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)
like image 919
Leeuwtje Avatar asked Oct 20 '22 07:10

Leeuwtje


1 Answers

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

java -jar selenium-server-standalone.jar

like image 61
Sergey Teplyakov Avatar answered Oct 22 '22 02:10

Sergey Teplyakov