← Back to Runtime domain

Runtime.releaseObject

Releases remote object with given id.

Domain: Runtime stable

Parameters

NameTypeDescription
objectIdRemoteObjectIdIdentifier of the object to release.

Example Request

{
  "id": 1,
  "method": "Runtime.releaseObject",
  "params": {
    "objectId": "{\"injectedScriptId\":1,\"id\":1}"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Runtime.releaseObject', {"objectId": "{\"injectedScriptId\":1,\"id\":1}"});
console.log(result);