Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@podtserkovskiy
Copy link
Member

Fixes #36

Hi, now I can't provide a web interface, but here is some API that can help you to get the information that you need.

That looks like this:

curl localhost:4444/grid/status -sS | jq "."
{
  "node_list": [
    {
      "key": "10.9.241.207:6666",
      "type": "persistent",
      "address": "10.9.241.207:6666",
      "status": "available",
      "session_id": "",
      "updated": 1572215422,
      "registered": 1572215422,
      "capabilities_list": [
        {
          "browserName": "firefox",
          "marionette": true,
          "maxInstances": 5,
          "platform": "MAC",
          "platformName": "MAC",
          "seleniumProtocol": "WebDriver",
          "server:CONFIG_UUID": "d4771bc0-6349-47be-8f10-f3198e5cd12f"
        },
        {
          "browserName": "chrome",
          "maxInstances": 5,
          "platform": "MAC",
          "platformName": "MAC",
          "seleniumProtocol": "WebDriver",
          "server:CONFIG_UUID": "25cb856d-913c-4f45-ae88-91a76d82e712"
        },
        {
          "browserName": "safari",
          "maxInstances": 1,
          "platform": "MAC",
          "platformName": "MAC",
          "seleniumProtocol": "WebDriver",
          "server:CONFIG_UUID": "5756e9c5-6b3a-4578-afa6-b029d00ad32e",
          "technologyPreview": false
        }
      ]
    }
  ],
  "config": {
    "logger": {
      "level": "debug"
    },
    "db": {
      "implementation": "local",
      "connection": ""
    },
    "grid": {
      "client_type": "selenium",
      "port": 4444,
      "strategy_list": [
        {
          "params": null,
          "type": "persistent",
          "limit": 0,
          "node_list": null
        }
      ],
      "busy_node_duration": "15m",
      "reserved_node_duration": "5m"
    }
  }
}

work

@codecov-io
Copy link

codecov-io commented Oct 27, 2019

Codecov Report

Merging #41 into master will decrease coverage by 0.45%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
- Coverage   63.67%   63.22%   -0.46%     
==========================================
  Files          21       21              
  Lines         881      881              
==========================================
- Hits          561      557       -4     
- Misses        277      280       +3     
- Partials       43       44       +1
Impacted Files Coverage Δ
pool/node.go 83.33% <ø> (ø) ⬆️
pool/strategy/kubernetes/strategy.go 69.23% <0%> (-7.7%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 208d0ad...9233c37. Read the comment docs.

Copy link
Member

@andrskom andrskom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А ты не помнишь когда мы решили использовать снейк кейс, что с нами было не таки? )))

@podtserkovskiy
Copy link
Member Author

Не помню, возможно это было связано, с тем что IDE дефолтно генерирует снейк кейс 🤷‍♀️

@podtserkovskiy podtserkovskiy merged commit c008bbc into master Oct 28, 2019
@podtserkovskiy podtserkovskiy deleted the grid_status_method branch October 28, 2019 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI Grid console

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.