devtools-protocol 0.0.971358 → 0.0.973690
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.
@@ -399,13 +399,6 @@
|
|
399
399
|
"optional": true,
|
400
400
|
"type": "integer"
|
401
401
|
},
|
402
|
-
{
|
403
|
-
"name": "max_depth",
|
404
|
-
"description": "Deprecated. This parameter has been renamed to `depth`. If depth is not provided, max_depth will be used.",
|
405
|
-
"deprecated": true,
|
406
|
-
"optional": true,
|
407
|
-
"type": "integer"
|
408
|
-
},
|
409
402
|
{
|
410
403
|
"name": "frameId",
|
411
404
|
"description": "The frame for whose document the AX tree should be retrieved.\nIf omited, the root frame is used.",
|
@@ -1604,7 +1597,7 @@
|
|
1604
1597
|
},
|
1605
1598
|
{
|
1606
1599
|
"id": "FederatedAuthRequestIssueReason",
|
1607
|
-
"description": "Represents the failure reason when a federated authentication reason fails.\nShould be updated alongside RequestIdTokenStatus in\nthird_party/blink/public/mojom/
|
1600
|
+
"description": "Represents the failure reason when a federated authentication reason fails.\nShould be updated alongside RequestIdTokenStatus in\nthird_party/blink/public/mojom/devtools/inspector_issue.mojom to include\nall cases except for success.",
|
1608
1601
|
"type": "string",
|
1609
1602
|
"enum": [
|
1610
1603
|
"ApprovalDeclined",
|
@@ -4436,10 +4429,11 @@
|
|
4436
4429
|
"scrollbar-corner",
|
4437
4430
|
"resizer",
|
4438
4431
|
"input-list-button",
|
4439
|
-
"transition",
|
4440
|
-
"transition-container",
|
4441
|
-
"transition-
|
4442
|
-
"transition-
|
4432
|
+
"page-transition",
|
4433
|
+
"page-transition-container",
|
4434
|
+
"page-transition-image-wrapper",
|
4435
|
+
"page-transition-outgoing-image",
|
4436
|
+
"page-transition-incoming-image"
|
4443
4437
|
]
|
4444
4438
|
},
|
4445
4439
|
{
|
@@ -8156,6 +8150,18 @@
|
|
8156
8150
|
"$ref": "UserAgentMetadata"
|
8157
8151
|
}
|
8158
8152
|
]
|
8153
|
+
},
|
8154
|
+
{
|
8155
|
+
"name": "setAutomationOverride",
|
8156
|
+
"description": "Allows overriding the automation flag.",
|
8157
|
+
"experimental": true,
|
8158
|
+
"parameters": [
|
8159
|
+
{
|
8160
|
+
"name": "enabled",
|
8161
|
+
"description": "Whether the override should be enabled.",
|
8162
|
+
"type": "boolean"
|
8163
|
+
}
|
8164
|
+
]
|
8159
8165
|
}
|
8160
8166
|
],
|
8161
8167
|
"events": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -214,8 +214,6 @@ experimental domain Accessibility
|
|
214
214
|
# The maximum depth at which descendants of the root node should be retrieved.
|
215
215
|
# If omitted, the full tree is returned.
|
216
216
|
optional integer depth
|
217
|
-
# Deprecated. This parameter has been renamed to `depth`. If depth is not provided, max_depth will be used.
|
218
|
-
deprecated optional integer max_depth
|
219
217
|
# The frame for whose document the AX tree should be retrieved.
|
220
218
|
# If omited, the root frame is used.
|
221
219
|
optional Page.FrameId frameId
|
@@ -780,7 +778,7 @@ experimental domain Audits
|
|
780
778
|
|
781
779
|
# Represents the failure reason when a federated authentication reason fails.
|
782
780
|
# Should be updated alongside RequestIdTokenStatus in
|
783
|
-
# third_party/blink/public/mojom/
|
781
|
+
# third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
784
782
|
# all cases except for success.
|
785
783
|
type FederatedAuthRequestIssueReason extends string
|
786
784
|
enum
|
@@ -2098,10 +2096,11 @@ domain DOM
|
|
2098
2096
|
scrollbar-corner
|
2099
2097
|
resizer
|
2100
2098
|
input-list-button
|
2101
|
-
transition
|
2102
|
-
transition-container
|
2103
|
-
transition-
|
2104
|
-
transition-
|
2099
|
+
page-transition
|
2100
|
+
page-transition-container
|
2101
|
+
page-transition-image-wrapper
|
2102
|
+
page-transition-outgoing-image
|
2103
|
+
page-transition-incoming-image
|
2105
2104
|
|
2106
2105
|
# Shadow root type.
|
2107
2106
|
type ShadowRootType extends string
|
@@ -3724,6 +3723,12 @@ domain Emulation
|
|
3724
3723
|
# To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData
|
3725
3724
|
experimental optional UserAgentMetadata userAgentMetadata
|
3726
3725
|
|
3726
|
+
# Allows overriding the automation flag.
|
3727
|
+
experimental command setAutomationOverride
|
3728
|
+
parameters
|
3729
|
+
# Whether the override should be enabled.
|
3730
|
+
boolean enabled
|
3731
|
+
|
3727
3732
|
# This domain provides experimental commands only supported in headless mode.
|
3728
3733
|
experimental domain HeadlessExperimental
|
3729
3734
|
depends on Page
|
@@ -2547,6 +2547,13 @@ export namespace ProtocolMapping {
|
|
2547
2547
|
paramsType: [Protocol.Emulation.SetUserAgentOverrideRequest];
|
2548
2548
|
returnType: void;
|
2549
2549
|
};
|
2550
|
+
/**
|
2551
|
+
* Allows overriding the automation flag.
|
2552
|
+
*/
|
2553
|
+
'Emulation.setAutomationOverride': {
|
2554
|
+
paramsType: [Protocol.Emulation.SetAutomationOverrideRequest];
|
2555
|
+
returnType: void;
|
2556
|
+
};
|
2550
2557
|
/**
|
2551
2558
|
* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
|
2552
2559
|
* screenshot from the resulting frame. Requires that the target was created with enabled
|
@@ -1770,6 +1770,11 @@ export namespace ProtocolProxyApi {
|
|
1770
1770
|
*/
|
1771
1771
|
setUserAgentOverride(params: Protocol.Emulation.SetUserAgentOverrideRequest): Promise<void>;
|
1772
1772
|
|
1773
|
+
/**
|
1774
|
+
* Allows overriding the automation flag.
|
1775
|
+
*/
|
1776
|
+
setAutomationOverride(params: Protocol.Emulation.SetAutomationOverrideRequest): Promise<void>;
|
1777
|
+
|
1773
1778
|
/**
|
1774
1779
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
1775
1780
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -2682,10 +2682,6 @@ export namespace Protocol {
|
|
2682
2682
|
* If omitted, the full tree is returned.
|
2683
2683
|
*/
|
2684
2684
|
depth?: integer;
|
2685
|
-
/**
|
2686
|
-
* Deprecated. This parameter has been renamed to `depth`. If depth is not provided, max_depth will be used.
|
2687
|
-
*/
|
2688
|
-
max_depth?: integer;
|
2689
2685
|
/**
|
2690
2686
|
* The frame for whose document the AX tree should be retrieved.
|
2691
2687
|
* If omited, the root frame is used.
|
@@ -3339,7 +3335,7 @@ export namespace Protocol {
|
|
3339
3335
|
/**
|
3340
3336
|
* Represents the failure reason when a federated authentication reason fails.
|
3341
3337
|
* Should be updated alongside RequestIdTokenStatus in
|
3342
|
-
* third_party/blink/public/mojom/
|
3338
|
+
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
3343
3339
|
* all cases except for success.
|
3344
3340
|
*/
|
3345
3341
|
export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'ManifestHttpNotFound' | 'ManifestNoResponse' | 'ManifestInvalidResponse' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
|
@@ -5118,7 +5114,7 @@ export namespace Protocol {
|
|
5118
5114
|
/**
|
5119
5115
|
* Pseudo element type.
|
5120
5116
|
*/
|
5121
|
-
export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'transition' | 'transition-container' | 'transition-
|
5117
|
+
export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'page-transition' | 'page-transition-container' | 'page-transition-image-wrapper' | 'page-transition-outgoing-image' | 'page-transition-incoming-image');
|
5122
5118
|
|
5123
5119
|
/**
|
5124
5120
|
* Shadow root type.
|
@@ -7491,6 +7487,13 @@ export namespace Protocol {
|
|
7491
7487
|
*/
|
7492
7488
|
userAgentMetadata?: UserAgentMetadata;
|
7493
7489
|
}
|
7490
|
+
|
7491
|
+
export interface SetAutomationOverrideRequest {
|
7492
|
+
/**
|
7493
|
+
* Whether the override should be enabled.
|
7494
|
+
*/
|
7495
|
+
enabled: boolean;
|
7496
|
+
}
|
7494
7497
|
}
|
7495
7498
|
|
7496
7499
|
/**
|