selenium-standalone icon indicating copy to clipboard operation
selenium-standalone copied to clipboard

Missing "selenium-standalone/.selenium/chromedriver/2.21-x64-chromedriver"

Open wzhscript opened this issue 10 years ago • 5 comments

after installing selenium-standalone by "npm install selenium-standalone --save" when I run "selenium-standalone start", I got the error msg bellow:

selenium-standalone start

/Users/wzhscript/Documents/Development/tmp/crawler/node_modules/selenium-standalone/bin/selenium-standalone:56
        throw err;
        ^

Error: Missing /Users/wzhscript/Documents/Development/tmp/crawler/node_modules/selenium-standalone/.selenium/chromedriver/2.21-x64-chromedriver
    at /Users/wzhscript/Documents/Development/tmp/crawler/node_modules/selenium-standalone/lib/check-paths-existence.js:15:20
    at FSReqWrap.cb [as oncomplete] (fs.js:216:19)

It seems the ".selenium" directory is missing, is there something wrong?

wzhscript avatar Apr 27 '16 01:04 wzhscript

After I manually downloaded 2.21-x64-chromedriver and 2.50.1-server.jar, it's working now.

wzhscript avatar Apr 27 '16 02:04 wzhscript

Did you also run the selenium-standalone install step that is listed in the README?

stephenash avatar Apr 27 '16 19:04 stephenash

@stephenash I didn't notice that... thx,this will be much more easy.

wzhscript avatar Apr 28 '16 02:04 wzhscript

I did run the install, and now /node_modules/selenium-standalone/.selenium/selenium-server/3.6.0-server.jar is throwing the error. So much time wasted to these things that should be included without redundant installation processes.

Jtech42 avatar Nov 01 '17 18:11 Jtech42

So much time wasted to these things that should be included without redundant installation processes.

I agree, I initially created selenium-standalone to simplify things. But in the end that's just a wrapper on top of normal selenium things: http://www.seleniumhq.org/

Try to first install everything manually, and if it works then move on with standalone, if it fails, stays with the manual way. Thanks.

vvo avatar Nov 16 '17 16:11 vvo