Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selenium_port option doesn't work #1962

Closed
Deep27 opened this issue Dec 27, 2018 · 1 comment
Closed

selenium_port option doesn't work #1962

Deep27 opened this issue Dec 27, 2018 · 1 comment
Assignees
Labels

Comments

@Deep27
Copy link

Deep27 commented Dec 27, 2018

I'm trying to connect to Selenium server with this config:

{
  "src_folders": [
    "./app_5_0/src/test/tests/"
  ],
  "output_folder": "reports",
  "custom_commands_path": "./test/commands/",
  "custom_assertions_path": "./test/assertions/",
  "page_objects_path": [
    "./app_5_0/src/test/page_objects/"
  ],
  "globals_path": "./test/globals.js",
  "webdriver": {
    "start_process": false
  },
  "test_settings": {
    "default": {
      "skip_testcases_on_fail": false,
      "selenium_host": "yyy.com",
      "default_path_prefix": "/wd/hub",
      "selenium_port": 80,
      "launch_url": "http://zzz.zzz.zzz.zzz:port",
      "desiredCapabilities": {
        "browserName": "chrome",
        "version": "71.0",
        "name": "Nightwatch (CSS)",
        "enableVNC": true,
        "acceptSslCerts": true,
        "acceptInsecureCerts": true,
        "javascriptEnabled": true
      }
    }
  }
}

And I get the next output:

An occurred error while retrieving a new session: "connect EHOSTUNREACH xxx.xxx.xxx.xxx:4444" at Socket.socketErrorListener (_http_client.js:358:9)
POST http://xxx.com:4444 /wd/hub/session - EHOSTUNREACH

Despite the fact that I set "selenium_port" to 80, it tries to connect to port 4444.

@beatfactor
Copy link
Member

Please have a look at the contributing guidelines for submitting an issue.

@beatfactor beatfactor added the bug label Dec 29, 2018
@beatfactor beatfactor self-assigned this Dec 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants