CDPotion.Domain.DOMStorage (cdpotion v0.1.2)

Summary

Types

DOM Storage item.

description not provided :(

DOM Storage identifier.

Functions

Parameters:

  • storage_id:description not provided :(

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

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

Parameters:

  • storage_id:description not provided :(

Parameters:

  • storage_id:description not provided :(
  • key:description not provided :(

Parameters:

  • storage_id:description not provided :(
  • key:description not provided :(
  • value:description not provided :(

Types

@type item() :: [String.t()]

DOM Storage item.

Link to this type

serialized_storage_key()

@type serialized_storage_key() :: String.t()

description not provided :(

Link to this type

storage_id()

@type storage_id() :: %{
  isLocalStorage: boolean(),
  securityOrigin: String.t() | nil,
  storageKey: serialized_storage_key() | nil
}

DOM Storage identifier.

Functions

Link to this function

clear(storage_id)

@spec clear(CDPotion.Domain.DOMStorage.StorageId) :: {String.t(), map()}

Parameters:

  • storage_id:description not provided :(
@spec disable() :: {String.t(), map()}

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

@spec enable() :: {String.t(), map()}

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

Link to this function

get_dom_storage_items(storage_id)

@spec get_dom_storage_items(CDPotion.Domain.DOMStorage.StorageId) ::
  {String.t(), map()}

Parameters:

  • storage_id:description not provided :(
Link to this function

remove_dom_storage_item(storage_id, key)

@spec remove_dom_storage_item(CDPotion.Domain.DOMStorage.StorageId, String.t()) ::
  {String.t(), map()}

Parameters:

  • storage_id:description not provided :(
  • key:description not provided :(
Link to this function

set_dom_storage_item(storage_id, key, value)

@spec set_dom_storage_item(
  CDPotion.Domain.DOMStorage.StorageId,
  String.t(),
  String.t()
) ::
  {String.t(), map()}

Parameters:

  • storage_id:description not provided :(
  • key:description not provided :(
  • value:description not provided :(