Skip to content

Commit 9801be6

Browse files
feat(chromium): roll to 815036 (#4099)
1 parent 80773fa commit 9801be6

File tree

3 files changed

+125
-7
lines changed

3 files changed

+125
-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-87.0.4271.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-82.0b9-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-88.0.4287.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-82.0b9-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 -->87.0.4271.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
11+
| Chromium <!-- GEN:chromium-version -->88.0.4287.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1212
| WebKit 14.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1313
| Firefox <!-- GEN:firefox-version -->82.0b9<!-- 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": "808777",
6+
"revision": "815036",
77
"download": true
88
},
99
{

src/server/chromium/protocol.ts

Lines changed: 122 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,42 @@ children, if requested.
211211
export type getFullAXTreeReturnValue = {
212212
nodes: AXNode[];
213213
}
214+
/**
215+
* Query a DOM node's accessibility subtree for accessible name and role.
216+
This command computes the name and role for all nodes in the subtree, including those that are
217+
ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
218+
node is specified, or the DOM node does not exist, the command returns an error. If neither
219+
`accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
220+
*/
221+
export type queryAXTreeParameters = {
222+
/**
223+
* Identifier of the node for the root to query.
224+
*/
225+
nodeId?: DOM.NodeId;
226+
/**
227+
* Identifier of the backend node for the root to query.
228+
*/
229+
backendNodeId?: DOM.BackendNodeId;
230+
/**
231+
* JavaScript object id of the node wrapper for the root to query.
232+
*/
233+
objectId?: Runtime.RemoteObjectId;
234+
/**
235+
* Find nodes with this computed name.
236+
*/
237+
accessibleName?: string;
238+
/**
239+
* Find nodes with this computed role.
240+
*/
241+
role?: string;
242+
}
243+
export type queryAXTreeReturnValue = {
244+
/**
245+
* A list of `Accessibility.AXNode` matching the specified attributes,
246+
including nodes that are ignored for accessibility.
247+
*/
248+
nodes: AXNode[];
249+
}
214250
}
215251

216252
export module Animation {
@@ -6946,6 +6982,11 @@ If the opcode isn't 1, then payloadData is a base64 encoded string representing
69466982
module) (0-based).
69476983
*/
69486984
lineNumber?: number;
6985+
/**
6986+
* Initiator column number, set for Parser type or for Script type (when script is importing
6987+
module) (0-based).
6988+
*/
6989+
columnNumber?: number;
69496990
}
69506991
/**
69516992
* Cookie object
@@ -7276,6 +7317,34 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
72767317
coop: CrossOriginOpenerPolicyStatus;
72777318
coep: CrossOriginEmbedderPolicyStatus;
72787319
}
7320+
/**
7321+
* An object providing the result of a network resource load.
7322+
*/
7323+
export interface LoadNetworkResourcePageResult {
7324+
success: boolean;
7325+
/**
7326+
* Optional values used for error reporting.
7327+
*/
7328+
netError?: number;
7329+
netErrorName?: string;
7330+
httpStatusCode?: number;
7331+
/**
7332+
* If successful, one of the following two fields holds the result.
7333+
*/
7334+
stream?: IO.StreamHandle;
7335+
/**
7336+
* Response headers.
7337+
*/
7338+
headers?: Network.Headers;
7339+
}
7340+
/**
7341+
* An options object that may be extended later to better support CORS,
7342+
CORB and streaming.
7343+
*/
7344+
export interface LoadNetworkResourceOptions {
7345+
disableCache: boolean;
7346+
includeCredentials: boolean;
7347+
}
72797348

72807349
/**
72817350
* Fired when data chunk was received over the network.
@@ -8116,7 +8185,7 @@ default domain and path values of the created cookie.
81168185
}
81178186
export type setCookieReturnValue = {
81188187
/**
8119-
* True if successfully set cookie.
8188+
* Always set to true. If an error occurs, the response indicates protocol error.
81208189
*/
81218190
success: boolean;
81228191
}
@@ -8216,6 +8285,26 @@ continueInterceptedRequest call.
82168285
export type getSecurityIsolationStatusReturnValue = {
82178286
status: SecurityIsolationStatus;
82188287
}
8288+
/**
8289+
* Fetches the resource and returns the content.
8290+
*/
8291+
export type loadNetworkResourceParameters = {
8292+
/**
8293+
* Frame id to get the resource for.
8294+
*/
8295+
frameId: Page.FrameId;
8296+
/**
8297+
* URL of the resource to get content for.
8298+
*/
8299+
url: string;
8300+
/**
8301+
* Options for the request.
8302+
*/
8303+
options: LoadNetworkResourceOptions;
8304+
}
8305+
export type loadNetworkResourceReturnValue = {
8306+
resource: LoadNetworkResourcePageResult;
8307+
}
82198308
}
82208309

