devtools-protocol 0.0.1716261 → 0.0.1718299

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.
@@ -13570,6 +13570,7 @@
13570
13570
  {
13571
13571
  "name": "resolveBlob",
13572
13572
  "description": "Return UUID of Blob object specified by a remote object id.",
13573
+ "deprecated": true,
13573
13574
  "parameters": [
13574
13575
  {
13575
13576
  "name": "objectId",
@@ -22152,6 +22153,7 @@
22152
22153
  "sync-xhr",
22153
22154
  "tools",
22154
22155
  "translator",
22156
+ "unbounded-element",
22155
22157
  "unload",
22156
22158
  "usb",
22157
22159
  "usb-unrestricted",
@@ -25057,6 +25059,19 @@
25057
25059
  "type": "string"
25058
25060
  }
25059
25061
  ]
25062
+ },
25063
+ {
25064
+ "name": "setInputVisualization",
25065
+ "description": "Configures input visualization on the page.",
25066
+ "experimental": true,
25067
+ "parameters": [
25068
+ {
25069
+ "name": "clicks",
25070
+ "description": "Whether to enable click visualization.",
25071
+ "optional": true,
25072
+ "type": "boolean"
25073
+ }
25074
+ ]
25060
25075
  }
25061
25076
  ],
25062
25077
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1716261",
3
+ "version": "0.0.1718299",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -36,7 +36,7 @@ domain IO
36
36
  boolean eof
37
37
 
38
38
  # Return UUID of Blob object specified by a remote object id.
39
- command resolveBlob
39
+ deprecated command resolveBlob
40
40
  parameters
41
41
  # Object id of a Blob object wrapper.
42
42
  Runtime.RemoteObjectId objectId
@@ -164,6 +164,7 @@ domain Page
164
164
  sync-xhr
165
165
  tools
166
166
  translator
167
+ unbounded-element
167
168
  unload
168
169
  usb
169
170
  usb-unrestricted
@@ -1827,3 +1828,10 @@ domain Page
1827
1828
  # The format is defined by the `AnnotatedPageContent` message in
1828
1829
  # components/optimization_guide/proto/features/common_quality_data.proto
1829
1830
  binary content
1831
+
1832
+ # Configures input visualization on the page.
1833
+ experimental command setInputVisualization
1834
+ parameters
1835
+ # Whether to enable click visualization.
1836
+ optional boolean clicks
1837
+
@@ -3970,6 +3970,7 @@ export namespace ProtocolMapping {
3970
3970
  };
3971
3971
  /**
3972
3972
  * Return UUID of Blob object specified by a remote object id.
3973
+ * @deprecated
3973
3974
  */
3974
3975
  'IO.resolveBlob': {
3975
3976
  paramsType: [Protocol.IO.ResolveBlobRequest];
@@ -5481,6 +5482,14 @@ export namespace ProtocolMapping {
5481
5482
  paramsType: [Protocol.Page.GetAnnotatedPageContentRequest?];
5482
5483
  returnType: Protocol.Page.GetAnnotatedPageContentResponse;
5483
5484
  };
5485
+ /**
5486
+ * Configures input visualization on the page.
5487
+ * @experimental
5488
+ */
5489
+ 'Page.setInputVisualization': {
5490
+ paramsType: [Protocol.Page.SetInputVisualizationRequest?];
5491
+ returnType: void;
5492
+ };
5484
5493
  /**
5485
5494
  * Disable collecting and reporting metrics.
5486
5495
  */
@@ -2774,6 +2774,7 @@ export namespace ProtocolProxyApi {
2774
2774
 
2775
2775
  /**
2776
2776
  * Return UUID of Blob object specified by a remote object id.
2777
+ * @deprecated
2777
2778
  */
2778
2779
  resolveBlob(params: Protocol.IO.ResolveBlobRequest): Promise<Protocol.IO.ResolveBlobResponse>;
2779
2780
 
@@ -4281,6 +4282,12 @@ export namespace ProtocolProxyApi {
4281
4282
  */
4282
4283
  getAnnotatedPageContent(params: Protocol.Page.GetAnnotatedPageContentRequest): Promise<Protocol.Page.GetAnnotatedPageContentResponse>;
4283
4284
 
4285
+ /**
4286
+ * Configures input visualization on the page.
4287
+ * @experimental
4288
+ */
4289
+ setInputVisualization(params: Protocol.Page.SetInputVisualizationRequest): Promise<void>;
4290
+
4284
4291
  on(event: 'domContentEventFired', listener: (params: Protocol.Page.DomContentEventFiredEvent) => void): void;
4285
4292
 
4286
4293
  /**
@@ -2924,6 +2924,7 @@ export namespace ProtocolTestsProxyApi {
2924
2924
 
2925
2925
  /**
2926
2926
  * Return UUID of Blob object specified by a remote object id.
2927
+ * @deprecated
2927
2928
  */
2928
2929
  resolveBlob(params: Protocol.IO.ResolveBlobRequest): Promise<{id: number, result: Protocol.IO.ResolveBlobResponse, sessionId: string}>;
2929
2930
 
@@ -4555,6 +4556,12 @@ export namespace ProtocolTestsProxyApi {
4555
4556
  */
4556
4557
  getAnnotatedPageContent(params: Protocol.Page.GetAnnotatedPageContentRequest): Promise<{id: number, result: Protocol.Page.GetAnnotatedPageContentResponse, sessionId: string}>;
4557
4558
 
4559
+ /**
4560
+ * Configures input visualization on the page.
4561
+ * @experimental
4562
+ */
4563
+ setInputVisualization(params: Protocol.Page.SetInputVisualizationRequest): Promise<{id: number, result: void, sessionId: string}>;
4564
+
4558
4565
  onDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
4559
4566
  offDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
4560
4567
  onceDomContentEventFired(eventMatcher?: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => boolean): Promise<{ params: Protocol.Page.DomContentEventFiredEvent }>;
@@ -16878,7 +16878,7 @@ export namespace Protocol {
16878
16878
  * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
16879
16879
  * @experimental
16880
16880
  */
16881
- export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'haptics' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'publickey-credentials-remote-client-data-json' | 'rewriter' | 'screen-wake-lock' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'tools' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'webnn' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
16881
+ export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'haptics' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'publickey-credentials-remote-client-data-json' | 'rewriter' | 'screen-wake-lock' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'tools' | 'translator' | 'unbounded-element' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'webnn' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
16882
16882
 
16883
16883
  /**
16884
16884
  * Reason for a permissions policy feature to be disabled.
@@ -18588,6 +18588,13 @@ export namespace Protocol {
18588
18588
  content: string;
18589
18589
  }
18590
18590
 
18591
+ export interface SetInputVisualizationRequest {
18592
+ /**
18593
+ * Whether to enable click visualization.
18594
+ */
18595
+ clicks?: boolean;
18596
+ }
18597
+
18591
18598
  export interface DomContentEventFiredEvent {
18592
18599
  timestamp: Network.MonotonicTime;
18593
18600
  }