update docs
This commit is contained in:
parent
015ceb0fbc
commit
512da41375
|
|
@ -259,13 +259,13 @@ Specify environment variables that will be visible to the browser. Defaults to `
|
|||
- `httpOnly` <[boolean]>
|
||||
- `secure` <[boolean]>
|
||||
- `sameSite` <[SameSiteAttribute]<"Strict"|"Lax"|"None">> sameSite flag
|
||||
- `origins` <[Array]<[Object]>> localStorage to set for context
|
||||
- `origins` <[Array]<[Object]>>
|
||||
- `origin` <[string]>
|
||||
- `localStorage` <[Array]<[Object]>>
|
||||
- `localStorage` <[Array]<[Object]>> localStorage to set for context
|
||||
- `name` <[string]>
|
||||
- `value` <[string]>
|
||||
- `indexedDB` ?<[Array]<[Object]>>
|
||||
- `name` <[string]>
|
||||
- `name` <[string]> TODO: document more
|
||||
|
||||
Learn more about [storage state and auth](../auth.md).
|
||||
|
||||
|
|
|
|||
18
packages/playwright-core/types/types.d.ts
vendored
18
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -10049,12 +10049,12 @@ export interface Browser {
|
|||
sameSite: "Strict"|"Lax"|"None";
|
||||
}>;
|
||||
|
||||
/**
|
||||
* localStorage to set for context
|
||||
*/
|
||||
origins: Array<{
|
||||
origin: string;
|
||||
|
||||
/**
|
||||
* localStorage to set for context
|
||||
*/
|
||||
localStorage: Array<{
|
||||
name: string;
|
||||
|
||||
|
|
@ -10062,6 +10062,9 @@ export interface Browser {
|
|||
}>;
|
||||
|
||||
indexedDB?: Array<{
|
||||
/**
|
||||
* TODO: document more
|
||||
*/
|
||||
name: string;
|
||||
}>;
|
||||
}>;
|
||||
|
|
@ -22220,12 +22223,12 @@ export interface BrowserContextOptions {
|
|||
sameSite: "Strict"|"Lax"|"None";
|
||||
}>;
|
||||
|
||||
/**
|
||||
* localStorage to set for context
|
||||
*/
|
||||
origins: Array<{
|
||||
origin: string;
|
||||
|
||||
/**
|
||||
* localStorage to set for context
|
||||
*/
|
||||
localStorage: Array<{
|
||||
name: string;
|
||||
|
||||
|
|
@ -22233,6 +22236,9 @@ export interface BrowserContextOptions {
|
|||
}>;
|
||||
|
||||
indexedDB?: Array<{
|
||||
/**
|
||||
* TODO: document more
|
||||
*/
|
||||
name: string;
|
||||
}>;
|
||||
}>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue