-1

I'm trying to run some functional tests but i got this error.

Starting selenium server... There was an error while starting the Selenium server:

Error: Unable to access jarfile 
./node_modules/selenium-standalone/.selenium/selenium-server/3.0.1-server.jar

This's my configuration in my nightwatch.json file

"selenium": {
"start_process": true,
"start_session" : true,
"host": "127.0.0.1",
"port": 4444,
"log_path": "./test/e2e/",
"server_path": "./node_modules/selenium-standalone/.selenium/selenium-server/3.0.1-server.jar",
"cli_args" : {
  "webdriver.chrome.driver" : "./node_modules/selenium-standalone/.selenium/chromedriver/2.27-x64-chromedriver"
 }
}
Franco Manzur
  • 373
  • 1
  • 7
  • 19
  • Try running night watch with the --verbose flag set. That should get you more information about the error. – QualiT Mar 14 '17 at 05:37

1 Answers1

-1

Check your server_path. Is the file in that location or in some other? Is that the actual Selenium jar & version? Adjust as necessary.

QualiT
  • 1,934
  • 2
  • 18
  • 37