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]>
|
- `httpOnly` <[boolean]>
|
||||||
- `secure` <[boolean]>
|
- `secure` <[boolean]>
|
||||||
- `sameSite` <[SameSiteAttribute]<"Strict"|"Lax"|"None">> sameSite flag
|
- `sameSite` <[SameSiteAttribute]<"Strict"|"Lax"|"None">> sameSite flag
|
||||||
- `origins` <[Array]<[Object]>> localStorage to set for context
|
- `origins` <[Array]<[Object]>>
|
||||||
- `origin` <[string]>
|
- `origin` <[string]>
|
||||||
- `localStorage` <[Array]<[Object]>>
|
- `localStorage` <[Array]<[Object]>> localStorage to set for context
|
||||||
- `name` <[string]>
|
- `name` <[string]>
|
||||||
- `value` <[string]>
|
- `value` <[string]>
|
||||||
- `indexedDB` ?<[Array]<[Object]>>
|
- `indexedDB` ?<[Array]<[Object]>>
|
||||||
- `name` <[string]>
|
- `name` <[string]> TODO: document more
|
||||||
|
|
||||||
Learn more about [storage state and auth](../auth.md).
|
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";
|
sameSite: "Strict"|"Lax"|"None";
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
/**
|
|
||||||
* localStorage to set for context
|
|
||||||
*/
|
|
||||||
origins: Array<{
|
origins: Array<{
|
||||||
origin: string;
|
origin: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* localStorage to set for context
|
||||||
|
*/
|
||||||
localStorage: Array<{
|
localStorage: Array<{
|
||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
|
|
@ -10062,6 +10062,9 @@ export interface Browser {
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
indexedDB?: Array<{
|
indexedDB?: Array<{
|
||||||
|
/**
|
||||||
|
* TODO: document more
|
||||||
|
*/
|
||||||
name: string;
|
name: string;
|
||||||
}>;
|
}>;
|
||||||
}>;
|
}>;
|
||||||
|
|
@ -22220,12 +22223,12 @@ export interface BrowserContextOptions {
|
||||||
sameSite: "Strict"|"Lax"|"None";
|
sameSite: "Strict"|"Lax"|"None";
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
/**
|
|
||||||
* localStorage to set for context
|
|
||||||
*/
|
|
||||||
origins: Array<{
|
origins: Array<{
|
||||||
origin: string;
|
origin: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* localStorage to set for context
|
||||||
|
*/
|
||||||
localStorage: Array<{
|
localStorage: Array<{
|
||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
|
|
@ -22233,6 +22236,9 @@ export interface BrowserContextOptions {
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
indexedDB?: Array<{
|
indexedDB?: Array<{
|
||||||
|
/**
|
||||||
|
* TODO: document more
|
||||||
|
*/
|
||||||
name: string;
|
name: string;
|
||||||
}>;
|
}>;
|
||||||
}>;
|
}>;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue