Skip to content

Commit fae8fef

Browse files
committed
roll to 1.23
1 parent 11d7a88 commit fae8fef

File tree

4 files changed

+56
-6
lines changed

4 files changed

+56
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Playwright is a Python library to automate [Chromium](https://www.chromium.org/H
44

55
| | Linux | macOS | Windows |
66
| :--- | :---: | :---: | :---: |
7-
| Chromium <!-- GEN:chromium-version -->103.0.5060.53<!-- GEN:stop --> ||||
7+
| Chromium <!-- GEN:chromium-version -->104.0.5112.20<!-- GEN:stop --> ||||
88
| WebKit <!-- GEN:webkit-version -->15.4<!-- GEN:stop --> ||||
99
| Firefox <!-- GEN:firefox-version -->100.0.2<!-- GEN:stop --> ||||
1010

playwright/async_api/_generated.py

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,9 @@ def timing(self) -> ResourceTiming:
268268
def headers(self) -> typing.Dict[str, str]:
269269
"""Request.headers
270270

271-
**DEPRECATED** Incomplete list of headers as seen by the rendering engine. Use `request.all_headers()` instead.
271+
An object with the request HTTP headers. The header names are lower-cased. Note that this method does not return
272+
security-related headers, including cookie-related ones. You can use `request.all_headers()` for complete list of
273+
headers that include `cookie` information.
272274

273275
Returns
274276
-------
@@ -411,7 +413,9 @@ def status_text(self) -> str:
411413
def headers(self) -> typing.Dict[str, str]:
412414
"""Response.headers
413415

414-
**DEPRECATED** Incomplete list of headers as seen by the rendering engine. Use `response.all_headers()` instead.
416+
An object with the response HTTP headers. The header names are lower-cased. Note that this method does not return
417+
security-related headers, including cookie-related ones. You can use `response.all_headers()` for complete list
418+
of headers that include `cookie` information.
415419

416420
Returns
417421
-------
@@ -10917,6 +10921,13 @@ async def new_context(
1091710921
- `'allow'`: [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) can be registered.
1091810922
- `'block'`: Playwright will block all registration of Service Workers.
1091910923
record_har_url_filter : Union[Pattern, str, NoneType]
10924+
record_har_mode : Union["full", "minimal", NoneType]
10925+
When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies,
10926+
security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`.
10927+
record_har_content : Union["attach", "embed", "omit", NoneType]
10928+
Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
10929+
is specified, resources are persistet as separate files and all of these files are archived along with the HAR file.
10930+
Defaults to `embed`, which stores content inline the HAR file as per HAR specification.
1092010931

1092110932
Returns
1092210933
-------
@@ -11103,6 +11114,13 @@ async def new_page(
1110311114
- `'allow'`: [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) can be registered.
1110411115
- `'block'`: Playwright will block all registration of Service Workers.
1110511116
record_har_url_filter : Union[Pattern, str, NoneType]
11117+
record_har_mode : Union["full", "minimal", NoneType]
11118+
When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies,
11119+
security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`.
11120+
record_har_content : Union["attach", "embed", "omit", NoneType]
11121+
Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
11122+
is specified, resources are persistet as separate files and all of these files are archived along with the HAR file.
11123+
Defaults to `embed`, which stores content inline the HAR file as per HAR specification.
1110611124

1110711125
Returns
1110811126
-------
@@ -11588,6 +11606,13 @@ async def launch_persistent_context(
1158811606
- `'allow'`: [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) can be registered.
1158911607
- `'block'`: Playwright will block all registration of Service Workers.
1159011608
record_har_url_filter : Union[Pattern, str, NoneType]
11609+
record_har_mode : Union["full", "minimal", NoneType]
11610+
When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies,
11611+
security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`.
11612+
record_har_content : Union["attach", "embed", "omit", NoneType]
11613+
Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
11614+
is specified, resources are persistet as separate files and all of these files are archived along with the HAR file.
11615+
Defaults to `embed`, which stores content inline the HAR file as per HAR specification.
1159111616

1159211617
Returns
1159311618
-------

playwright/sync_api/_generated.py

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,9 @@ def timing(self) -> ResourceTiming:
268268
def headers(self) -> typing.Dict[str, str]:
269269
"""Request.headers
270270

271-
**DEPRECATED** Incomplete list of headers as seen by the rendering engine. Use `request.all_headers()` instead.
271+
An object with the request HTTP headers. The header names are lower-cased. Note that this method does not return
272+
security-related headers, including cookie-related ones. You can use `request.all_headers()` for complete list of
273+
headers that include `cookie` information.
272274

273275
Returns
274276
-------
@@ -413,7 +415,9 @@ def status_text(self) -> str:
413415
def headers(self) -> typing.Dict[str, str]:
414416
"""Response.headers
415417

416-
**DEPRECATED** Incomplete list of headers as seen by the rendering engine. Use `response.all_headers()` instead.
418+
An object with the response HTTP headers. The header names are lower-cased. Note that this method does not return
419+
security-related headers, including cookie-related ones. You can use `response.all_headers()` for complete list
420+
of headers that include `cookie` information.
417421

418422
Returns
419423
-------
@@ -10945,6 +10949,13 @@ def new_context(
1094510949
- `'allow'`: [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) can be registered.
1094610950
- `'block'`: Playwright will block all registration of Service Workers.
1094710951
record_har_url_filter : Union[Pattern, str, NoneType]
10952+
record_har_mode : Union["full", "minimal", NoneType]
10953+
When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies,
10954+
security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`.
10955+
record_har_content : Union["attach", "embed", "omit", NoneType]
10956+
Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
10957+
is specified, resources are persistet as separate files and all of these files are archived along with the HAR file.
10958+
Defaults to `embed`, which stores content inline the HAR file as per HAR specification.
1094810959

1094910960
Returns
1095010961
-------
@@ -11133,6 +11144,13 @@ def new_page(
1113311144
- `'allow'`: [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) can be registered.
1113411145
- `'block'`: Playwright will block all registration of Service Workers.
1113511146
record_har_url_filter : Union[Pattern, str, NoneType]
11147+
record_har_mode : Union["full", "minimal", NoneType]
11148+
When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies,
11149+
security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`.
11150+
record_har_content : Union["attach", "embed", "omit", NoneType]
11151+
Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
11152+
is specified, resources are persistet as separate files and all of these files are archived along with the HAR file.
11153+
Defaults to `embed`, which stores content inline the HAR file as per HAR specification.
1113611154

1113711155
Returns
1113811156
-------
@@ -11624,6 +11642,13 @@ def launch_persistent_context(
1162411642
- `'allow'`: [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) can be registered.
1162511643
- `'block'`: Playwright will block all registration of Service Workers.
1162611644
record_har_url_filter : Union[Pattern, str, NoneType]
11645+
record_har_mode : Union["full", "minimal", NoneType]
11646+
When set to `minimal`, only record information necessary for routing from HAR. This omits sizes, timing, page, cookies,
11647+
security and other types of HAR information that are not used when replaying from HAR. Defaults to `full`.
11648+
record_har_content : Union["attach", "embed", "omit", NoneType]
11649+
Optional setting to control resource content management. If `omit` is specified, content is not persisted. If `attach`
11650+
is specified, resources are persistet as separate files and all of these files are archived along with the HAR file.
11651+
Defaults to `embed`, which stores content inline the HAR file as per HAR specification.
1162711652

1162811653
Returns
1162911654
-------

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
InWheel = None
3131
from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand
3232

33-
driver_version = "1.23.0-beta-1656093125000"
33+
driver_version = "1.23.0"
3434

3535

3636
def extractall(zip: zipfile.ZipFile, path: str) -> None:

0 commit comments

Comments
 (0)