← Back to Storage domain

Storage.trackIndexedDBForStorageKey

Registers storage key to be notified when an update occurs to its IndexedDB.

Domain: Storage experimental

Parameters

NameTypeDescription
storageKeystringStorage key.

Example Request

{
  "id": 1,
  "method": "Storage.trackIndexedDBForStorageKey",
  "params": {
    "storageKey": "storageKey-value"
  }
}

Example Response

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

Usage in Node.js

const result = await send('Storage.trackIndexedDBForStorageKey', {"storageKey": "storageKey-value"});
console.log(result);