The current storage state of the page, including cookies, local storage, and IndexedDB data. This is a snapshot of the current state and can be used for session persistence or transfer.

Definition

storageState: StorageState

Returns

StorageState

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

Usage

This field is available on the Page object. Use it to query page information and content.