stable (1.2) stable RC (1.3) latest (tip-of-tree) v8-inspector (node) Home
Domains
Accessibility Animation ApplicationCache Audits Browser CSS CacheStorage Console DOM DOMDebugger DOMSnapshot DOMStorage Database Debugger DeviceOrientation Emulation HeadlessExperimental HeapProfiler IO IndexedDB Input Inspector LayerTree Log Memory Network Overlay Page Performance Profiler Runtime Schema Security ServiceWorker Storage SystemInfo Target Tethering Tracing
Chrome DevTools Protocol Viewer - latest (tip-of-tree)

DOMStorage Domain

Query and modify DOM storage.

Experimental

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.domStorageItemUpdated

Parameters
storageId
StorageId
key
string
oldValue
string
newValue
string

DOMStorage.domStorageItemsCleared

Parameters
storageId
StorageId

Types

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).

Item

DOM Storage item.

Type: array