You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| version | string | 节点的版本(对于 Selenium,这将与 Selenium 版本号匹配) |
145
110
146
-
The Node Status is a JSON blob with the following fields:
111
+
建议在所有字段中填写值。
147
112
148
-
| Name | Type | Description |
149
-
|------|------|-------------|
150
-
| availability | string | A string which is one of `up`, `draining`, or `down`. The important one is `draining`, which indicates that no new sessions should be sent to the Node, and once the last session on it closes, the Node will exit or restart. |
151
-
| externalUrl | string | The URI that the other components in the Grid should connect to. |
152
-
| lastSessionCreated | integer | The epoch timestamp of when the last session was created on this Node. The Distributor will attempt to send new sessions to the Node that has been idle longest if all other things are equal. |
153
-
| maxSessionCount | integer | Although a session count can be inferred by counting the number of available slots, this integer value is used to determine the maximum number of sessions that should be running simultaneously on the Node before it is considered "full". |
154
-
| nodeId | string | A UUID used to identify this instance of the Node. |
155
-
| osInfo | object | An object with `arch`, `name`, and `version` fields. This is used by the Grid UI and the GraphQL queries. |
156
-
| slots | array | An array of Slot objects (described below) |
157
-
| version | string | The version of the Node (for Selenium, this will match the Selenium version number) |
158
-
159
-
It is recommended to put values in all fields.
160
-
161
-
### The Slot Object
162
-
163
-
The Slot object represents a single slot within a Node. A "slot" is
164
-
where a single session may be run. It is possible that a Node will
165
-
have more slots than it can run concurrently. For example, a node may
166
-
be able to run up 10 sessions, but they could be any combination of
167
-
Chrome, Edge, or Firefox; in this case, the Node would indicate a "max
168
-
session count" of 10, and then also say it has 10 slots for Chrome, 10
| lastStarted | string |When the slot last had a session started, in ISO-8601 format|
175
-
| stereotype | object |The minimal set of [capabilities][capabilities] this slot will match against. A minimal example is `{"browserName": "firefox"}`|
176
-
| session | object |The Session object (see below)|
| capabilities | object |The actual capabilities provided by the session. Will match the return value from the [new session][new session] command|
185
-
| startTime | string | The start time of the session in ISO-8601 format|
186
-
| stereotype | object |The minimal set of [capabilities][capabilities] this slot will match against. A minimal example is `{"browserName": "firefox"}`|
187
-
| uri | string |The URI used by the Node to communicate with the session|
130
+
| capabilities | object |会话提供的实际功能。将与 new session 命令的返回值匹配。|
0 commit comments