devtools-protocol 0.0.973088 → 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.
@@ -8150,6 +8150,18 @@
8150
8150
  "$ref": "UserAgentMetadata"
8151
8151
  }
8152
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
+ ]
8153
8165
  }
8154
8166
  ],
8155
8167
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.973088",
3
+ "version": "0.0.973690",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -3723,6 +3723,12 @@ domain Emulation
3723
3723
  # To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData
3724
3724
  experimental optional UserAgentMetadata userAgentMetadata
3725
3725
 
3726
+ # Allows overriding the automation flag.
3727
+ experimental command setAutomationOverride
3728
+ parameters
3729
+ # Whether the override should be enabled.
3730
+ boolean enabled
3731
+
3726
3732
  # This domain provides experimental commands only supported in headless mode.
3727
3733
  experimental domain HeadlessExperimental
3728
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
  */
@@ -7487,6 +7487,13 @@ export namespace Protocol {
7487
7487
  */
7488
7488
  userAgentMetadata?: UserAgentMetadata;
7489
7489
  }
7490
+
7491
+ export interface SetAutomationOverrideRequest {
7492
+ /**
7493
+ * Whether the override should be enabled.
7494
+ */
7495
+ enabled: boolean;
7496
+ }
7490
7497
  }
7491
7498
 
7492
7499
  /**