devtools-protocol 0.0.938931 → 0.0.939882
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.
|
@@ -308,6 +308,12 @@
|
|
|
308
308
|
"$ref": "AXProperty"
|
|
309
309
|
}
|
|
310
310
|
},
|
|
311
|
+
{
|
|
312
|
+
"name": "parentId",
|
|
313
|
+
"description": "ID for this node's parent.",
|
|
314
|
+
"optional": true,
|
|
315
|
+
"$ref": "AXNodeId"
|
|
316
|
+
},
|
|
311
317
|
{
|
|
312
318
|
"name": "childIds",
|
|
313
319
|
"description": "IDs for each of this node's child nodes.",
|
|
@@ -322,6 +328,12 @@
|
|
|
322
328
|
"description": "The backend ID for the associated DOM node, if any.",
|
|
323
329
|
"optional": true,
|
|
324
330
|
"$ref": "DOM.BackendNodeId"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "frameId",
|
|
334
|
+
"description": "The frame ID for the frame associated with this nodes document.",
|
|
335
|
+
"optional": true,
|
|
336
|
+
"$ref": "Page.FrameId"
|
|
325
337
|
}
|
|
326
338
|
]
|
|
327
339
|
}
|
|
@@ -411,6 +423,59 @@
|
|
|
411
423
|
}
|
|
412
424
|
]
|
|
413
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
|
+
},
|
|
414
479
|
{
|
|
415
480
|
"name": "getChildAXNodes",
|
|
416
481
|
"description": "Fetches a particular accessibility node by AXNodeId.\nRequires `enable()` to have been called previously.",
|
|
@@ -17788,7 +17853,8 @@
|
|
|
17788
17853
|
},
|
|
17789
17854
|
{
|
|
17790
17855
|
"name": "securityStateChanged",
|
|
17791
|
-
"description": "The security state of the page changed.",
|
|
17856
|
+
"description": "The security state of the page changed. No longer being sent.",
|
|
17857
|
+
"deprecated": true,
|
|
17792
17858
|
"parameters": [
|
|
17793
17859
|
{
|
|
17794
17860
|
"name": "securityState",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -176,10 +176,14 @@ experimental domain Accessibility
|
|
|
176
176
|
optional AXValue value
|
|
177
177
|
# All other properties
|
|
178
178
|
optional array of AXProperty properties
|
|
179
|
+
# ID for this node's parent.
|
|
180
|
+
optional AXNodeId parentId
|
|
179
181
|
# IDs for each of this node's child nodes.
|
|
180
182
|
optional array of AXNodeId childIds
|
|
181
183
|
# The backend ID for the associated DOM node, if any.
|
|
182
184
|
optional DOM.BackendNodeId backendDOMNodeId
|
|
185
|
+
# The frame ID for the frame associated with this nodes document.
|
|
186
|
+
optional Page.FrameId frameId
|
|
183
187
|
|
|
184
188
|
# Disables the accessibility domain.
|
|
185
189
|
command disable
|
|
@@ -218,6 +222,29 @@ experimental domain Accessibility
|
|
|
218
222
|
returns
|
|
219
223
|
array of AXNode nodes
|
|
220
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
|
+
|
|
221
248
|
# Fetches a particular accessibility node by AXNodeId.
|
|
222
249
|
# Requires `enable()` to have been called previously.
|
|
223
250
|
experimental command getChildAXNodes
|
|
@@ -8347,8 +8374,8 @@ domain Security
|
|
|
8347
8374
|
# Security state information about the page.
|
|
8348
8375
|
VisibleSecurityState visibleSecurityState
|
|
8349
8376
|
|
|
8350
|
-
# The security state of the page changed.
|
|
8351
|
-
event securityStateChanged
|
|
8377
|
+
# The security state of the page changed. No longer being sent.
|
|
8378
|
+
deprecated event securityStateChanged
|
|
8352
8379
|
parameters
|
|
8353
8380
|
# Security state.
|
|
8354
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
|
@@ -2631,6 +2631,10 @@ export namespace Protocol {
|
|
|
2631
2631
|
* All other properties
|
|
2632
2632
|
*/
|
|
2633
2633
|
properties?: AXProperty[];
|
|
2634
|
+
/**
|
|
2635
|
+
* ID for this node's parent.
|
|
2636
|
+
*/
|
|
2637
|
+
parentId?: AXNodeId;
|
|
2634
2638
|
/**
|
|
2635
2639
|
* IDs for each of this node's child nodes.
|
|
2636
2640
|
*/
|
|
@@ -2639,6 +2643,10 @@ export namespace Protocol {
|
|
|
2639
2643
|
* The backend ID for the associated DOM node, if any.
|
|
2640
2644
|
*/
|
|
2641
2645
|
backendDOMNodeId?: DOM.BackendNodeId;
|
|
2646
|
+
/**
|
|
2647
|
+
* The frame ID for the frame associated with this nodes document.
|
|
2648
|
+
*/
|
|
2649
|
+
frameId?: Page.FrameId;
|
|
2642
2650
|
}
|
|
2643
2651
|
|
|
2644
2652
|
export interface GetPartialAXTreeRequest {
|
|
@@ -2689,6 +2697,37 @@ export namespace Protocol {
|
|
|
2689
2697
|
nodes: AXNode[];
|
|
2690
2698
|
}
|
|
2691
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
|
+
|
|
2692
2731
|
export interface GetChildAXNodesRequest {
|
|
2693
2732
|
id: AXNodeId;
|
|
2694
2733
|
/**
|
|
@@ -13767,7 +13806,7 @@ export namespace Protocol {
|
|
|
13767
13806
|
}
|
|
13768
13807
|
|
|
13769
13808
|
/**
|
|
13770
|
-
* The security state of the page changed.
|
|
13809
|
+
* The security state of the page changed. No longer being sent.
|
|
13771
13810
|
*/
|
|
13772
13811
|
export interface SecurityStateChangedEvent {
|
|
13773
13812
|
/**
|