Hi All,
I am facing issue while running my gitlab.yml file error:
/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar -port 4444
[15:17:51] I/start - seleniumProcess.pid: undefined
[15:17:51] W/start - Selenium Standalone server encountered an error: Error: spawn Javascript ENOENT
$ npm run build
which is failing my webdriver test with error:
[15:17:55] I/launcher - Running 1 instances of WebDriver
[15:17:55] I/hosted - Using the selenium server at http://127.0.0.1:4444/wd/hub
[15:17:55] E/runner - Unable to start a WebDriver session.
[15:17:55] E/launcher - Error: Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest. (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:238:15)
at ClientRequest.emit (events.js:182:13)
Could you please help me out how to set the path of javascript inside gitlab. I am using windows 10 and (protractor-cucumber-typescript project).
Please help me out