Represents the storage state of a page, including cookies, local storage, and IndexedDB data. This is useful for saving and restoring browsing sessions.

Definition

object StorageState {
  cookies: [JSONObject]!
  localStorage: [JSONObject]!
  indexedDB: [JSONObject]!
}

Fields

cookies: [JSONObject]!

A list of cookies, where each cookie is a JSON object representing its properties.

localStorage: [JSONObject]!

A list of local storage items. Each item is typically an object with ‘name’ and ‘value’ string properties. Example: [{ "name": "theme", "value": "dark" }]

indexedDB: [JSONObject]!

A list representing IndexedDB data. The structure is complex and database-specific, captured as serialized JSON. Example: [{ "databaseName": "myDB", "version": 1, "objectStores": [...] }]