1

I am trying to run Nightwatch.js tests via Jenkins and I am getting this specific error:

Error: spawn chromedriver_win32/chromedriver.exe EACCES

This is my current Nightwatch.conf.js configuration:

module.exports = {
  "src_folders": ["tests"],
  "webdriver": {
    "start_process": true,
    "server_path": "chromedriver_win32/chromedriver.exe",
    "port": 9515
  },

My chromedriver_win32 folder only contains:

chromedriver.exe

Any help is appreciated!

I have already tried changing the chromedriver path in the Nightwatch.conf.js to make sure that it is correctly pointing to the chromedriver.exe folder, but still nothing resolved.

  • The machine (Jenkins agent) where your tests run is Windows OS and same version Chrome as your local is installed on it? – yong Mar 18 '23 at 01:47

0 Answers0