Chrome DevTools Protocol

Methods

DOMStorage.clear

parameters
storageId
StorageId

DOMStorage.disable

Disables storage tracking, prevents storage events from being sent to the client.

DOMStorage.enable

Enables storage tracking, storage events will now be delivered to the client.

DOMStorage.getDOMStorageItems

parameters
storageId
StorageId
Return Object
entries
array[ Item ]

DOMStorage.removeDOMStorageItem

parameters
storageId
StorageId
key
string

DOMStorage.setDOMStorageItem

parameters
storageId
StorageId
key
string
value
string

Events

DOMStorage.domStorageItemAdded

parameters
storageId
StorageId
key
string
newValue
string

DOMStorage.domStorageItemRemoved

parameters
storageId
StorageId
key
string

DOMStorage.domStorageItemsCleared

parameters
storageId
StorageId

DOMStorage.domStorageItemUpdated

parameters
storageId
StorageId
key
string
oldValue
string
newValue
string

Types

DOMStorage.Item

DOM Storage item.

Type: array

DOMStorage.StorageId

DOM Storage identifier.

Type: object

properties
securityOrigin
string

Security origin for the storage.

isLocalStorage
boolean

Whether the storage is local storage (not session storage).