[Nightwatch][selenium-server] Connection Refused! Is Selenium Server Started

146 Views Asked by At

I'm using nightwatch.js to test website, When running the google.js test which comes with Nightwatch I get the error back "Connection Refused is Selenium Server started?" and, well, it is. I started it.

The error I get is: enter image description here

this is my nightwatch.json:

enter image description here

enter image description here

module ver:

node version : v14.16.0

enter image description here

1

There are 1 best solutions below

1
Vishal Shah On

This is Vishal here from the Nightwatch product team. We noticed that you are using Nightwatch version 0.9.21 whereas the latest version on the Nightwatch website is 2.2.2. Can you please try to upgrade to the latest version and let us know if the issue still persists?