@@ -13469,7 +13469,7 @@ async def storage_state(
1346913469
1347013470 Returns
1347113471 -------
13472- {cookies: List[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: List[{origin: str, localStorage: List[{name: str, value: str}], indexedDB: Union[List[Any], None] }]}
13472+ {cookies: List[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: List[{origin: str, localStorage: List[{name: str, value: str}]}]}
1347313473 """
1347413474
1347513475 return mapping.from_impl(
@@ -13874,7 +13874,7 @@ async def new_context(
1387413874 Dimensions of the recorded videos. If not specified the size will be equal to `viewport` scaled down to fit into
1387513875 800x800. If `viewport` is not configured explicitly the video size defaults to 800x450. Actual picture of each page
1387613876 will be scaled down if necessary to fit the specified size.
13877- storage_state : Union[pathlib.Path, str, {cookies: Sequence[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: Sequence[{origin: str, localStorage: Sequence[{name: str, value: str}], indexedDB: Union[Sequence[Any], None] }]}, None]
13877+ storage_state : Union[pathlib.Path, str, {cookies: Sequence[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: Sequence[{origin: str, localStorage: Sequence[{name: str, value: str}]}]}, None]
1387813878 Learn more about [storage state and auth](../auth.md).
1387913879
1388013880 Populates context with given storage state. This option can be used to initialize context with logged-in
@@ -14105,7 +14105,7 @@ async def new_page(
1410514105 Dimensions of the recorded videos. If not specified the size will be equal to `viewport` scaled down to fit into
1410614106 800x800. If `viewport` is not configured explicitly the video size defaults to 800x450. Actual picture of each page
1410714107 will be scaled down if necessary to fit the specified size.
14108- storage_state : Union[pathlib.Path, str, {cookies: Sequence[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: Sequence[{origin: str, localStorage: Sequence[{name: str, value: str}], indexedDB: Union[Sequence[Any], None] }]}, None]
14108+ storage_state : Union[pathlib.Path, str, {cookies: Sequence[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: Sequence[{origin: str, localStorage: Sequence[{name: str, value: str}]}]}, None]
1410914109 Learn more about [storage state and auth](../auth.md).
1411014110
1411114111 Populates context with given storage state. This option can be used to initialize context with logged-in
@@ -18672,7 +18672,7 @@ async def storage_state(
1867218672
1867318673 Returns
1867418674 -------
18675- {cookies: List[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: List[{origin: str, localStorage: List[{name: str, value: str}], indexedDB: Union[List[Any], None] }]}
18675+ {cookies: List[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: List[{origin: str, localStorage: List[{name: str, value: str}]}]}
1867618676 """
1867718677
1867818678 return mapping.from_impl(
@@ -18730,7 +18730,7 @@ async def new_context(
1873018730 timeout : Union[float, None]
1873118731 Maximum time in milliseconds to wait for the response. Defaults to `30000` (30 seconds). Pass `0` to disable
1873218732 timeout.
18733- storage_state : Union[pathlib.Path, str, {cookies: Sequence[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: Sequence[{origin: str, localStorage: Sequence[{name: str, value: str}], indexedDB: Union[Sequence[Any], None] }]}, None]
18733+ storage_state : Union[pathlib.Path, str, {cookies: Sequence[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}], origins: Sequence[{origin: str, localStorage: Sequence[{name: str, value: str}]}]}, None]
1873418734 Populates context with given storage state. This option can be used to initialize context with logged-in
1873518735 information obtained via `browser_context.storage_state()` or `a_pi_request_context.storage_state()`.
1873618736 Either a path to the file with saved storage, or the value returned by one of
0 commit comments