Skip to content

Commit 310ed2b

Browse files
committed
Updating status payload [skip ci]
1 parent 26937d3 commit 310ed2b

File tree

1 file changed

+35
-17
lines changed

1 file changed

+35
-17
lines changed

README.md

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ current one._
203203

204204
## Using the images
205205

206-
### Example: Spawn a container for testing in Firefox ![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_24x24.png):
206+
### Example: Spawn a container for testing in Firefox ![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_24x24.png)
207207

208208
``` bash
209209
$ docker network create grid
@@ -232,27 +232,45 @@ ___
232232

233233
It is a good practice to check first if the Grid is up and ready to receive requests, this can be done by checking the `/wd/hub/status` endpoint.
234234

235-
A Grid that is ready, composed by a hub and a node, could look like this:
235+
A Grid that is ready, composed by a hub and two nodes, could look like this:
236236

237237
```json
238238
{
239-
"status": 0,
240239
"value": {
241240
"ready": true,
242-
"message": "Hub has capacity",
243-
"build": {
244-
"revision": "aacccce0",
245-
"time": "2018-08-02T20:13:22.693Z",
246-
"version": "3.14.0"
247-
},
248-
"os": {
249-
"arch": "amd64",
250-
"name": "Linux",
251-
"version": "4.9.93-linuxkit-aufs"
252-
},
253-
"java": {
254-
"version": "1.8.0_181"
255-
}
241+
"message": "Selenium Grid ready.",
242+
"nodes": [
243+
{
244+
"id": "6c0a2c59-7e99-469d-bbfc-313dc638797c",
245+
"uri": "http:\u002f\u002f172.19.0.3:5555",
246+
"maxSessions": 4,
247+
"stereotypes": [
248+
{
249+
"capabilities": {
250+
"browserName": "firefox"
251+
},
252+
"count": 4
253+
}
254+
],
255+
"sessions": [
256+
]
257+
},
258+
{
259+
"id": "26af3363-a0d8-4bd6-a854-2c7497ed64a4",
260+
"uri": "http:\u002f\u002f172.19.0.4:5555",
261+
"maxSessions": 4,
262+
"stereotypes": [
263+
{
264+
"capabilities": {
265+
"browserName": "chrome"
266+
},
267+
"count": 4
268+
}
269+
],
270+
"sessions": [
271+
]
272+
}
273+
]
256274
}
257275
}
258276
```

0 commit comments

Comments
 (0)