> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# StorageState

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

## Definition

```graphql theme={null}
object StorageState {
  cookies: [JSONObject]!
  localStorage: [JSONObject]!
  indexedDB: [JSONObject]!
}
```

## Fields

### `cookies`

[\[JSONObject\]!](/reference/graphql/scalars/jsonobject)

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

### `localStorage`

[\[JSONObject\]!](/reference/graphql/scalars/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\]!](/reference/graphql/scalars/jsonobject)

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