Skip to content

Commit c36f5fa

Browse files
authored
feat(chromium): roll to 833159 (#4626)
1 parent 18b565a commit c36f5fa

File tree

3 files changed

+146
-7
lines changed

3 files changed

+146
-7
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?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-89.0.4330.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-84.0b7-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [![WebKit version](https://img.shields.io/badge/webkit-14.0-blue.svg?logo=safari)](https://webkit.org/)
3+
[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-89.0.4344.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-84.0b7-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [![WebKit version](https://img.shields.io/badge/webkit-14.0-blue.svg?logo=safari)](https://webkit.org/)
44

55
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/#?path=docs/api.md)
66

77
Playwright is a Node.js library to automate [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 -->89.0.4330.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
11+
| Chromium <!-- GEN:chromium-version -->89.0.4344.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1212
| WebKit 14.1 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1313
| Firefox <!-- GEN:firefox-version -->84.0b7<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1414

browsers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"browsers": [
44
{
55
"name": "chromium",
6-
"revision": "828656",
6+
"revision": "833159",
77
"download": true
88
},
99
{

src/server/chromium/protocol.ts

Lines changed: 143 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export module Protocol {
1717
/**
1818
* Enum of possible native property sources (as a subtype of a particular AXValueSourceType).
1919
*/
20-
export type AXValueNativeSourceType = "figcaption"|"label"|"labelfor"|"labelwrapped"|"legend"|"tablecaption"|"title"|"other";
20+
export type AXValueNativeSourceType = "figcaption"|"label"|"labelfor"|"labelwrapped"|"legend"|"rubyannotation"|"tablecaption"|"title"|"other";
2121
/**
2222
* A single source for a computed AX property.
2323
*/
@@ -204,13 +204,28 @@ children, if requested.
204204
nodes: AXNode[];
205205
}
206206
/**
207-
* Fetches the entire accessibility tree
207+
* Fetches the entire accessibility tree for the root Document
208208
*/
209209
export type getFullAXTreeParameters = {
210+
/**
211+
* The maximum depth at which descendants of the root node should be retrieved.
212+
If omitted, the full tree is returned.
213+
*/
214+
max_depth?: number;
210215
}
211216
export type getFullAXTreeReturnValue = {
212217
nodes: AXNode[];
213218
}
219+
/**
220+
* Fetches a particular accessibility node by AXNodeId.
221+
Requires `enable()` to have been called previously.
222+
*/
223+
export type getChildAXNodesParameters = {
224+
id: AXNodeId;
225+
}
226+
export type getChildAXNodesReturnValue = {
227+
nodes: AXNode[];
228+
}
214229
/**
215230
* Query a DOM node's accessibility subtree for accessible name and role.
216231
This command computes the name and role for all nodes in the subtree, including those that are
@@ -6580,7 +6595,7 @@ file, data and other requests and responses, their headers, bodies, timing, etc.
65806595
/**
65816596
* Resource type as it was perceived by the rendering engine.
65826597
*/
6583-
export type ResourceType = "Document"|"Stylesheet"|"Image"|"Media"|"Font"|"Script"|"TextTrack"|"XHR"|"Fetch"|"EventSource"|"WebSocket"|"Manifest"|"SignedExchange"|"Ping"|"CSPViolationReport"|"Other";
6598+
export type ResourceType = "Document"|"Stylesheet"|"Image"|"Media"|"Font"|"Script"|"TextTrack"|"XHR"|"Fetch"|"EventSource"|"WebSocket"|"Manifest"|"SignedExchange"|"Ping"|"CSPViolationReport"|"Preflight"|"Other";
65846599
/**
65856600
* Unique loader identifier.
65866601
*/
@@ -7080,7 +7095,7 @@ If the opcode isn't 1, then payloadData is a base64 encoded string representing
70807095
/**
70817096
* Type of this initiator.
70827097
*/
7083-
type: "parser"|"script"|"preload"|"SignedExchange"|"other";
7098+
type: "parser"|"script"|"preload"|"SignedExchange"|"preflight"|"other";
70847099
/**
70857100
* Initiator JavaScript stack trace, set for Script only.
70867101
*/
@@ -7099,6 +7114,10 @@ module) (0-based).
70997114
module) (0-based).
71007115
*/
71017116
columnNumber?: number;
7117+
/**
7118+
* Set if another request triggered this request (e.g. preflight).
7119+
*/
7120+
requestId?: RequestId;
71027121
}
71037122
/**
71047123
* Cookie object
@@ -7411,6 +7430,13 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
74117430
*/
74127431
errors?: SignedExchangeError[];
74137432
}
7433+
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate";
7434+
export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
7435+
export interface ClientSecurityState {
7436+
initiatorIsSecureContext: boolean;
7437+
initiatorIPAddressSpace: IPAddressSpace;
7438+
privateNetworkRequestPolicy: PrivateNetworkRequestPolicy;
7439+
}
74147440
export type CrossOriginOpenerPolicyValue = "SameOrigin"|"SameOriginAllowPopups"|"UnsafeNone"|"SameOriginPlusCoep";
74157441
export interface CrossOriginOpenerPolicyStatus {
74167442
value: CrossOriginOpenerPolicyValue;
@@ -7855,6 +7881,29 @@ this requestId will be the same as the requestId present in the requestWillBeSen
78557881
*/
78567882
request: WebSocketRequest;
78577883
}
7884+
/**
7885+
* Fired upon WebTransport creation.
7886+
*/
7887+
export type webTransportCreatedPayload = {
7888+
/**
7889+
* WebTransport identifier.
7890+
*/
7891+
transportId: RequestId;
7892+
/**
7893+
* WebTransport request URL.
7894+
*/
7895+
url: string;
7896+
/**
7897+
* Request initiator.
7898+
*/
7899+
initiator?: Initiator;
7900+
}
7901+
export type webTransportClosedPayload = {
7902+
/**
7903+
* WebTransport identifier.
7904+
*/
7905+
transportId: RequestId;
7906+
}
78587907
/**
78597908
* Fired when additional information about a requestWillBeSent event is available from the
78607909
network stack. Not every requestWillBeSent event will have an additional
@@ -7875,6 +7924,10 @@ the request and the ones not sent; the latter are distinguished by having blocke
78757924
* Raw request headers as they will be sent over the wire.
78767925
*/
78777926
headers: Headers;
7927+
/**
7928+
* The client security state set for the request.
7929+
*/
7930+
clientSecurityState?: ClientSecurityState;
78787931
}
78797932
/**
78807933
* Fired when additional information about a responseReceived event is available from the network
@@ -7902,6 +7955,35 @@ available, such as in the case of HTTP/2 or QUIC.
79027955
*/
79037956
headersText?: string;
79047957
}
7958+
/**
7959+
* Fired exactly once for each Trust Token operation. Depending on
7960+
the type of the operation and whether the operation succeeded or
7961+
failed, the event is fired before the corresponding request was sent
7962+
or after the response was received.
7963+
*/
7964+
export type trustTokenOperationDonePayload = {
7965+
/**
7966+
* Detailed success or error status of the operation.
7967+
'AlreadyExists' also signifies a successful operation, as the result
7968+
of the operation already exists und thus, the operation was abort
7969+
preemptively (e.g. a cache hit).
7970+
*/
7971+
status: "Ok"|"InvalidArgument"|"FailedPrecondition"|"ResourceExhausted"|"AlreadyExists"|"Unavailable"|"BadResponse"|"InternalError"|"UnknownError"|"FulfilledLocally";
7972+
type: TrustTokenOperationType;
7973+
requestId: RequestId;
7974+
/**
7975+
* Top level origin. The context in which the operation was attempted.
7976+
*/
7977+
topLevelOrigin?: string;
7978+
/**
7979+
* Origin of the issuer in case of a "Issuance" or "Redemption" operation.
7980+
*/
7981+
issuerOrigin?: string;
7982+
/**
7983+
* The number of obtained Trust Tokens on a successful "Issuance" operation.
7984+
*/
7985+
issuedTokenCount?: number;
7986+
}
79057987

79067988
/**
79077989
* Tells whether clearing browser cache is supported.
@@ -8541,6 +8623,26 @@ continueInterceptedRequest call.
85418623
* The style of the separator between items
85428624
*/
85438625
itemSeparator?: LineStyle;
8626+
/**
8627+
* Style of content-distribution space on the main axis (justify-content).
8628+
*/
8629+
mainDistributedSpace?: BoxStyle;
8630+
/**
8631+
* Style of content-distribution space on the cross axis (align-content).
8632+
*/
8633+
crossDistributedSpace?: BoxStyle;
8634+
/**
8635+
* Style of empty space caused by row gaps (gap/row-gap).
8636+
*/
8637+
rowGapSpace?: BoxStyle;
8638+
/**
8639+
* Style of empty space caused by columns gaps (gap/column-gap).
8640+
*/
8641+
columnGapSpace?: BoxStyle;
8642+
/**
8643+
* Style of the self-alignment line (align-items).
8644+
*/
8645+
crossAlignment?: LineStyle;
85448646
}
85458647
/**
85468648
* Style information for drawing a line.
@@ -8555,6 +8657,20 @@ continueInterceptedRequest call.
85558657
*/
85568658
pattern?: "dashed"|"dotted";
85578659
}
8660+
/**
8661+
* Style information for drawing a box.
8662+
*/
8663+
export interface BoxStyle {
8664+
/**
8665+
* The background color for the box (default: transparent)
8666+
*/
8667+
fillColor?: DOM.RGBA;
8668+
/**
8669+
* The hatching color for the box (default: transparent)
8670+
*/
8671+
hatchColor?: DOM.RGBA;
8672+
}
8673+
export type ContrastAlgorithm = "aa"|"aaa"|"apca";
85588674
/**
85598675
* Configuration data for the highlighting of page elements.
85608676
*/
@@ -8623,6 +8739,10 @@ continueInterceptedRequest call.
86238739
* The flex container highlight configuration (default: all transparent).
86248740
*/
86258741
flexContainerHighlightConfig?: FlexContainerHighlightConfig;
8742+
/**
8743+
* The contrast algorithm to use for the contrast ratio (default: aa).
8744+
*/
8745+
contrastAlgorithm?: ContrastAlgorithm;
86268746
}
86278747
export type ColorFormat = "rgb"|"hsl"|"hex";
86288748
/**
@@ -9517,6 +9637,15 @@ Example URLs: http://www.google.com/file.html -> "google.com"
95179637
*/
95189638
frame: Frame;
95199639
}
9640+
/**
9641+
* Fired when opening document to write to.
9642+
*/
9643+
export type documentOpenedPayload = {
9644+
/**
9645+
* Frame object.
9646+
*/
9647+
frame: Frame;
9648+
}
95209649
export type frameResizedPayload = void;
95219650
/**
95229651
* Fired when a renderer-initiated navigation is requested.
@@ -9820,6 +9949,10 @@ event is emitted.
98209949
* Capture the screenshot from the surface, rather than the view. Defaults to true.
98219950
*/
98229951
fromSurface?: boolean;
9952+
/**
9953+
* Capture the screenshot beyond the viewport. Defaults to false.
9954+
*/
9955+
captureBeyondViewport?: boolean;
98239956
}
98249957
export type captureScreenshotReturnValue = {
98259958
/**
@@ -15589,8 +15722,11 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1558915722
"Network.webSocketFrameSent": Network.webSocketFrameSentPayload;
1559015723
"Network.webSocketHandshakeResponseReceived": Network.webSocketHandshakeResponseReceivedPayload;
1559115724
"Network.webSocketWillSendHandshakeRequest": Network.webSocketWillSendHandshakeRequestPayload;
15725+
"Network.webTransportCreated": Network.webTransportCreatedPayload;
15726+
"Network.webTransportClosed": Network.webTransportClosedPayload;
1559215727
"Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload;
1559315728
"Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload;
15729+
"Network.trustTokenOperationDone": Network.trustTokenOperationDonePayload;
1559415730
"Overlay.inspectNodeRequested": Overlay.inspectNodeRequestedPayload;
1559515731
"Overlay.nodeHighlightRequested": Overlay.nodeHighlightRequestedPayload;
1559615732
"Overlay.screenshotRequested": Overlay.screenshotRequestedPayload;
@@ -15601,6 +15737,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1560115737
"Page.frameClearedScheduledNavigation": Page.frameClearedScheduledNavigationPayload;
1560215738
"Page.frameDetached": Page.frameDetachedPayload;
1560315739
"Page.frameNavigated": Page.frameNavigatedPayload;
15740+
"Page.documentOpened": Page.documentOpenedPayload;
1560415741
"Page.frameResized": Page.frameResizedPayload;
1560515742
"Page.frameRequestedNavigation": Page.frameRequestedNavigationPayload;
1560615743
"Page.frameScheduledNavigation": Page.frameScheduledNavigationPayload;
@@ -15689,6 +15826,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1568915826
"Accessibility.enable": Accessibility.enableParameters;
1569015827
"Accessibility.getPartialAXTree": Accessibility.getPartialAXTreeParameters;
1569115828
"Accessibility.getFullAXTree": Accessibility.getFullAXTreeParameters;
15829+
"Accessibility.getChildAXNodes": Accessibility.getChildAXNodesParameters;
1569215830
"Accessibility.queryAXTree": Accessibility.queryAXTreeParameters;
1569315831
"Animation.disable": Animation.disableParameters;
1569415832
"Animation.enable": Animation.enableParameters;
@@ -16193,6 +16331,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1619316331
"Accessibility.enable": Accessibility.enableReturnValue;
1619416332
"Accessibility.getPartialAXTree": Accessibility.getPartialAXTreeReturnValue;
1619516333
"Accessibility.getFullAXTree": Accessibility.getFullAXTreeReturnValue;
16334+
"Accessibility.getChildAXNodes": Accessibility.getChildAXNodesReturnValue;
1619616335
"Accessibility.queryAXTree": Accessibility.queryAXTreeReturnValue;
1619716336
"Animation.disable": Animation.disableReturnValue;
1619816337
"Animation.enable": Animation.enableReturnValue;

0 commit comments

Comments
 (0)