Skip to content

Commit a96c870

Browse files
authored
chore: roll chromium to 1200, update for CfT paths (#38128)
1 parent dc2ad65 commit a96c870

File tree

7 files changed

+149
-245
lines changed

7 files changed

+149
-245
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# 🎭 Playwright
22

3-
[![npm version](https://img.shields.io/npm/v/playwright.svg)](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-142.0.7444.53-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-142.0.1-blue.svg?logo=firefoxbrowser)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-26.0-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop --> [![Join Discord](https://img.shields.io/badge/join-discord-informational)](https://aka.ms/playwright/discord)
3+
[![npm version](https://img.shields.io/npm/v/playwright.svg)](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-143.0.7499.4-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-142.0.1-blue.svg?logo=firefoxbrowser)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-26.0-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop --> [![Join Discord](https://img.shields.io/badge/join-discord-informational)](https://aka.ms/playwright/discord)
44

55
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright)
66

77
Playwright is a framework for Web Testing and Automation. It allows testing [Chromium](https://www.chromium.org/Home), [Firefox](https://www.mozilla.org/en-US/firefox/new/) and [WebKit](https://webkit.org/) with a single API. Playwright is built to enable cross-browser web automation that is **ever-green**, **capable**, **reliable** and **fast**.
88

99
| | Linux | macOS | Windows |
1010
| :--- | :---: | :---: | :---: |
11-
| Chromium <!-- GEN:chromium-version -->142.0.7444.53<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
11+
| Chromium <!-- GEN:chromium-version -->143.0.7499.4<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1212
| WebKit <!-- GEN:webkit-version -->26.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1313
| Firefox <!-- GEN:firefox-version -->142.0.1<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1414

packages/playwright-core/browsers.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"browsers": [
44
{
55
"name": "chromium",
6-
"revision": "1198",
6+
"revision": "1200",
77
"installByDefault": true,
8-
"browserVersion": "142.0.7444.53"
8+
"browserVersion": "143.0.7499.4"
99
},
1010
{
1111
"name": "chromium-headless-shell",
12-
"revision": "1198",
12+
"revision": "1200",
1313
"installByDefault": true,
14-
"browserVersion": "142.0.7444.53"
14+
"browserVersion": "143.0.7499.4"
1515
},
1616
{
1717
"name": "chromium-tip-of-tree",

packages/playwright-core/src/server/chromium/protocol.d.ts

Lines changed: 38 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@ is guaranteed to exist.
19201920
}
19211921

19221922
/**
1923-
* Set permission settings for given requesting and embedding origins.
1923+
* Set permission settings for given embedding and embedded origins.
19241924
*/
19251925
export type setPermissionParameters = {
19261926
/**
@@ -1932,15 +1932,15 @@ is guaranteed to exist.
19321932
*/
19331933
setting: PermissionSetting;
19341934
/**
1935-
* Requesting origin the permission applies to, all origins if not specified.
1935+
* Embedding origin the permission applies to, all origins if not specified.
19361936
*/
19371937
origin?: string;
19381938
/**
1939-
* Embedding origin the permission applies to. It is ignored unless the requesting origin is
1940-
present and valid. If the requesting origin is provided but the embedding origin isn't, the
1941-
requesting origin is used as the embedding origin.
1939+
* Embedded origin the permission applies to. It is ignored unless the embedding origin is
1940+
present and valid. If the embedding origin is provided but the embedded origin isn't, the
1941+
embedding origin is used as the embedded origin.
19421942
*/
1943-
embeddingOrigin?: string;
1943+
embeddedOrigin?: string;
19441944
/**
19451945
* Context to override. When omitted, default browser context is used.
19461946
*/
@@ -1949,7 +1949,8 @@ requesting origin is used as the embedding origin.
19491949
export type setPermissionReturnValue = {
19501950
}
19511951
/**
1952-
* Grant specific permissions to the given origin and reject all others.
1952+
* Grant specific permissions to the given origin and reject all others. Deprecated. Use
1953+
setPermission instead.
19531954
*/
19541955
export type grantPermissionsParameters = {
19551956
permissions: PermissionType[];
@@ -9126,6 +9127,10 @@ for the preferred input type).
91269127
* Fired when debugging target has reloaded after crash
91279128
*/
91289129
export type targetReloadedAfterCrashPayload = void;
9130+
/**
9131+
* Fired on worker targets when main worker script and any imported scripts have been evaluated.
9132+
*/
9133+
export type workerScriptLoadedPayload = void;
91299134

91309135
/**
91319136
* Disables inspector domain notifications.
@@ -10465,7 +10470,7 @@ If the opcode isn't 1, then payloadData is a base64 encoded string representing
1046510470
/**
1046610471
* Type of this initiator.
1046710472
*/
10468-
type: "parser"|"script"|"preload"|"SignedExchange"|"preflight"|"other";
10473+
type: "parser"|"script"|"preload"|"SignedExchange"|"preflight"|"FedCM"|"other";
1046910474
/**
1047010475
* Initiator JavaScript stack trace, set for Script only.
1047110476
Requires the Debugger domain to be enabled.
@@ -10899,8 +10904,8 @@ extra headers.
1089910904
export interface NetworkConditions {
1090010905
/**
1090110906
* Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
10902-
syntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p
10903-
connections).
10907+
syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are
10908+
matched (including p2p connections).
1090410909
*/
1090510910
urlPattern: string;
1090610911
/**
@@ -10932,6 +10937,18 @@ connections).
1093210937
*/
1093310938
packetReordering?: boolean;
1093410939
}
10940+
export interface BlockPattern {
10941+
/**
10942+
* URL pattern to match. Patterns use the URLPattern constructor string syntax
10943+
(https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `<example>`.
10944+
*/
10945+
urlPattern: string;
10946+
/**
10947+
* Whether or not to block the pattern. If false, a matching request will not be blocked even if it matches a later
10948+
`BlockPattern`.
10949+
*/
10950+
block: boolean;
10951+
}
1093510952
export type DirectSocketDnsQueryType = "ipv4"|"ipv6";
1093610953
export interface DirectTCPSocketOptions {
1093710954
/**
@@ -11817,76 +11834,6 @@ preemptively (e.g. a cache hit).
1181711834
* Fired once security policy has been updated.
1181811835
*/
1181911836
export type policyUpdatedPayload = void;
11820-
/**
11821-
* Fired once when parsing the .wbn file has succeeded.
11822-
The event contains the information about the web bundle contents.
11823-
*/
11824-
export type subresourceWebBundleMetadataReceivedPayload = {
11825-
/**
11826-
* Request identifier. Used to match this information to another event.
11827-
*/
11828-
requestId: RequestId;
11829-
/**
11830-
* A list of URLs of resources in the subresource Web Bundle.
11831-
*/
11832-
urls: string[];
11833-
}
11834-
/**
11835-
* Fired once when parsing the .wbn file has failed.
11836-
*/
11837-
export type subresourceWebBundleMetadataErrorPayload = {
11838-
/**
11839-
* Request identifier. Used to match this information to another event.
11840-
*/
11841-
requestId: RequestId;
11842-
/**
11843-
* Error message
11844-
*/
11845-
errorMessage: string;
11846-
}
11847-
/**
11848-
* Fired when handling requests for resources within a .wbn file.
11849-
Note: this will only be fired for resources that are requested by the webpage.
11850-
*/
11851-
export type subresourceWebBundleInnerResponseParsedPayload = {
11852-
/**
11853-
* Request identifier of the subresource request
11854-
*/
11855-
innerRequestId: RequestId;
11856-
/**
11857-
* URL of the subresource resource.
11858-
*/
11859-
innerRequestURL: string;
11860-
/**
11861-
* Bundle request identifier. Used to match this information to another event.
11862-
This made be absent in case when the instrumentation was enabled only
11863-
after webbundle was parsed.
11864-
*/
11865-
bundleRequestId?: RequestId;
11866-
}
11867-
/**
11868-
* Fired when request for resources within a .wbn file failed.
11869-
*/
11870-
export type subresourceWebBundleInnerResponseErrorPayload = {
11871-
/**
11872-
* Request identifier of the subresource request
11873-
*/
11874-
innerRequestId: RequestId;
11875-
/**
11876-
* URL of the subresource resource.
11877-
*/
11878-
innerRequestURL: string;
11879-
/**
11880-
* Error message
11881-
*/
11882-
errorMessage: string;
11883-
/**
11884-
* Bundle request identifier. Used to match this information to another event.
11885-
This made be absent in case when the instrumentation was enabled only
11886-
after webbundle was parsed.
11887-
*/
11888-
bundleRequestId?: RequestId;
11889-
}
1189011837
/**
1189111838
* Is sent whenever a new report is added.
1189211839
And after 'enableReportingApi' for all existing reports.
@@ -12116,7 +12063,9 @@ and overrideNetworkState commands, which can be used together to the same effect
1211612063
export type emulateNetworkConditionsReturnValue = {
1211712064
}
1211812065
/**
12119-
* Activates emulation of network conditions for individual requests using URL match patterns.
12066+
* Activates emulation of network conditions for individual requests using URL match patterns. Unlike the deprecated
12067+
Network.emulateNetworkConditions this method does not affect `navigator` state. Use Network.overrideNetworkState to
12068+
explicitly modify `navigator` behavior.
1212012069
*/
1212112070
export type emulateNetworkConditionsByRuleParameters = {
1212212071
/**
@@ -12345,10 +12294,15 @@ attribute, user, password.
1234512294
* Blocks URLs from loading.
1234612295
*/
1234712296
export type setBlockedURLsParameters = {
12297+
/**
12298+
* Patterns to match in the order in which they are given. These patterns
12299+
also take precedence over any wildcard patterns defined in `urls`.
12300+
*/
12301+
urlPatterns?: BlockPattern[];
1234812302
/**
1234912303
* URL patterns to block. Wildcards ('*') are allowed.
1235012304
*/
12351-
urls: string[];
12305+
urls?: string[];
1235212306
}
1235312307
export type setBlockedURLsReturnValue = {
1235412308
}
@@ -15924,7 +15878,7 @@ https://github.com/WICG/nav-speculation/blob/main/speculation-rules-tags.md
1592415878
mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it
1592515879
isn't being used by clients).
1592615880
*/
15927-
export type SpeculationAction = "Prefetch"|"Prerender";
15881+
export type SpeculationAction = "Prefetch"|"Prerender"|"PrerenderUntilScript";
1592815882
/**
1592915883
* Corresponds to mojom::SpeculationTargetHint.
1593015884
See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints
@@ -21835,6 +21789,7 @@ Error was thrown.
2183521789
"Inspector.detached": Inspector.detachedPayload;
2183621790
"Inspector.targetCrashed": Inspector.targetCrashedPayload;
2183721791
"Inspector.targetReloadedAfterCrash": Inspector.targetReloadedAfterCrashPayload;
21792+
"Inspector.workerScriptLoaded": Inspector.workerScriptLoadedPayload;
2183821793
"LayerTree.layerPainted": LayerTree.layerPaintedPayload;
2183921794
"LayerTree.layerTreeDidChange": LayerTree.layerTreeDidChangePayload;
2184021795
"Log.entryAdded": Log.entryAddedPayload;
@@ -21880,10 +21835,6 @@ Error was thrown.
2188021835
"Network.responseReceivedEarlyHints": Network.responseReceivedEarlyHintsPayload;
2188121836
"Network.trustTokenOperationDone": Network.trustTokenOperationDonePayload;
2188221837
"Network.policyUpdated": Network.policyUpdatedPayload;
21883-
"Network.subresourceWebBundleMetadataReceived": Network.subresourceWebBundleMetadataReceivedPayload;
21884-
"Network.subresourceWebBundleMetadataError": Network.subresourceWebBundleMetadataErrorPayload;
21885-
"Network.subresourceWebBundleInnerResponseParsed": Network.subresourceWebBundleInnerResponseParsedPayload;
21886-
"Network.subresourceWebBundleInnerResponseError": Network.subresourceWebBundleInnerResponseErrorPayload;
2188721838
"Network.reportingApiReportAdded": Network.reportingApiReportAddedPayload;
2188821839
"Network.reportingApiReportUpdated": Network.reportingApiReportUpdatedPayload;
2188921840
"Network.reportingApiEndpointsChangedForOrigin": Network.reportingApiEndpointsChangedForOriginPayload;

0 commit comments

Comments
 (0)