DOMStorageDomain

Query and modify DOM storage.

Official doc

Functions

Link copied to clipboard
suspend fun clear(input: ClearRequest): ClearResponse
suspend fun clear(storageId: StorageId): ClearResponse

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun disable(): DisableResponse

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

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun enable(): EnableResponse

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

Link copied to clipboard
fun events(): Flow<DOMStorageEvent>

Subscribes to all events related to this domain.

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun setDOMStorageItem(storageId: StorageId, key: String, value: String): SetDOMStorageItemResponse

(undocumented in the protocol definition)