Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/src/api/class-apirequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ Methods like [`method: APIRequestContext.get`] take the base URL into considerat
- `localStorage` <[Array]<[Object]>>
- `name` <[string]>
- `value` <[string]>
- `indexedDB` ?<[Array]<[unknown]>> indexedDB to set for context

Populates context with given storage state. This option can be used to initialize context with logged-in information
obtained via [`method: BrowserContext.storageState`] or [`method: APIRequestContext.storageState`]. Either a path to the
Expand Down
1 change: 0 additions & 1 deletion docs/src/api/class-apirequestcontext.md
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,6 @@ context cookies from the response. The method will automatically follow redirect
- `localStorage` <[Array]<[Object]>>
- `name` <[string]>
- `value` <[string]>
- `indexedDB` <[Array]<[unknown]>>

Returns storage state for this request context, contains current cookies and local storage snapshot if it was passed to the constructor.

Expand Down
1 change: 0 additions & 1 deletion docs/src/api/class-browsercontext.md
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,6 @@ Whether to emulate network being offline for the browser context.
- `localStorage` <[Array]<[Object]>>
- `name` <[string]>
- `value` <[string]>
- `indexedDB` <[Array]<[unknown]>>

Returns storage state for this browser context, contains current cookies, local storage snapshot and IndexedDB snapshot.

Expand Down
1 change: 0 additions & 1 deletion docs/src/api/params.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ Specify environment variables that will be visible to the browser. Defaults to `
- `localStorage` <[Array]<[Object]>> localStorage to set for context
- `name` <[string]>
- `value` <[string]>
- `indexedDB` ?<[Array]<[unknown]>> indexedDB to set for context

Learn more about [storage state and auth](../auth.md).

Expand Down
19 changes: 0 additions & 19 deletions packages/playwright-client/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9317,8 +9317,6 @@ export interface BrowserContext {

value: string;
}>;

indexedDB: Array<unknown>;
}>;
}>;

Expand Down Expand Up @@ -10085,11 +10083,6 @@ export interface Browser {

value: string;
}>;

/**
* indexedDB to set for context
*/
indexedDB?: Array<unknown>;
}>;
};

Expand Down Expand Up @@ -17638,11 +17631,6 @@ export interface APIRequest {

value: string;
}>;

/**
* indexedDB to set for context
*/
indexedDB?: Array<unknown>;
}>;
};

Expand Down Expand Up @@ -18457,8 +18445,6 @@ export interface APIRequestContext {

value: string;
}>;

indexedDB: Array<unknown>;
}>;
}>;

Expand Down Expand Up @@ -22306,11 +22292,6 @@ export interface BrowserContextOptions {

value: string;
}>;

/**
* indexedDB to set for context
*/
indexedDB?: Array<unknown>;
}>;
};

Expand Down
2 changes: 1 addition & 1 deletion packages/playwright-core/src/client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export type SelectOptionOptions = { force?: boolean, timeout?: number };
export type FilePayload = { name: string, mimeType: string, buffer: Buffer };
export type StorageState = {
cookies: channels.NetworkCookie[],
origins: (Omit<channels.OriginStorage, 'indexedDB'> & { indexedDB: unknown[] })[],
origins: (Omit<channels.OriginStorage, 'indexedDB'>)[],
};
export type SetStorageState = {
cookies?: channels.SetNetworkCookie[],
Expand Down
19 changes: 0 additions & 19 deletions packages/playwright-core/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9317,8 +9317,6 @@ export interface BrowserContext {

value: string;
}>;

indexedDB: Array<unknown>;
}>;
}>;

Expand Down Expand Up @@ -10085,11 +10083,6 @@ export interface Browser {

value: string;
}>;

/**
* indexedDB to set for context
*/
indexedDB?: Array<unknown>;
}>;
};

Expand Down Expand Up @@ -17638,11 +17631,6 @@ export interface APIRequest {

value: string;
}>;

/**
* indexedDB to set for context
*/
indexedDB?: Array<unknown>;
}>;
};

Expand Down Expand Up @@ -18457,8 +18445,6 @@ export interface APIRequestContext {

value: string;
}>;

indexedDB: Array<unknown>;
}>;
}>;

Expand Down Expand Up @@ -22306,11 +22292,6 @@ export interface BrowserContextOptions {

value: string;
}>;

/**
* indexedDB to set for context
*/
indexedDB?: Array<unknown>;
}>;
};

Expand Down
Loading