dwyl / learn-nightwatch

:last_quarter_moon_with_face: Learn how to use Nightwatch.js to easily & automatically test your web apps in *real* web browsers.
585 stars 215 forks source link

Error retrieving a new session from the selenium server #19

Closed nelsonic closed 8 years ago

nelsonic commented 8 years ago

Everything was going well on my "work" laptop, and then I tried to git clone, npm install, npm test on my "home" machine and got:

selenium-issue-on-home-mac
Error retrieving a new session from the selenium server

Connection refused! Is selenium server started?
{ state: 'unhandled error',
  sessionId: null,
  hCode: 1104154379,
  value:
   { localizedMessage: 'The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html',
     cause: null,
     suppressed: [],
     message: 'The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html',
     hCode: 807916486,
     class: 'java.lang.IllegalStateException',
     screen: null },
  class: 'org.openqa.selenium.remote.Response',
  status: 13 }

Think this might help debug it: https://groups.google.com/forum/#!msg/nightwatchjs/vSmIXUxU5qQ/f_kWtX1n_0YJ

ghost commented 6 years ago

@nelsonic what was the issue, if you remember?