update docs

This commit is contained in:
Simon Knott 2025-02-03 12:55:25 +01:00
parent 015ceb0fbc
commit 512da41375
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC
2 changed files with 15 additions and 9 deletions

View file

@ -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).

View file

@ -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;
}>; }>;
}>; }>;