protractor icon indicating copy to clipboard operation
protractor copied to clipboard

webdriver-manager start command throws error - 'Unable to access jarfile C:\Users\...\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\selenium-server-standalone-3.1.0.jar', Selenium Standalone has exited with code 1

Open TwinkleA opened this issue 9 years ago • 9 comments

webdriver not starting

upon executing webdriver-manager update, it shows selenium standalone and other files already exists but when I execute webdriver-manager start it throws error saying selenium standalone not found (refer to attached image)

TwinkleA avatar Feb 17 '17 07:02 TwinkleA

I don't know where you got 3.1.0 version, since latest selenium-standalone-server version is 3.0.1 Try to delete this jar file, and re-download again with webdriver-manager update

Xotabu4 avatar Feb 17 '17 11:02 Xotabu4

Hi there!

Your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.

From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!

NickTomlin avatar Feb 19 '17 15:02 NickTomlin

@Xotabu4, Yes I finally ended up re-downloading the jar and drivers using webdriver-manager start. but I don't know why that issue had occurred

TwinkleA avatar Feb 20 '17 06:02 TwinkleA

same problem here. ends up with rename "selenium-server-standalone-3.0.1.jar" to "selenium-server-standalone-3.1.0.jar" and problem resolved.

sfdcselenium01 avatar Feb 21 '17 07:02 sfdcselenium01

I have the same issue, nothing helped (after 'webdriver-manager update' new version is 3.1.0 and rename doesn't work) Os: Sierra

ValenOnish avatar Feb 26 '17 02:02 ValenOnish

exit code 1 means 'no java runtime'. The next can fix it: (just create a symlink to existed source)

sudo rm /usr/bin/java sudo ln -s /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java /usr/bin

And everything works!

ValenOnish avatar Mar 01 '17 23:03 ValenOnish

just try : webdriver-manager update then try : webdriver-manager start will work

banucres avatar Apr 26 '17 23:04 banucres

@banucres Yeah, "webdriver-manager update" command will download the missed selenium-server-standalone jar file

cbigbird avatar Aug 14 '17 02:08 cbigbird

@banucres thaw was it. Great, after update everything works as I expected. Thank you.

osiem1984 avatar Mar 12 '18 08:03 osiem1984