Unable to run any simple tests using nightwatch #2655
Unanswered
ravikumar2000
asked this question in
Help Needed
Replies: 1 comment 5 replies
-
|
@ravikumar2000 do you think it's possible for you to use the Discussions section for issues like this one in the future? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Sample test
sampleTest.js
Run with command
Verbose output
debug.log
Configuration
nightwatch.json
Your Environment
nightwatch --versionnpm --version}
[opc@oci-vm-ravigr nightwatchjs-e2e]$ npx nightwatch tests/google/google.js
Starting selenium server... There was an error while starting the Selenium server:
07:55:18.887 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.10.0', revision: '176b4a9'
07:55:18.888 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444
2021-04-19 07:55:19.009:INFO::main: Logging initialized @396ms to org.seleniumhq.jetty9.util.log.StdErrLog
07:55:19.176 ERROR [SeleniumServer.boot] - Port 4444 is busy, please choose a free port and specify it using -port option
[opc@oci-vm-ravigr nightwatchjs-e2e]$ cat selenium-debug.log
<script src="/assets/jquery-3.1.1.min.js" type="text/javascript"></script> <script src="/assets/displayhelpservlet.js" type="text/javascript"></script> <script type="text/javascript"> var json = Object.freeze('{"consoleLink":"/wd/hub","type":"Standalone","hCode":818251545,"version":"3.10.0","class":"org.openqa.grid.web.servlet.DisplayHelpServlet$DisplayHelpServletConfig"}'); </script>07:49:30.002 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.10.0', revision: '176b4a9'
07:49:30.004 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 3000
2021-04-19 07:49:30.124:INFO::main: Logging initialized @420MS to org.seleniumhq.jetty9.util.log.StdErrLog
07:49:30.297 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 3000
07:49:30.640 INFO [ActiveSessionFactory.apply] - Capabilities are: Capabilities {acceptSslCerts: true, browserName: chrome, chromeOptions: {args: [--headless, --window-size=1920,1080]}, javascriptEnabled: true, name: Google / Google, use_xpath: false}
07:49:30.641 INFO [ActiveSessionFactory.lambda$apply$11] - Matched factory org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.chrome.ChromeDriverService)
Starting ChromeDriver 2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926) on port 13370
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[1618818570.670][SEVERE]: bind() failed: Cannot assign requested address (99)
[opc@oci-vm-ravigr nightwatchjs-e2e]$ curl localhost:4444
Selenium v.
Whoops! The URL specified routes to this help page.
For more information about Selenium please see the docs and/or visit the wiki. Or perhaps you are looking for the Selenium console.
Happy Testing!
|
yarn --version| VERSION ||
node --version| VERSION |Beta Was this translation helpful? Give feedback.
All reactions