82218310
/**
@@ -11275,9 +11364,13 @@ supported.
1127511364
*/
1127611365
openerId?: TargetID;
1127711366
/**
11278-
* Whether the opened window has access to the originating window.
11367+
* Whether the target has access to the originating window.
1127911368
*/
1128011369
canAccessOpener: boolean;
11370+
/**
11371+
* Frame id of originating window (is only set if target has an opener).
11372+
*/
11373+
openerFrameId?: Page.FrameId;
1128111374
browserContextId?: Browser.BrowserContextID;
1128211375
}
1128311376
export interface RemoteLocation {
@@ -11403,6 +11496,9 @@ and eventually retire it. See crbug.com/991325.
1140311496
targetId: TargetID;
1140411497
}
1140511498
export type closeTargetReturnValue = {
11499+
/**
11500+
* Always set to true. If an error occurs, the response indicates protocol error.
11501+
*/
1140611502
success: boolean;
1140711503
}
1140811504
/**
@@ -12405,6 +12501,12 @@ API.
1240512501
* Defaults to false.
1240612502
*/
1240712503
hasUserVerification?: boolean;
12504+
/**
12505+
* If set to true, the authenticator will support the largeBlob extension.
12506+
https://w3c.github.io/webauthn#largeBlob
12507+
Defaults to false.
12508+
*/
12509+
hasLargeBlob?: boolean;
1240812510
/**
1240912511
* If set to true, tests of user presence will succeed immediately.
1241012512
Otherwise, they will not be resolved. Defaults to true.
@@ -15141,15 +15243,27 @@ Will cancel the termination when the outer-most script execution ends.
1514115243
* If executionContextId is empty, adds binding with the given name on the
1514215244
global objects of all inspected contexts, including those created later,
1514315245
bindings survive reloads.
15144-
If executionContextId is specified, adds binding only on global object of
15145-
given execution context.
1514615246
Binding function takes exactly one argument, this argument should be string,
1514715247
in case of any other input, function throws an exception.
1514815248
Each binding function call produces Runtime.bindingCalled notification.
1514915249
*/
1515015250
export type addBindingParameters = {
1515115251
name: string;
15252+
/**
15253+
* If specified, the binding would only be exposed to the specified
15254+
execution context. If omitted and `executionContextName` is not set,
15255+
the binding is exposed to all execution contexts of the target.
15256+
This parameter is mutually exclusive with `executionContextName`.
15257+
*/
1515215258
executionContextId?: ExecutionContextId;
15259+
/**
15260+
* If specified, the binding is exposed to the executionContext with
15261+
matching name, even for contexts created after the binding is added.
15262+
See also `ExecutionContext.name` and `worldName` parameter to
15263+
`Page.addScriptToEvaluateOnNewDocument`.
15264+
This parameter is mutually exclusive with `executionContextId`.
15265+
*/
15266+
executionContextName?: string;
1515315267
}
1515415268
export type addBindingReturnValue = {
1515515269
}
@@ -15356,6 +15470,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1535615470
"Accessibility.enable": Accessibility.enableParameters;
1535715471
"Accessibility.getPartialAXTree": Accessibility.getPartialAXTreeParameters;
1535815472
"Accessibility.getFullAXTree": Accessibility.getFullAXTreeParameters;
15473+
"Accessibility.queryAXTree": Accessibility.queryAXTreeParameters;
1535915474
"Animation.disable": Animation.disableParameters;
1536015475
"Animation.enable": Animation.enableParameters;
1536115476
"Animation.getCurrentTime": Animation.getCurrentTimeParameters;
@@ -15603,6 +15718,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1560315718
"Network.setRequestInterception": Network.setRequestInterceptionParameters;
1560415719
"Network.setUserAgentOverride": Network.setUserAgentOverrideParameters;
1560515720
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusParameters;
15721+
"Network.loadNetworkResource": Network.loadNetworkResourceParameters;
1560615722
"Overlay.disable": Overlay.disableParameters;
1560715723
"Overlay.enable": Overlay.enableParameters;
1560815724
"Overlay.getHighlightObjectForTest": Overlay.getHighlightObjectForTestParameters;
@@ -15853,6 +15969,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1585315969
"Accessibility.enable": Accessibility.enableReturnValue;
1585415970
"Accessibility.getPartialAXTree": Accessibility.getPartialAXTreeReturnValue;
1585515971
"Accessibility.getFullAXTree": Accessibility.getFullAXTreeReturnValue;
15972+
"Accessibility.queryAXTree": Accessibility.queryAXTreeReturnValue;
1585615973
"Animation.disable": Animation.disableReturnValue;
1585715974
"Animation.enable": Animation.enableReturnValue;
1585815975
"Animation.getCurrentTime": Animation.getCurrentTimeReturnValue;
@@ -16100,6 +16217,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1610016217
"Network.setRequestInterception": Network.setRequestInterceptionReturnValue;
1610116218
"Network.setUserAgentOverride": Network.setUserAgentOverrideReturnValue;
1610216219
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusReturnValue;
16220+
"Network.loadNetworkResource": Network.loadNetworkResourceReturnValue;
1610316221
"Overlay.disable": Overlay.disableReturnValue;
1610416222
"Overlay.enable": Overlay.enableReturnValue;
1610516223
"Overlay.getHighlightObjectForTest": Overlay.getHighlightObjectForTestReturnValue;

0 commit comments

Comments
 (0)