I am currently working on setting up test automation using WebdriverIO. After successfully installing all the necessary packages with selenium-standalone, I encountered an issue when trying to start the server.
https://i.sstatic.net/7K1O5.png
Upon running the command "
selenium-standalone start
" I received the following error message:
11:46:41.260 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358
11:46:41.373 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444
2019-02-12 11:46:41.429:INFO::main: Logging initialized @411ms to org.seleniumhq.jetty9.util.log.StdErrLog
11:46:41.705 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet
11:46:42.103 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
C:\dev\v5\flatsite-qaautomation\node_modules\selenium-standalone\bin\selenium-standalone:79
throw err;
^
Error: Unable to connect to selenium
at Timeout.hasStarted [as _onTimeout] (C:\dev\v5\flatsite-qaautomation\node_modules\selenium-standalone\lib\check-started.js:17:10)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5)
If anyone has any insights or solutions to this problem, your help would be greatly appreciated.