3737 RequestSizes,
3838 ResourceTiming,
3939 SecurityDetails,
40+ SetCookieParam,
4041 SourceLocation,
4142 StorageState,
4243 ViewportSize,
@@ -10091,7 +10092,7 @@ async def cookies(
1009110092
1009210093 Returns
1009310094 -------
10094- List[{name: str, value: str, url: Union[str, NoneType], domain: Union[ str, NoneType], path: Union[ str, NoneType], expires: Union[ float, NoneType], httpOnly: Union[ bool, NoneType], secure: Union[ bool, NoneType], sameSite: Union["Lax", "None", "Strict", NoneType ]}]
10095+ List[{name: str, value: str, domain: str, path: str, expires: float, httpOnly: bool, secure: bool, sameSite: Union["Lax", "None", "Strict"]}]
1009510096 """
1009610097
1009710098 return mapping.from_impl_list(
@@ -10100,7 +10101,7 @@ async def cookies(
1010010101 )
1010110102 )
1010210103
10103- async def add_cookies(self, cookies: typing.List[Cookie ]) -> NoneType:
10104+ async def add_cookies(self, cookies: typing.List[SetCookieParam ]) -> NoneType:
1010410105 """BrowserContext.add_cookies
1010510106
1010610107 Adds cookies into this browser context. All pages within this context will have these cookies installed. Cookies can be
@@ -10611,7 +10612,7 @@ async def storage_state(
1061110612
1061210613 Returns
1061310614 -------
10614- {cookies: Union[ List[{name: str, value: str, url: Union[str, NoneType], domain: Union[ str, NoneType], path: Union[ str, NoneType], expires: Union[ float, NoneType], httpOnly: Union[ bool, NoneType], secure: Union[ bool, NoneType], sameSite: Union["Lax", "None", "Strict", NoneType ]}], NoneType], origins: Union[ List[{origin: str, localStorage: List[{name: str, value: str}]}], NoneType ]}
10615+ {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}]}]}
1061510616 """
1061610617
1061710618 return mapping.from_impl(
@@ -10943,7 +10944,7 @@ async def new_context(
1094310944 Dimensions of the recorded videos. If not specified the size will be equal to `viewport` scaled down to fit into
1094410945 800x800. If `viewport` is not configured explicitly the video size defaults to 800x450. Actual picture of each page will
1094510946 be scaled down if necessary to fit the specified size.
10946- storage_state : Union[pathlib.Path, str, {cookies: Union[ List[{name: str, value: str, url: Union[str, NoneType], domain: Union[ str, NoneType], path: Union[ str, NoneType], expires: Union[ float, NoneType], httpOnly: Union[ bool, NoneType], secure: Union[ bool, NoneType], sameSite: Union["Lax", "None", "Strict", NoneType ]}], NoneType], origins: Union[ List[{origin: str, localStorage: List[{name: str, value: str}]}], NoneType ]}, NoneType]
10947+ storage_state : Union[pathlib.Path, str, {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}]}]}, NoneType]
1094710948 Populates context with given storage state. This option can be used to initialize context with logged-in information
1094810949 obtained via `browser_context.storage_state()`. Either a path to the file with saved storage, or an object with
1094910950 the following fields:
@@ -11117,7 +11118,7 @@ async def new_page(
1111711118 Dimensions of the recorded videos. If not specified the size will be equal to `viewport` scaled down to fit into
1111811119 800x800. If `viewport` is not configured explicitly the video size defaults to 800x450. Actual picture of each page will
1111911120 be scaled down if necessary to fit the specified size.
11120- storage_state : Union[pathlib.Path, str, {cookies: Union[ List[{name: str, value: str, url: Union[str, NoneType], domain: Union[ str, NoneType], path: Union[ str, NoneType], expires: Union[ float, NoneType], httpOnly: Union[ bool, NoneType], secure: Union[ bool, NoneType], sameSite: Union["Lax", "None", "Strict", NoneType ]}], NoneType], origins: Union[ List[{origin: str, localStorage: List[{name: str, value: str}]}], NoneType ]}, NoneType]
11121+ storage_state : Union[pathlib.Path, str, {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}]}]}, NoneType]
1112111122 Populates context with given storage state. This option can be used to initialize context with logged-in information
1112211123 obtained via `browser_context.storage_state()`. Either a path to the file with saved storage, or an object with
1112311124 the following fields:
0 commit comments