@@ -211,6 +211,42 @@ children, if requested.
211
211
export type getFullAXTreeReturnValue = {
212
212
nodes : AXNode [ ] ;
213
213
}
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
+ }
214
250
}
215
251
216
252
export module Animation {
@@ -6946,6 +6982,11 @@ If the opcode isn't 1, then payloadData is a base64 encoded string representing
6946
6982
module) (0-based).
6947
6983
*/
6948
6984
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 ;
6949
6990
}
6950
6991
/**
6951
6992
* Cookie object
@@ -7276,6 +7317,34 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
7276
7317
coop : CrossOriginOpenerPolicyStatus ;
7277
7318
coep : CrossOriginEmbedderPolicyStatus ;
7278
7319
}
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
+ }
7279
7348
7280
7349
/**
7281
7350
* Fired when data chunk was received over the network.
@@ -8116,7 +8185,7 @@ default domain and path values of the created cookie.
8116
8185
}
8117
8186
export type setCookieReturnValue = {
8118
8187
/**
8119
- * True if successfully set cookie .
8188
+ * Always set to true. If an error occurs, the response indicates protocol error .
8120
8189
*/
8121
8190
success : boolean ;
8122
8191
}
@@ -8216,6 +8285,26 @@ continueInterceptedRequest call.
8216
8285
export type getSecurityIsolationStatusReturnValue = {
8217
8286
status : SecurityIsolationStatus ;
8218
8287
}
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
+ }
8219
8308
}
8220
8309
8221
8310
/**
@@ -11275,9 +11364,13 @@ supported.
11275
11364
*/
11276
11365
openerId ?: TargetID ;
11277
11366
/**
11278
- * Whether the opened window has access to the originating window.
11367
+ * Whether the target has access to the originating window.
11279
11368
*/
11280
11369
canAccessOpener : boolean ;
11370
+ /**
11371
+ * Frame id of originating window (is only set if target has an opener).
11372
+ */
11373
+ openerFrameId ?: Page . FrameId ;
11281
11374
browserContextId ?: Browser . BrowserContextID ;
11282
11375
}
11283
11376
export interface RemoteLocation {
@@ -11403,6 +11496,9 @@ and eventually retire it. See crbug.com/991325.
11403
11496
targetId : TargetID ;
11404
11497
}
11405
11498
export type closeTargetReturnValue = {
11499
+ /**
11500
+ * Always set to true. If an error occurs, the response indicates protocol error.
11501
+ */
11406
11502
success : boolean ;
11407
11503
}
11408
11504
/**
@@ -12405,6 +12501,12 @@ API.
12405
12501
* Defaults to false.
12406
12502
*/
12407
12503
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 ;
12408
12510
/**
12409
12511
* If set to true, tests of user presence will succeed immediately.
12410
12512
Otherwise, they will not be resolved. Defaults to true.
@@ -15141,15 +15243,27 @@ Will cancel the termination when the outer-most script execution ends.
15141
15243
* If executionContextId is empty, adds binding with the given name on the
15142
15244
global objects of all inspected contexts, including those created later,
15143
15245
bindings survive reloads.
15144
- If executionContextId is specified, adds binding only on global object of
15145
- given execution context.
15146
15246
Binding function takes exactly one argument, this argument should be string,
15147
15247
in case of any other input, function throws an exception.
15148
15248
Each binding function call produces Runtime.bindingCalled notification.
15149
15249
*/
15150
15250
export type addBindingParameters = {
15151
15251
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
+ */
15152
15258
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 ;
15153
15267
}
15154
15268
export type addBindingReturnValue = {
15155
15269
}
@@ -15356,6 +15470,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
15356
15470
"Accessibility.enable" : Accessibility . enableParameters ;
15357
15471
"Accessibility.getPartialAXTree" : Accessibility . getPartialAXTreeParameters ;
15358
15472
"Accessibility.getFullAXTree" : Accessibility . getFullAXTreeParameters ;
15473
+ "Accessibility.queryAXTree" : Accessibility . queryAXTreeParameters ;
15359
15474
"Animation.disable" : Animation . disableParameters ;
15360
15475
"Animation.enable" : Animation . enableParameters ;
15361
15476
"Animation.getCurrentTime" : Animation . getCurrentTimeParameters ;
@@ -15603,6 +15718,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
15603
15718
"Network.setRequestInterception" : Network . setRequestInterceptionParameters ;
15604
15719
"Network.setUserAgentOverride" : Network . setUserAgentOverrideParameters ;
15605
15720
"Network.getSecurityIsolationStatus" : Network . getSecurityIsolationStatusParameters ;
15721
+ "Network.loadNetworkResource" : Network . loadNetworkResourceParameters ;
15606
15722
"Overlay.disable" : Overlay . disableParameters ;
15607
15723
"Overlay.enable" : Overlay . enableParameters ;
15608
15724
"Overlay.getHighlightObjectForTest" : Overlay . getHighlightObjectForTestParameters ;
@@ -15853,6 +15969,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
15853
15969
"Accessibility.enable" : Accessibility . enableReturnValue ;
15854
15970
"Accessibility.getPartialAXTree" : Accessibility . getPartialAXTreeReturnValue ;
15855
15971
"Accessibility.getFullAXTree" : Accessibility . getFullAXTreeReturnValue ;
15972
+ "Accessibility.queryAXTree" : Accessibility . queryAXTreeReturnValue ;
15856
15973
"Animation.disable" : Animation . disableReturnValue ;
15857
15974
"Animation.enable" : Animation . enableReturnValue ;
15858
15975
"Animation.getCurrentTime" : Animation . getCurrentTimeReturnValue ;
@@ -16100,6 +16217,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
16100
16217
"Network.setRequestInterception" : Network . setRequestInterceptionReturnValue ;
16101
16218
"Network.setUserAgentOverride" : Network . setUserAgentOverrideReturnValue ;
16102
16219
"Network.getSecurityIsolationStatus" : Network . getSecurityIsolationStatusReturnValue ;
16220
+ "Network.loadNetworkResource" : Network . loadNetworkResourceReturnValue ;
16103
16221
"Overlay.disable" : Overlay . disableReturnValue ;
16104
16222
"Overlay.enable" : Overlay . enableReturnValue ;
16105
16223
"Overlay.getHighlightObjectForTest" : Overlay . getHighlightObjectForTestReturnValue ;
0 commit comments