common_browser.schemas.data.state
Protected, explicit browser storage snapshots.
Classes
StorageSnapshot
Bases: BaseModel
A versioned storage product, not proof of login or a complete profile.
Normal serialization masks the body. export explicitly reveals a fresh
dictionary for an authorized store or a newly created browser context.
Fields and properties declared here; inherited members belong to the bases above.
engine
engine: strfeatures
Read-only property.
features: frozenset[str]Declared storage features; neither sessionStorage nor a full profile.
includes_indexed_db
includes_indexed_db: bool = Falseorigins
Read-only property.
origins: tuple[str, ...]Storage origins, excluding the separately scoped cookie domains.
payload
payload: SecretStr = Field(repr=False)sdk_version
sdk_version: str | None = Noneversion
version: Literal[1] = 1export
def export() -> dict[str, Any]from_storage
@classmethoddef from_storage(data: dict[str, Any], *, engine: str, sdk_version: str | None = None, includes_indexed_db: bool = False) -> StorageSnapshot