Error retrieving a new session from the selenium server

This is a generic error, there could be many sit­u­a­tions which could lead to this.

For me, when I updated my Google Chrome and sud­denly my automa­tion I hit this error. Here is how I solved it.


  • Get the lat­est chromedriver (

  • Make sure your automa­tion frame­work uses the lat­est chromedriver

For projects using node.js, nightwatch.js, run­ning on Mac OS use the fol­low­ing steps

  • Update the package.json
  • npm update





You may also like...