devtools-protocol 0.0.1550230 → 0.0.1551306
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 +174 -37
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +47 -0
- package/pdl/domains/CSS.pdl +32 -34
- package/pdl/domains/DOM.pdl +12 -0
- package/pdl/domains/Target.pdl +10 -0
- package/types/protocol-mapping.d.ts +14 -0
- package/types/protocol-proxy-api.d.ts +13 -0
- package/types/protocol-tests-proxy-api.d.ts +15 -0
- package/types/protocol.d.ts +111 -35
package/pdl/domains/CSS.pdl
CHANGED
|
@@ -14,8 +14,6 @@ experimental domain CSS
|
|
|
14
14
|
depends on DOM
|
|
15
15
|
depends on Page
|
|
16
16
|
|
|
17
|
-
type StyleSheetId extends string
|
|
18
|
-
|
|
19
17
|
# Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent
|
|
20
18
|
# stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via
|
|
21
19
|
# inspector" rules), "regular" for regular stylesheets.
|
|
@@ -108,7 +106,7 @@ experimental domain CSS
|
|
|
108
106
|
type CSSStyleSheetHeader extends object
|
|
109
107
|
properties
|
|
110
108
|
# The stylesheet identifier.
|
|
111
|
-
StyleSheetId styleSheetId
|
|
109
|
+
DOM.StyleSheetId styleSheetId
|
|
112
110
|
# Owner frame identifier.
|
|
113
111
|
Page.FrameId frameId
|
|
114
112
|
# Stylesheet resource URL. Empty if this is a constructed stylesheet created using
|
|
@@ -156,7 +154,7 @@ experimental domain CSS
|
|
|
156
154
|
properties
|
|
157
155
|
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
158
156
|
# stylesheet rules) this rule came from.
|
|
159
|
-
optional StyleSheetId styleSheetId
|
|
157
|
+
optional DOM.StyleSheetId styleSheetId
|
|
160
158
|
# Rule selector data.
|
|
161
159
|
SelectorList selectorList
|
|
162
160
|
# Array of selectors from ancestor style rules, sorted by distance from the current rule.
|
|
@@ -205,7 +203,7 @@ experimental domain CSS
|
|
|
205
203
|
properties
|
|
206
204
|
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
207
205
|
# stylesheet rules) this rule came from.
|
|
208
|
-
StyleSheetId styleSheetId
|
|
206
|
+
DOM.StyleSheetId styleSheetId
|
|
209
207
|
# Offset of the start of the rule (including selector) from the beginning of the stylesheet.
|
|
210
208
|
number startOffset
|
|
211
209
|
# Offset of the end of the rule body from the beginning of the stylesheet.
|
|
@@ -253,7 +251,7 @@ experimental domain CSS
|
|
|
253
251
|
properties
|
|
254
252
|
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
255
253
|
# stylesheet rules) this rule came from.
|
|
256
|
-
optional StyleSheetId styleSheetId
|
|
254
|
+
optional DOM.StyleSheetId styleSheetId
|
|
257
255
|
# CSS properties in the style.
|
|
258
256
|
array of CSSProperty cssProperties
|
|
259
257
|
# Computed values for all shorthands found in the style.
|
|
@@ -306,7 +304,7 @@ experimental domain CSS
|
|
|
306
304
|
# available).
|
|
307
305
|
optional SourceRange range
|
|
308
306
|
# Identifier of the stylesheet containing this object (if exists).
|
|
309
|
-
optional StyleSheetId styleSheetId
|
|
307
|
+
optional DOM.StyleSheetId styleSheetId
|
|
310
308
|
# Array of media queries.
|
|
311
309
|
optional array of MediaQuery mediaList
|
|
312
310
|
|
|
@@ -341,7 +339,7 @@ experimental domain CSS
|
|
|
341
339
|
# available).
|
|
342
340
|
optional SourceRange range
|
|
343
341
|
# Identifier of the stylesheet containing this object (if exists).
|
|
344
|
-
optional StyleSheetId styleSheetId
|
|
342
|
+
optional DOM.StyleSheetId styleSheetId
|
|
345
343
|
# Optional name for the container.
|
|
346
344
|
optional string name
|
|
347
345
|
# Optional physical axes queried for the container.
|
|
@@ -364,7 +362,7 @@ experimental domain CSS
|
|
|
364
362
|
# available).
|
|
365
363
|
optional SourceRange range
|
|
366
364
|
# Identifier of the stylesheet containing this object (if exists).
|
|
367
|
-
optional StyleSheetId styleSheetId
|
|
365
|
+
optional DOM.StyleSheetId styleSheetId
|
|
368
366
|
|
|
369
367
|
# CSS Scope at-rule descriptor.
|
|
370
368
|
experimental type CSSScope extends object
|
|
@@ -375,7 +373,7 @@ experimental domain CSS
|
|
|
375
373
|
# available).
|
|
376
374
|
optional SourceRange range
|
|
377
375
|
# Identifier of the stylesheet containing this object (if exists).
|
|
378
|
-
optional StyleSheetId styleSheetId
|
|
376
|
+
optional DOM.StyleSheetId styleSheetId
|
|
379
377
|
|
|
380
378
|
# CSS Layer at-rule descriptor.
|
|
381
379
|
experimental type CSSLayer extends object
|
|
@@ -386,7 +384,7 @@ experimental domain CSS
|
|
|
386
384
|
# available).
|
|
387
385
|
optional SourceRange range
|
|
388
386
|
# Identifier of the stylesheet containing this object (if exists).
|
|
389
|
-
optional StyleSheetId styleSheetId
|
|
387
|
+
optional DOM.StyleSheetId styleSheetId
|
|
390
388
|
|
|
391
389
|
# CSS Starting Style at-rule descriptor.
|
|
392
390
|
experimental type CSSStartingStyle extends object
|
|
@@ -395,7 +393,7 @@ experimental domain CSS
|
|
|
395
393
|
# available).
|
|
396
394
|
optional SourceRange range
|
|
397
395
|
# Identifier of the stylesheet containing this object (if exists).
|
|
398
|
-
optional StyleSheetId styleSheetId
|
|
396
|
+
optional DOM.StyleSheetId styleSheetId
|
|
399
397
|
|
|
400
398
|
# CSS Layer data.
|
|
401
399
|
experimental type CSSLayerData extends object
|
|
@@ -464,7 +462,7 @@ experimental domain CSS
|
|
|
464
462
|
properties
|
|
465
463
|
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
466
464
|
# stylesheet rules) this rule came from.
|
|
467
|
-
optional StyleSheetId styleSheetId
|
|
465
|
+
optional DOM.StyleSheetId styleSheetId
|
|
468
466
|
# Parent stylesheet's origin.
|
|
469
467
|
StyleSheetOrigin origin
|
|
470
468
|
# Associated style declaration.
|
|
@@ -477,7 +475,7 @@ experimental domain CSS
|
|
|
477
475
|
Value name
|
|
478
476
|
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
479
477
|
# stylesheet rules) this rule came from.
|
|
480
|
-
optional StyleSheetId styleSheetId
|
|
478
|
+
optional DOM.StyleSheetId styleSheetId
|
|
481
479
|
# Parent stylesheet's origin.
|
|
482
480
|
StyleSheetOrigin origin
|
|
483
481
|
# Associated style declaration.
|
|
@@ -522,7 +520,7 @@ experimental domain CSS
|
|
|
522
520
|
optional Value name
|
|
523
521
|
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
524
522
|
# stylesheet rules) this rule came from.
|
|
525
|
-
optional StyleSheetId styleSheetId
|
|
523
|
+
optional DOM.StyleSheetId styleSheetId
|
|
526
524
|
# Parent stylesheet's origin.
|
|
527
525
|
StyleSheetOrigin origin
|
|
528
526
|
# Associated style declaration.
|
|
@@ -533,7 +531,7 @@ experimental domain CSS
|
|
|
533
531
|
properties
|
|
534
532
|
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
535
533
|
# stylesheet rules) this rule came from.
|
|
536
|
-
optional StyleSheetId styleSheetId
|
|
534
|
+
optional DOM.StyleSheetId styleSheetId
|
|
537
535
|
# Parent stylesheet's origin.
|
|
538
536
|
StyleSheetOrigin origin
|
|
539
537
|
# Associated property name.
|
|
@@ -578,7 +576,7 @@ experimental domain CSS
|
|
|
578
576
|
Value name
|
|
579
577
|
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
580
578
|
# stylesheet rules) this rule came from.
|
|
581
|
-
optional StyleSheetId styleSheetId
|
|
579
|
+
optional DOM.StyleSheetId styleSheetId
|
|
582
580
|
# Parent stylesheet's origin.
|
|
583
581
|
StyleSheetOrigin origin
|
|
584
582
|
# List of parameters.
|
|
@@ -591,7 +589,7 @@ experimental domain CSS
|
|
|
591
589
|
properties
|
|
592
590
|
# The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
593
591
|
# stylesheet rules) this rule came from.
|
|
594
|
-
optional StyleSheetId styleSheetId
|
|
592
|
+
optional DOM.StyleSheetId styleSheetId
|
|
595
593
|
# Parent stylesheet's origin.
|
|
596
594
|
StyleSheetOrigin origin
|
|
597
595
|
# Associated key text.
|
|
@@ -603,7 +601,7 @@ experimental domain CSS
|
|
|
603
601
|
type StyleDeclarationEdit extends object
|
|
604
602
|
properties
|
|
605
603
|
# The css style sheet identifier.
|
|
606
|
-
StyleSheetId styleSheetId
|
|
604
|
+
DOM.StyleSheetId styleSheetId
|
|
607
605
|
# The range of the style text in the enclosing stylesheet.
|
|
608
606
|
SourceRange range
|
|
609
607
|
# New style text.
|
|
@@ -614,7 +612,7 @@ experimental domain CSS
|
|
|
614
612
|
command addRule
|
|
615
613
|
parameters
|
|
616
614
|
# The css style sheet identifier where a new rule should be inserted.
|
|
617
|
-
StyleSheetId styleSheetId
|
|
615
|
+
DOM.StyleSheetId styleSheetId
|
|
618
616
|
# The text of a new rule.
|
|
619
617
|
string ruleText
|
|
620
618
|
# Text position of a new rule in the target style sheet.
|
|
@@ -630,7 +628,7 @@ experimental domain CSS
|
|
|
630
628
|
# Returns all class names from specified stylesheet.
|
|
631
629
|
command collectClassNames
|
|
632
630
|
parameters
|
|
633
|
-
StyleSheetId styleSheetId
|
|
631
|
+
DOM.StyleSheetId styleSheetId
|
|
634
632
|
returns
|
|
635
633
|
# Class name list.
|
|
636
634
|
array of string classNames
|
|
@@ -647,7 +645,7 @@ experimental domain CSS
|
|
|
647
645
|
optional boolean force
|
|
648
646
|
returns
|
|
649
647
|
# Identifier of the created "via-inspector" stylesheet.
|
|
650
|
-
StyleSheetId styleSheetId
|
|
648
|
+
DOM.StyleSheetId styleSheetId
|
|
651
649
|
|
|
652
650
|
# Disables the CSS agent for the given page.
|
|
653
651
|
command disable
|
|
@@ -815,7 +813,7 @@ experimental domain CSS
|
|
|
815
813
|
# Returns the current textual content for a stylesheet.
|
|
816
814
|
command getStyleSheetText
|
|
817
815
|
parameters
|
|
818
|
-
StyleSheetId styleSheetId
|
|
816
|
+
DOM.StyleSheetId styleSheetId
|
|
819
817
|
returns
|
|
820
818
|
# The stylesheet text.
|
|
821
819
|
string text
|
|
@@ -834,7 +832,7 @@ experimental domain CSS
|
|
|
834
832
|
# returns an array of locations of the CSS selector in the style sheet.
|
|
835
833
|
experimental command getLocationForSelector
|
|
836
834
|
parameters
|
|
837
|
-
StyleSheetId styleSheetId
|
|
835
|
+
DOM.StyleSheetId styleSheetId
|
|
838
836
|
string selectorText
|
|
839
837
|
returns
|
|
840
838
|
array of SourceRange ranges
|
|
@@ -877,7 +875,7 @@ experimental domain CSS
|
|
|
877
875
|
# Modifies the property rule property name.
|
|
878
876
|
command setPropertyRulePropertyName
|
|
879
877
|
parameters
|
|
880
|
-
StyleSheetId styleSheetId
|
|
878
|
+
DOM.StyleSheetId styleSheetId
|
|
881
879
|
SourceRange range
|
|
882
880
|
string propertyName
|
|
883
881
|
returns
|
|
@@ -887,7 +885,7 @@ experimental domain CSS
|
|
|
887
885
|
# Modifies the keyframe rule key text.
|
|
888
886
|
command setKeyframeKey
|
|
889
887
|
parameters
|
|
890
|
-
StyleSheetId styleSheetId
|
|
888
|
+
DOM.StyleSheetId styleSheetId
|
|
891
889
|
SourceRange range
|
|
892
890
|
string keyText
|
|
893
891
|
returns
|
|
@@ -897,7 +895,7 @@ experimental domain CSS
|
|
|
897
895
|
# Modifies the rule selector.
|
|
898
896
|
command setMediaText
|
|
899
897
|
parameters
|
|
900
|
-
StyleSheetId styleSheetId
|
|
898
|
+
DOM.StyleSheetId styleSheetId
|
|
901
899
|
SourceRange range
|
|
902
900
|
string text
|
|
903
901
|
returns
|
|
@@ -907,7 +905,7 @@ experimental domain CSS
|
|
|
907
905
|
# Modifies the expression of a container query.
|
|
908
906
|
experimental command setContainerQueryText
|
|
909
907
|
parameters
|
|
910
|
-
StyleSheetId styleSheetId
|
|
908
|
+
DOM.StyleSheetId styleSheetId
|
|
911
909
|
SourceRange range
|
|
912
910
|
string text
|
|
913
911
|
returns
|
|
@@ -917,7 +915,7 @@ experimental domain CSS
|
|
|
917
915
|
# Modifies the expression of a supports at-rule.
|
|
918
916
|
experimental command setSupportsText
|
|
919
917
|
parameters
|
|
920
|
-
StyleSheetId styleSheetId
|
|
918
|
+
DOM.StyleSheetId styleSheetId
|
|
921
919
|
SourceRange range
|
|
922
920
|
string text
|
|
923
921
|
returns
|
|
@@ -927,7 +925,7 @@ experimental domain CSS
|
|
|
927
925
|
# Modifies the expression of a scope at-rule.
|
|
928
926
|
experimental command setScopeText
|
|
929
927
|
parameters
|
|
930
|
-
StyleSheetId styleSheetId
|
|
928
|
+
DOM.StyleSheetId styleSheetId
|
|
931
929
|
SourceRange range
|
|
932
930
|
string text
|
|
933
931
|
returns
|
|
@@ -937,7 +935,7 @@ experimental domain CSS
|
|
|
937
935
|
# Modifies the rule selector.
|
|
938
936
|
command setRuleSelector
|
|
939
937
|
parameters
|
|
940
|
-
StyleSheetId styleSheetId
|
|
938
|
+
DOM.StyleSheetId styleSheetId
|
|
941
939
|
SourceRange range
|
|
942
940
|
string selector
|
|
943
941
|
returns
|
|
@@ -947,7 +945,7 @@ experimental domain CSS
|
|
|
947
945
|
# Sets the new stylesheet text.
|
|
948
946
|
command setStyleSheetText
|
|
949
947
|
parameters
|
|
950
|
-
StyleSheetId styleSheetId
|
|
948
|
+
DOM.StyleSheetId styleSheetId
|
|
951
949
|
string text
|
|
952
950
|
returns
|
|
953
951
|
# URL of source map associated with script (if any).
|
|
@@ -1008,13 +1006,13 @@ experimental domain CSS
|
|
|
1008
1006
|
# Fired whenever a stylesheet is changed as a result of the client operation.
|
|
1009
1007
|
event styleSheetChanged
|
|
1010
1008
|
parameters
|
|
1011
|
-
StyleSheetId styleSheetId
|
|
1009
|
+
DOM.StyleSheetId styleSheetId
|
|
1012
1010
|
|
|
1013
1011
|
# Fired whenever an active document stylesheet is removed.
|
|
1014
1012
|
event styleSheetRemoved
|
|
1015
1013
|
parameters
|
|
1016
1014
|
# Identifier of the removed stylesheet.
|
|
1017
|
-
StyleSheetId styleSheetId
|
|
1015
|
+
DOM.StyleSheetId styleSheetId
|
|
1018
1016
|
|
|
1019
1017
|
experimental event computedStyleUpdated
|
|
1020
1018
|
parameters
|
package/pdl/domains/DOM.pdl
CHANGED
|
@@ -21,6 +21,9 @@ domain DOM
|
|
|
21
21
|
# front-end.
|
|
22
22
|
type BackendNodeId extends integer
|
|
23
23
|
|
|
24
|
+
# Unique identifier for a CSS stylesheet.
|
|
25
|
+
type StyleSheetId extends string
|
|
26
|
+
|
|
24
27
|
# Backend node with a friendly name.
|
|
25
28
|
type BackendNode extends object
|
|
26
29
|
properties
|
|
@@ -180,6 +183,7 @@ domain DOM
|
|
|
180
183
|
optional BackendNode assignedSlot
|
|
181
184
|
experimental optional boolean isScrollable
|
|
182
185
|
experimental optional boolean affectedByStartingStyles
|
|
186
|
+
experimental optional array of StyleSheetId adoptedStyleSheets
|
|
183
187
|
|
|
184
188
|
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
|
|
185
189
|
type DetachedElementInfo extends object
|
|
@@ -823,6 +827,14 @@ domain DOM
|
|
|
823
827
|
# Attribute value.
|
|
824
828
|
string value
|
|
825
829
|
|
|
830
|
+
# Fired when `Element`'s adoptedStyleSheets are modified.
|
|
831
|
+
experimental event adoptedStyleSheetsModified
|
|
832
|
+
parameters
|
|
833
|
+
# Id of the node that has changed.
|
|
834
|
+
NodeId nodeId
|
|
835
|
+
# New adoptedStyleSheets array.
|
|
836
|
+
experimental array of StyleSheetId adoptedStyleSheets
|
|
837
|
+
|
|
826
838
|
# Fired when `Element`'s attribute is removed.
|
|
827
839
|
event attributeRemoved
|
|
828
840
|
parameters
|
package/pdl/domains/Target.pdl
CHANGED
|
@@ -265,6 +265,16 @@ domain Target
|
|
|
265
265
|
# List of remote locations.
|
|
266
266
|
array of RemoteLocation locations
|
|
267
267
|
|
|
268
|
+
# Gets the targetId of the DevTools page target opened for the given target
|
|
269
|
+
# (if any).
|
|
270
|
+
experimental command getDevToolsTarget
|
|
271
|
+
parameters
|
|
272
|
+
# Page or tab target ID.
|
|
273
|
+
TargetID targetId
|
|
274
|
+
returns
|
|
275
|
+
# The targetId of DevTools page target if exists.
|
|
276
|
+
optional TargetID targetId
|
|
277
|
+
|
|
268
278
|
# Issued when attached to target because of auto-attach or `attachToTarget` command.
|
|
269
279
|
experimental event attachedToTarget
|
|
270
280
|
parameters
|
|
@@ -208,6 +208,11 @@ export namespace ProtocolMapping {
|
|
|
208
208
|
* Fired when `Element`'s attribute is modified.
|
|
209
209
|
*/
|
|
210
210
|
'DOM.attributeModified': [Protocol.DOM.AttributeModifiedEvent];
|
|
211
|
+
/**
|
|
212
|
+
* Fired when `Element`'s adoptedStyleSheets are modified.
|
|
213
|
+
* @experimental
|
|
214
|
+
*/
|
|
215
|
+
'DOM.adoptedStyleSheetsModified': [Protocol.DOM.AdoptedStyleSheetsModifiedEvent];
|
|
211
216
|
/**
|
|
212
217
|
* Fired when `Element`'s attribute is removed.
|
|
213
218
|
*/
|
|
@@ -5762,6 +5767,15 @@ export namespace ProtocolMapping {
|
|
|
5762
5767
|
paramsType: [Protocol.Target.SetRemoteLocationsRequest];
|
|
5763
5768
|
returnType: void;
|
|
5764
5769
|
};
|
|
5770
|
+
/**
|
|
5771
|
+
* Gets the targetId of the DevTools page target opened for the given target
|
|
5772
|
+
* (if any).
|
|
5773
|
+
* @experimental
|
|
5774
|
+
*/
|
|
5775
|
+
'Target.getDevToolsTarget': {
|
|
5776
|
+
paramsType: [Protocol.Target.GetDevToolsTargetRequest];
|
|
5777
|
+
returnType: Protocol.Target.GetDevToolsTargetResponse;
|
|
5778
|
+
};
|
|
5765
5779
|
/**
|
|
5766
5780
|
* Opens a DevTools window for the target.
|
|
5767
5781
|
* @experimental
|
|
@@ -1833,6 +1833,12 @@ export namespace ProtocolProxyApi {
|
|
|
1833
1833
|
*/
|
|
1834
1834
|
on(event: 'attributeModified', listener: (params: Protocol.DOM.AttributeModifiedEvent) => void): void;
|
|
1835
1835
|
|
|
1836
|
+
/**
|
|
1837
|
+
* Fired when `Element`'s adoptedStyleSheets are modified.
|
|
1838
|
+
* @experimental
|
|
1839
|
+
*/
|
|
1840
|
+
on(event: 'adoptedStyleSheetsModified', listener: (params: Protocol.DOM.AdoptedStyleSheetsModifiedEvent) => void): void;
|
|
1841
|
+
|
|
1836
1842
|
/**
|
|
1837
1843
|
* Fired when `Element`'s attribute is removed.
|
|
1838
1844
|
*/
|
|
@@ -4842,6 +4848,13 @@ export namespace ProtocolProxyApi {
|
|
|
4842
4848
|
*/
|
|
4843
4849
|
setRemoteLocations(params: Protocol.Target.SetRemoteLocationsRequest): Promise<void>;
|
|
4844
4850
|
|
|
4851
|
+
/**
|
|
4852
|
+
* Gets the targetId of the DevTools page target opened for the given target
|
|
4853
|
+
* (if any).
|
|
4854
|
+
* @experimental
|
|
4855
|
+
*/
|
|
4856
|
+
getDevToolsTarget(params: Protocol.Target.GetDevToolsTargetRequest): Promise<Protocol.Target.GetDevToolsTargetResponse>;
|
|
4857
|
+
|
|
4845
4858
|
/**
|
|
4846
4859
|
* Opens a DevTools window for the target.
|
|
4847
4860
|
* @experimental
|
|
@@ -1925,6 +1925,14 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1925
1925
|
offAttributeModified(listener: (event: { params: Protocol.DOM.AttributeModifiedEvent }) => void): void;
|
|
1926
1926
|
onceAttributeModified(eventMatcher?: (event: { params: Protocol.DOM.AttributeModifiedEvent }) => boolean): Promise<{ params: Protocol.DOM.AttributeModifiedEvent }>;
|
|
1927
1927
|
|
|
1928
|
+
/**
|
|
1929
|
+
* Fired when `Element`'s adoptedStyleSheets are modified.
|
|
1930
|
+
* @experimental
|
|
1931
|
+
*/
|
|
1932
|
+
onAdoptedStyleSheetsModified(listener: (event: { params: Protocol.DOM.AdoptedStyleSheetsModifiedEvent }) => void): void;
|
|
1933
|
+
offAdoptedStyleSheetsModified(listener: (event: { params: Protocol.DOM.AdoptedStyleSheetsModifiedEvent }) => void): void;
|
|
1934
|
+
onceAdoptedStyleSheetsModified(eventMatcher?: (event: { params: Protocol.DOM.AdoptedStyleSheetsModifiedEvent }) => boolean): Promise<{ params: Protocol.DOM.AdoptedStyleSheetsModifiedEvent }>;
|
|
1935
|
+
|
|
1928
1936
|
/**
|
|
1929
1937
|
* Fired when `Element`'s attribute is removed.
|
|
1930
1938
|
*/
|
|
@@ -5218,6 +5226,13 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5218
5226
|
*/
|
|
5219
5227
|
setRemoteLocations(params: Protocol.Target.SetRemoteLocationsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5220
5228
|
|
|
5229
|
+
/**
|
|
5230
|
+
* Gets the targetId of the DevTools page target opened for the given target
|
|
5231
|
+
* (if any).
|
|
5232
|
+
* @experimental
|
|
5233
|
+
*/
|
|
5234
|
+
getDevToolsTarget(params: Protocol.Target.GetDevToolsTargetRequest): Promise<{id: number, result: Protocol.Target.GetDevToolsTargetResponse, sessionId: string}>;
|
|
5235
|
+
|
|
5221
5236
|
/**
|
|
5222
5237
|
* Opens a DevTools window for the target.
|
|
5223
5238
|
* @experimental
|