← Back to Runtime domain
Runtime.queryObjects
No description available.
Domain: Runtime
stable
Parameters
| Name | Type | Description |
prototypeObjectId | RemoteObjectId | Identifier of the prototype to return objects for. |
objectGroup (optional) | string | Symbolic group name that can be used to release the results. |
Returns
| Name | Type | Description |
objects | RemoteObject | Array with objects. |
Example Request
{
"id": 1,
"method": "Runtime.queryObjects",
"params": {
"prototypeObjectId": "prototypeObjectId-value"
}
}
Example Response
{
"id": 1,
"result": {
"objects": "objects-value"
}
}
Usage in Node.js
const result = await send('Runtime.queryObjects', {"prototypeObjectId": "prototypeObjectId-value"});
console.log(result);
// {"objects": "objects-value"}