devtools-protocol 0.0.939359 → 0.0.939969
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -423,6 +423,59 @@
|
|
|
423
423
|
}
|
|
424
424
|
]
|
|
425
425
|
},
|
|
426
|
+
{
|
|
427
|
+
"name": "getRootAXNode",
|
|
428
|
+
"description": "Fetches the root node.\nRequires `enable()` to have been called previously.",
|
|
429
|
+
"experimental": true,
|
|
430
|
+
"parameters": [
|
|
431
|
+
{
|
|
432
|
+
"name": "frameId",
|
|
433
|
+
"description": "The frame in whose document the node resides.\nIf omitted, the root frame is used.",
|
|
434
|
+
"optional": true,
|
|
435
|
+
"$ref": "Page.FrameId"
|
|
436
|
+
}
|
|
437
|
+
],
|
|
438
|
+
"returns": [
|
|
439
|
+
{
|
|
440
|
+
"name": "node",
|
|
441
|
+
"$ref": "AXNode"
|
|
442
|
+
}
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "getAXNodeAndAncestors",
|
|
447
|
+
"description": "Fetches a node and all ancestors up to and including the root.\nRequires `enable()` to have been called previously.",
|
|
448
|
+
"experimental": true,
|
|
449
|
+
"parameters": [
|
|
450
|
+
{
|
|
451
|
+
"name": "nodeId",
|
|
452
|
+
"description": "Identifier of the node to get.",
|
|
453
|
+
"optional": true,
|
|
454
|
+
"$ref": "DOM.NodeId"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "backendNodeId",
|
|
458
|
+
"description": "Identifier of the backend node to get.",
|
|
459
|
+
"optional": true,
|
|
460
|
+
"$ref": "DOM.BackendNodeId"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "objectId",
|
|
464
|
+
"description": "JavaScript object id of the node wrapper to get.",
|
|
465
|
+
"optional": true,
|
|
466
|
+
"$ref": "Runtime.RemoteObjectId"
|
|
467
|
+
}
|
|
468
|
+
],
|
|
469
|
+
"returns": [
|
|
470
|
+
{
|
|
471
|
+
"name": "nodes",
|
|
472
|
+
"type": "array",
|
|
473
|
+
"items": {
|
|
474
|
+
"$ref": "AXNode"
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
]
|
|
478
|
+
},
|
|
426
479
|
{
|
|
427
480
|
"name": "getChildAXNodes",
|
|
428
481
|
"description": "Fetches a particular accessibility node by AXNodeId.\nRequires `enable()` to have been called previously.",
|
|
@@ -17800,7 +17853,8 @@
|
|
|
17800
17853
|
},
|
|
17801
17854
|
{
|
|
17802
17855
|
"name": "securityStateChanged",
|
|
17803
|
-
"description": "The security state of the page changed.",
|
|
17856
|
+
"description": "The security state of the page changed. No longer being sent.",
|
|
17857
|
+
"deprecated": true,
|
|
17804
17858
|
"parameters": [
|
|
17805
17859
|
{
|
|
17806
17860
|
"name": "securityState",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -222,6 +222,29 @@ experimental domain Accessibility
|
|
|
222
222
|
returns
|
|
223
223
|
array of AXNode nodes
|
|
224
224
|
|
|
225
|
+
# Fetches the root node.
|
|
226
|
+
# Requires `enable()` to have been called previously.
|
|
227
|
+
experimental command getRootAXNode
|
|
228
|
+
parameters
|
|
229
|
+
# The frame in whose document the node resides.
|
|
230
|
+
# If omitted, the root frame is used.
|
|
231
|
+
optional Page.FrameId frameId
|
|
232
|
+
returns
|
|
233
|
+
AXNode node
|
|
234
|
+
|
|
235
|
+
# Fetches a node and all ancestors up to and including the root.
|
|
236
|
+
# Requires `enable()` to have been called previously.
|
|
237
|
+
experimental command getAXNodeAndAncestors
|
|
238
|
+
parameters
|
|
239
|
+
# Identifier of the node to get.
|
|
240
|
+
optional DOM.NodeId nodeId
|
|
241
|
+
# Identifier of the backend node to get.
|
|
242
|
+
optional DOM.BackendNodeId backendNodeId
|
|
243
|
+
# JavaScript object id of the node wrapper to get.
|
|
244
|
+
optional Runtime.RemoteObjectId objectId
|
|
245
|
+
returns
|
|
246
|
+
array of AXNode nodes
|
|
247
|
+
|
|
225
248
|
# Fetches a particular accessibility node by AXNodeId.
|
|
226
249
|
# Requires `enable()` to have been called previously.
|
|
227
250
|
experimental command getChildAXNodes
|
|
@@ -8351,8 +8374,8 @@ domain Security
|
|
|
8351
8374
|
# Security state information about the page.
|
|
8352
8375
|
VisibleSecurityState visibleSecurityState
|
|
8353
8376
|
|
|
8354
|
-
# The security state of the page changed.
|
|
8355
|
-
event securityStateChanged
|
|
8377
|
+
# The security state of the page changed. No longer being sent.
|
|
8378
|
+
deprecated event securityStateChanged
|
|
8356
8379
|
parameters
|
|
8357
8380
|
# Security state.
|
|
8358
8381
|
SecurityState securityState
|
|
@@ -517,7 +517,7 @@ export namespace ProtocolMapping {
|
|
|
517
517
|
*/
|
|
518
518
|
'Security.visibleSecurityStateChanged': [Protocol.Security.VisibleSecurityStateChangedEvent];
|
|
519
519
|
/**
|
|
520
|
-
* The security state of the page changed.
|
|
520
|
+
* The security state of the page changed. No longer being sent.
|
|
521
521
|
*/
|
|
522
522
|
'Security.securityStateChanged': [Protocol.Security.SecurityStateChangedEvent];
|
|
523
523
|
'ServiceWorker.workerErrorReported': [Protocol.ServiceWorker.WorkerErrorReportedEvent];
|
|
@@ -1243,6 +1243,22 @@ export namespace ProtocolMapping {
|
|
|
1243
1243
|
paramsType: [Protocol.Accessibility.GetFullAXTreeRequest?];
|
|
1244
1244
|
returnType: Protocol.Accessibility.GetFullAXTreeResponse;
|
|
1245
1245
|
};
|
|
1246
|
+
/**
|
|
1247
|
+
* Fetches the root node.
|
|
1248
|
+
* Requires `enable()` to have been called previously.
|
|
1249
|
+
*/
|
|
1250
|
+
'Accessibility.getRootAXNode': {
|
|
1251
|
+
paramsType: [Protocol.Accessibility.GetRootAXNodeRequest?];
|
|
1252
|
+
returnType: Protocol.Accessibility.GetRootAXNodeResponse;
|
|
1253
|
+
};
|
|
1254
|
+
/**
|
|
1255
|
+
* Fetches a node and all ancestors up to and including the root.
|
|
1256
|
+
* Requires `enable()` to have been called previously.
|
|
1257
|
+
*/
|
|
1258
|
+
'Accessibility.getAXNodeAndAncestors': {
|
|
1259
|
+
paramsType: [Protocol.Accessibility.GetAXNodeAndAncestorsRequest?];
|
|
1260
|
+
returnType: Protocol.Accessibility.GetAXNodeAndAncestorsResponse;
|
|
1261
|
+
};
|
|
1246
1262
|
/**
|
|
1247
1263
|
* Fetches a particular accessibility node by AXNodeId.
|
|
1248
1264
|
* Requires `enable()` to have been called previously.
|
|
@@ -626,6 +626,18 @@ export namespace ProtocolProxyApi {
|
|
|
626
626
|
*/
|
|
627
627
|
getFullAXTree(params: Protocol.Accessibility.GetFullAXTreeRequest): Promise<Protocol.Accessibility.GetFullAXTreeResponse>;
|
|
628
628
|
|
|
629
|
+
/**
|
|
630
|
+
* Fetches the root node.
|
|
631
|
+
* Requires `enable()` to have been called previously.
|
|
632
|
+
*/
|
|
633
|
+
getRootAXNode(params: Protocol.Accessibility.GetRootAXNodeRequest): Promise<Protocol.Accessibility.GetRootAXNodeResponse>;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Fetches a node and all ancestors up to and including the root.
|
|
637
|
+
* Requires `enable()` to have been called previously.
|
|
638
|
+
*/
|
|
639
|
+
getAXNodeAndAncestors(params: Protocol.Accessibility.GetAXNodeAndAncestorsRequest): Promise<Protocol.Accessibility.GetAXNodeAndAncestorsResponse>;
|
|
640
|
+
|
|
629
641
|
/**
|
|
630
642
|
* Fetches a particular accessibility node by AXNodeId.
|
|
631
643
|
* Requires `enable()` to have been called previously.
|
|
@@ -3083,7 +3095,7 @@ export namespace ProtocolProxyApi {
|
|
|
3083
3095
|
on(event: 'visibleSecurityStateChanged', listener: (params: Protocol.Security.VisibleSecurityStateChangedEvent) => void): void;
|
|
3084
3096
|
|
|
3085
3097
|
/**
|
|
3086
|
-
* The security state of the page changed.
|
|
3098
|
+
* The security state of the page changed. No longer being sent.
|
|
3087
3099
|
*/
|
|
3088
3100
|
on(event: 'securityStateChanged', listener: (params: Protocol.Security.SecurityStateChangedEvent) => void): void;
|
|
3089
3101
|
|
package/types/protocol.d.ts
CHANGED
|
@@ -2697,6 +2697,37 @@ export namespace Protocol {
|
|
|
2697
2697
|
nodes: AXNode[];
|
|
2698
2698
|
}
|
|
2699
2699
|
|
|
2700
|
+
export interface GetRootAXNodeRequest {
|
|
2701
|
+
/**
|
|
2702
|
+
* The frame in whose document the node resides.
|
|
2703
|
+
* If omitted, the root frame is used.
|
|
2704
|
+
*/
|
|
2705
|
+
frameId?: Page.FrameId;
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
export interface GetRootAXNodeResponse {
|
|
2709
|
+
node: AXNode;
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
export interface GetAXNodeAndAncestorsRequest {
|
|
2713
|
+
/**
|
|
2714
|
+
* Identifier of the node to get.
|
|
2715
|
+
*/
|
|
2716
|
+
nodeId?: DOM.NodeId;
|
|
2717
|
+
/**
|
|
2718
|
+
* Identifier of the backend node to get.
|
|
2719
|
+
*/
|
|
2720
|
+
backendNodeId?: DOM.BackendNodeId;
|
|
2721
|
+
/**
|
|
2722
|
+
* JavaScript object id of the node wrapper to get.
|
|
2723
|
+
*/
|
|
2724
|
+
objectId?: Runtime.RemoteObjectId;
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
export interface GetAXNodeAndAncestorsResponse {
|
|
2728
|
+
nodes: AXNode[];
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2700
2731
|
export interface GetChildAXNodesRequest {
|
|
2701
2732
|
id: AXNodeId;
|
|
2702
2733
|
/**
|
|
@@ -13775,7 +13806,7 @@ export namespace Protocol {
|
|
|
13775
13806
|
}
|
|
13776
13807
|
|
|
13777
13808
|
/**
|
|
13778
|
-
* The security state of the page changed.
|
|
13809
|
+
* The security state of the page changed. No longer being sent.
|
|
13779
13810
|
*/
|
|
13780
13811
|
export interface SecurityStateChangedEvent {
|
|
13781
13812
|
/**
|