@@ -16,7 +16,7 @@ Grid status provides the current state of the Grid. It consists of details about
1616For every Node, the status includes information regarding Node availability, sessions, and slots.
1717
1818``` shell
19- cURL GET ' http://localhost:4444/status'
19+ curl GET ' http://localhost:4444/status'
2020```
2121
2222### Delete session
@@ -25,7 +25,7 @@ Deleting the session terminates the WebDriver session, quits the driver and remo
2525Any request using the removed session-id or reusing the driver instance will throw an error.
2626
2727``` shell
28- cURL --request DELETE ' http://localhost:4444/session/<session-id>'
28+ curl --request DELETE ' http://localhost:4444/session/<session-id>'
2929```
3030
3131### Which URL should I use?
@@ -42,7 +42,7 @@ Default URL for all the above modes is http://localhost:4444.
4242
4343### Remove Node
4444
45- To remove the Node from the Grid, use the cURL command enlisted below.
45+ To remove the Node from the Grid, use the curl command enlisted below.
4646It does not stop any ongoing session running on that Node.
4747The Node continues running as it is unless explicitly killed.
4848The Distributor is no longer aware of the Node and hence any matching new session request
@@ -52,15 +52,15 @@ In the Standalone mode, the Distributor URL is the Standalone server address.
5252
5353In the Hub-Node mode, the Distributor URL is the Hub server address.
5454``` shell
55- cURL --request DELETE ' http://localhost:4444/se/grid/distributor/node/<node-id>' --header ' X-REGISTRATION-SECRET: <secret> '
55+ curl --request DELETE ' http://localhost:4444/se/grid/distributor/node/<node-id>' --header ' X-REGISTRATION-SECRET: <secret> '
5656```
5757In the fully distributed mode, the URL is the Router server address.
5858``` shell
59- cURL --request DELETE ' http://localhost:4444/se/grid/distributor/node/<node-id>' --header ' X-REGISTRATION-SECRET: <secret>'
59+ curl --request DELETE ' http://localhost:4444/se/grid/distributor/node/<node-id>' --header ' X-REGISTRATION-SECRET: <secret>'
6060```
6161If no registration secret has been configured while setting up the Grid, then use
6262``` shell
63- cURL --request DELETE ' http://<Router-URL>/se/grid/distributor/node/<node-id>' --header ' X-REGISTRATION-SECRET;'
63+ curl --request DELETE ' http://<Router-URL>/se/grid/distributor/node/<node-id>' --header ' X-REGISTRATION-SECRET;'
6464```
6565
6666### Drain Node
@@ -73,15 +73,15 @@ In the Standalone mode, the Distributor URL is the Standalone server address.
7373
7474In the Hub-Node mode, the Distributor URL is the Hub server address.
7575``` shell
76- cURL --request POST ' http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header ' X-REGISTRATION-SECRET: <secret> '
76+ curl --request POST ' http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header ' X-REGISTRATION-SECRET: <secret> '
7777```
7878In the fully distributed mode, the URL is the Router server address.
7979``` shell
80- cURL --request POST ' http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header ' X-REGISTRATION-SECRET: <secret>'
80+ curl --request POST ' http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header ' X-REGISTRATION-SECRET: <secret>'
8181```
8282If no registration secret has been configured while setting up the Grid, then use
8383``` shell
84- cURL --request POST ' http://<Router-URL>/se/grid/distributor/node/<node-id>/drain' --header ' X-REGISTRATION-SECRET;'
84+ curl --request POST ' http://<Router-URL>/se/grid/distributor/node/<node-id>/drain' --header ' X-REGISTRATION-SECRET;'
8585```
8686
8787## Node
@@ -94,37 +94,37 @@ In case of multiple Nodes, use [Grid status](#grid-status) to get all Node detai
9494### Status
9595
9696The Node status is essentially a health-check for the Node.
97- Distributor pings the node status are regular intervals and updates the Grid Model accordingly.
97+ Distributor pings the node status at regular intervals and updates the Grid Model accordingly.
9898The status includes information regarding availability, sessions, and slots.
9999
100100``` shell
101- cURL --request GET ' http://localhost:5555/status'
101+ curl --request GET ' http://localhost:5555/status'
102102```
103103
104104### Drain
105105
106106Distributor passes the [ drain] ( #drain-node ) command to the appropriate node identified by the node-id.
107- To drain the Node directly, use the cuRL command enlisted below.
107+ To drain the Node directly, use the curl command enlisted below.
108108Both endpoints are valid and produce the same result. Drain finishes the ongoing sessions before stopping the Node.
109109
110110``` shell
111- cURL --request POST ' http://localhost:5555/se/grid/node/drain' --header ' X-REGISTRATION-SECRET: <secret>'
111+ curl --request POST ' http://localhost:5555/se/grid/node/drain' --header ' X-REGISTRATION-SECRET: <secret>'
112112```
113113If no registration secret has been configured while setting up the Grid, then use
114114``` shell
115- cURL --request POST ' http://<node-URL>/se/grid/node/drain' --header ' X-REGISTRATION-SECRET;'
115+ curl --request POST ' http://<node-URL>/se/grid/node/drain' --header ' X-REGISTRATION-SECRET;'
116116```
117117
118118### Check session owner
119119
120- To check if a session belongs to a Node, use the cURL command enlisted below.
120+ To check if a session belongs to a Node, use the curl command enlisted below.
121121
122122``` shell
123- cURL --request GET ' http://localhost:5555/se/grid/node/owner/<session-id>' --header ' X-REGISTRATION-SECRET: <secret>'
123+ curl --request GET ' http://localhost:5555/se/grid/node/owner/<session-id>' --header ' X-REGISTRATION-SECRET: <secret>'
124124```
125125If no registration secret has been configured while setting up the Grid, then use
126126``` shell
127- cURL --request GET ' http://<node-URL>/se/grid/node/owner/<session-id>' --header ' X-REGISTRATION-SECRET;'
127+ curl --request GET ' http://<node-URL>/se/grid/node/owner/<session-id>' --header ' X-REGISTRATION-SECRET;'
128128```
129129
130130It will return true if the session belongs to the Node else it will return false.
@@ -135,19 +135,19 @@ Deleting the session terminates the WebDriver session, quits the driver and remo
135135Any request using the removed session-id or reusing the driver instance will throw an error.
136136
137137``` shell
138- cURL --request DELETE ' http://localhost:5555/se/grid/node/session/<session-id>' --header ' X-REGISTRATION-SECRET: <secret>'
138+ curl --request DELETE ' http://localhost:5555/se/grid/node/session/<session-id>' --header ' X-REGISTRATION-SECRET: <secret>'
139139```
140140If no registration secret has been configured while setting up the Grid, then use
141141``` shell
142- cURL --request DELETE ' http://<node-URL>/se/grid/node/session/<session-id>' --header ' X-REGISTRATION-SECRET;'
142+ curl --request DELETE ' http://<node-URL>/se/grid/node/session/<session-id>' --header ' X-REGISTRATION-SECRET;'
143143```
144144
145145## New Session Queue
146146
147147### Clear New Session Queue
148148
149149New Session Request Queue holds the new session requests.
150- To clear the queue, use the cURL command enlisted below.
150+ To clear the queue, use the curl command enlisted below.
151151Clearing the queue rejects all the requests in the queue. For each such request, the server returns an error response to the respective client.
152152The result of the clear command is the total number of deleted requests.
153153
@@ -156,33 +156,33 @@ In the Standalone mode, the Queue URL is the Standalone server address.
156156In the Hub-Node mode, the Queue URL is the Hub server address.
157157
158158``` shell
159- cURL --request DELETE ' http://localhost:4444/se/grid/newsessionqueue/queue' --header ' X-REGISTRATION-SECRET: <secret>'
159+ curl --request DELETE ' http://localhost:4444/se/grid/newsessionqueue/queue' --header ' X-REGISTRATION-SECRET: <secret>'
160160```
161161
162162In the fully distributed mode, the Queue URL is Router server address.
163163``` shell
164- cURL --request DELETE ' http://localhost:4444/se/grid/newsessionqueue/queue' --header ' X-REGISTRATION-SECRET: <secret>'
164+ curl --request DELETE ' http://localhost:4444/se/grid/newsessionqueue/queue' --header ' X-REGISTRATION-SECRET: <secret>'
165165```
166166
167167If no registration secret has been configured while setting up the Grid, then use
168168``` shell
169- cURL --request DELETE ' http://<Router-URL>/se/grid/newsessionqueue/queue' --header ' X-REGISTRATION-SECRET;'
169+ curl --request DELETE ' http://<Router-URL>/se/grid/newsessionqueue/queue' --header ' X-REGISTRATION-SECRET;'
170170```
171171
172172### Get New Session Queue Requests
173173
174174New Session Request Queue holds the new session requests.
175- To get the current requests in the queue, use the cURL command enlisted below.
175+ To get the current requests in the queue, use the curl command enlisted below.
176176The response returns the total number of requests in the queue and the request payloads.
177177
178178In the Standalone mode, the Queue URL is the Standalone server address.
179179
180180In the Hub-Node mode, the Queue URL is the Hub server address.
181181
182182``` shell
183- cURL --request GET ' http://localhost:4444/se/grid/newsessionqueue/queue'
183+ curl --request GET ' http://localhost:4444/se/grid/newsessionqueue/queue'
184184```
185185
186186In the fully distributed mode, the Queue URL is Router server address.
187187``` shell
188- cURL --request GET ' http://localhost:4444/se/grid/newsessionqueue/queue'
188+ curl --request GET ' http://localhost:4444/se/grid/newsessionqueue/queue'
0 commit comments