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
This API request returns comprehensive information of all browser workers you’ve created.
320
+
321
+
```http
322
+
GET /workers
323
+
```
324
+
Example request:
325
+
```bash
326
+
curl -u "username:access_key" -X GET https://api.browserstack.com/5/workers
327
+
```
328
+
329
+
Example response:
330
+
```javascript
331
+
[{
332
+
"id":"<workerId>",
333
+
"status":"running",
334
+
"os":"OS X",
335
+
"os_version":"Mojave",
336
+
"browser":"chrome",
337
+
"browser_version":"75.0",
338
+
"real_mobile":null,
339
+
"device":null,
340
+
"browser_url":"<dashboard_url_of_the_session>",
341
+
"sessionId":"<sessionId>"
342
+
}]
343
+
```
344
+
318
345
## Terminating a Browser Worker
319
346
320
347
Use this method to terminate a worker. Useful if you set the worker up to run indefinitely or if you've received all the information needed and you want to save on credit time.
0 commit comments