Skip to main content
Application storage. area: cookies (list/set/delete), local or session storage (list/set/remove/clear), indexeddb (databases/stores/data/put/clearStore/deleteDatabase), cache (list/entries/delete), usage (quota and per-type usage), clear (explicitly named storage types for one origin). Origin defaults to the page origin.
The tool names stay the same across browsers. See browser selection and Firefox and Zen exceptions before choosing an operation.

Parameters

integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
enum
required
One of: cookies, local, session, indexeddb, cache, usage, clear.
string
See area description; default list
string
 
string
cookies: URL to list/set for
string
 
string
 
string
 
 
string
 
string
 
string
 
any
indexeddb put: value
integer
 
integer
 
string
 
string
 
string
cache delete: request URL
enum[]
clear: which storage types Items: cookies, local_storage, session_storage, indexeddb, cache_storage, service_workers, websql, shader_cache, all.

Example

Cookies for the page origin
Set a localStorage key
Read an IndexedDB store
Clear named storage types for the origin