Get Details of a Node
By passing the Grid ID or name of the required browser grid to the getGridNodes() SDK method, you can get the details of a node in that grid.
Using the Grid ID
You can pass the Grid ID of the required browser grid to the getGridNodes() SDK method, to get its node details. The grid instance used in the following snippet is the component reference.
Ensure you import the following packages
import com.zc.component.smartbrowz.*;
ZCBrowserGrid nodeDetails = grid.getGridNodes(3970000000005013l); // get details of the node using its Grid ID
Using the Grid’s Name
You can pass the name of the required browser grid to the getGridNodes() SDK method, to get its node details. The grid instance used in the following snippet is the component reference.
Ensure you import the following packages
import com.zc.component.smartbrowz.*;
ZCBrowserGrid gridDetails = grid.getGridNodes("Selenium_Grid"); // get details of the node using the grid's name
Last Updated 2026-08-28 11:56:16 +0530 IST
Yes
No
Send your feedback to us