Stop the Browser Grid
By passing the Grid ID or name of the required browser grid to the stop_grid() SDK method, you can terminate all executions and stop the browser grid.
Using the Grid ID
You can pass the Grid ID of the required browser grid to the stop_grid() SDK method, to stop the grid, and terminate all its executions. The grid instance used in the following snippet is the component reference.
grid_terminate = grid.stop_grid(3970000000005013) # stop the grid using the Grid ID
Using the Grid’s Name
You can pass the name of the required browser grid to the stop_grid() SDK method, to stop the grid, and terminate all its executions. The grid instance used in the following snippet is the component reference.
grid_terminate = grid.stop_grid("Selenium_Grid") # stop the grid using the name of the grid
Example of Expected Response
{
"status": "success",
"data": true
}
Last Updated 2026-09-08 16:37:33 +0530 IST
Yes
No
Send your feedback to us