Get a Specific Browser Grid
You can get the details of a specific browser grid in your project by passing the Grid ID or grid name to the getGrid() SDK method.
Info: To use this SDK method, you need intialize it with Admin scope. You can learn more about this requirement from this section
Using the Grid ID
You can pass the Grid ID of the required browser grid to the get_grid() SDK method. The grid instance used in the following snippet is the component reference.
copy
grid_details = grid.get_grid(3970000000005013) # get grid details using the Grid ID
print(grid_details)
Using the Grid’s Name
You can pass the name of the required browser grid to the get_grid() SDK method. The grid instance used in the following snippet is the component reference.
copy
grid_details = grid.get_grid("Selenium_Grid") # get grid details using the name of the grid
print(grid_details)
Example of Expected Response
copy
{
"status": "success",
"data": {
"id": "3970000000006058",
"name": "Selenium_Grid",
"memory": 1024,
"browser_version": {
"chrome_version": "137.0.7515.155",
"firefox_version": "136.0.4"
},
"created_time": "Sep 10, 2025 07:04 PM",
"modified_time": "Sep 24, 2025 11:55 AM",
"api_key_modified_time": "1757511270919",
"created_by": {
"zuid": "111734674",
"is_confirmed": false,
"email_id": "emmy@zylker.com",
"first_name": "Headless",
"last_name": "2",
"user_type": "SuperAdmin"
},
"modified_by": {
"zuid": "111734674",
"is_confirmed": false,
"email_id": "emmy@zylker.com",
"first_name": "Headless",
"last_name": "2",
"user_type": "SuperAdmin"
},
"project_details": {
"project_name": "Project-Rainfall",
"id": "38119000000022053",
"project_type": "Live"
},
"endpoint_type": 1,
"max_session_count": 1,
"max_nodes_count": 10,
"max_concurrent_count": 10,
"config_type": 1
}
}
Last Updated 2025-12-16 10:31:39 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit