diff --git a/docs/src/api/class-browsercontext.md b/docs/src/api/class-browsercontext.md index 7fa7fa369f..211074d438 100644 --- a/docs/src/api/class-browsercontext.md +++ b/docs/src/api/class-browsercontext.md @@ -1533,10 +1533,6 @@ Whether to emulate network being offline for the browser context. Returns storage state for this browser context, contains current cookies, local storage snapshot and IndexedDB snapshot. -:::note -IndexedDBs with typed arrays are currently not supported. -::: - ## async method: BrowserContext.storageState * since: v1.8 * langs: csharp, java @@ -1552,6 +1548,10 @@ IndexedDBs with typed arrays are currently not supported. Set to `true` to include IndexedDB in the storage state snapshot. If your application uses IndexedDB to store authentication tokens, like Firebase Authentication, enable this. +:::note +IndexedDBs with typed arrays are currently not supported. +::: + ## property: BrowserContext.tracing * since: v1.12 - type: <[Tracing]> diff --git a/packages/playwright-client/types/types.d.ts b/packages/playwright-client/types/types.d.ts index 49b689b5d0..5ea9ec4def 100644 --- a/packages/playwright-client/types/types.d.ts +++ b/packages/playwright-client/types/types.d.ts @@ -9267,15 +9267,15 @@ export interface BrowserContext { /** * Returns storage state for this browser context, contains current cookies, local storage snapshot and IndexedDB * snapshot. - * - * **NOTE** IndexedDBs with typed arrays are currently not supported. - * * @param options */ storageState(options?: { /** * Set to `true` to include IndexedDB in the storage state snapshot. If your application uses IndexedDB to store * authentication tokens, like Firebase Authentication, enable this. + * + * **NOTE** IndexedDBs with typed arrays are currently not supported. + * */ indexedDB?: boolean; diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 49b689b5d0..5ea9ec4def 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -9267,15 +9267,15 @@ export interface BrowserContext { /** * Returns storage state for this browser context, contains current cookies, local storage snapshot and IndexedDB * snapshot. - * - * **NOTE** IndexedDBs with typed arrays are currently not supported. - * * @param options */ storageState(options?: { /** * Set to `true` to include IndexedDB in the storage state snapshot. If your application uses IndexedDB to store * authentication tokens, like Firebase Authentication, enable this. + * + * **NOTE** IndexedDBs with typed arrays are currently not supported. + * */ indexedDB?: boolean;