devtools-protocol 0.0.1716261 → 0.0.1717327
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.
- package/json/browser_protocol.json +14 -0
- package/package.json +1 -1
- package/pdl/domains/IO.pdl +1 -1
- package/pdl/domains/Page.pdl +7 -0
- package/types/protocol-mapping.d.ts +9 -0
- package/types/protocol-proxy-api.d.ts +7 -0
- package/types/protocol-tests-proxy-api.d.ts +7 -0
- package/types/protocol.d.ts +7 -0
|
@@ -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",
|
|
@@ -25057,6 +25058,19 @@
|
|
|
25057
25058
|
"type": "string"
|
|
25058
25059
|
}
|
|
25059
25060
|
]
|
|
25061
|
+
},
|
|
25062
|
+
{
|
|
25063
|
+
"name": "setInputVisualization",
|
|
25064
|
+
"description": "Configures input visualization on the page.",
|
|
25065
|
+
"experimental": true,
|
|
25066
|
+
"parameters": [
|
|
25067
|
+
{
|
|
25068
|
+
"name": "clicks",
|
|
25069
|
+
"description": "Whether to enable click visualization.",
|
|
25070
|
+
"optional": true,
|
|
25071
|
+
"type": "boolean"
|
|
25072
|
+
}
|
|
25073
|
+
]
|
|
25060
25074
|
}
|
|
25061
25075
|
],
|
|
25062
25076
|
"events": [
|
package/package.json
CHANGED
package/pdl/domains/IO.pdl
CHANGED
package/pdl/domains/Page.pdl
CHANGED
|
@@ -1827,3 +1827,10 @@ domain Page
|
|
|
1827
1827
|
# The format is defined by the `AnnotatedPageContent` message in
|
|
1828
1828
|
# components/optimization_guide/proto/features/common_quality_data.proto
|
|
1829
1829
|
binary content
|
|
1830
|
+
|
|
1831
|
+
# Configures input visualization on the page.
|
|
1832
|
+
experimental command setInputVisualization
|
|
1833
|
+
parameters
|
|
1834
|
+
# Whether to enable click visualization.
|
|
1835
|
+
optional boolean clicks
|
|
1836
|
+
|
|
@@ -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 }>;
|
package/types/protocol.d.ts
CHANGED
|
@@ -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
|
}
|