Error retrieving a new session from the selenium server

This is a generic error, there could be many situations which could lead to this.

For me, when I updated my Google Chrome and suddenly my automation I hit this error. Here is how I solved it.


  • Get the latest chromedriver (

  • Make sure your automation framework uses the latest chromedriver

For projects using node.js, nightwatch.js, running on Mac OS use the following steps

  • Update the package.json
  • npm update





You may also like...

Leave a Reply

Your email address will not be published.