Storage

Get Storage

Fetches stored data from multiple browser storage systems based on the requested storage type. Supports filtered or full retrieval of cookies, key-based or full dumps of localStorage and sessionStorage, cache inspection, and structured IndexedDB queries for databases, object stores, or individual records. Returns the requested data as JSON to the native application.

NOTE

Parameter Cookies LocalStorage SessionStorage Cache Storage IndexedDB
Domain action.Domain (implicit current origin) (implicit current origin) (implicit current origin) (unused, origin-scoped)
Path action.Path (cookie path) (unused) (unused) (unused) action.Path (database name)
StoreName (unused) (unused) (unused) action.StoreName (cache name) action.StoreName (object store)
Key action.Key (cookie name) action.Key action.Key action.Key (cache name / request) action.Key (record key)
Wildcard allowed? Domain, Path, Key Key only Key only StoreName, Key Path, StoreName, Key

Examples

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.GetStorage(WebsiteStorageType storage type, string domain, string path, string key, string storeName);

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.GetStorage(WebsiteStorageType.localStorage).WithStorageDomain("ebay.com").WithStorageKey("u_sclid").Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.GetStorage(string storageType, string sessionId, string domain, string storeName, string path, string key);

REST Client: Direct REST/HTTP client

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.GetStorage).WithStorageType(WebsiteStorageType.localStorage).WithStorageDomain("ebay.com").WithStorageKey("u_sclid").Execute();

💬 Ask GPAL