← Back to Runtime domain

Runtime.queryObjects

No description available.

Domain: Runtime stable

Parameters

NameTypeDescription
prototypeObjectIdRemoteObjectIdIdentifier of the prototype to return objects for.
objectGroup (optional)stringSymbolic group name that can be used to release the results.

Returns

NameTypeDescription
objectsRemoteObjectArray 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"}