forked from chromedp/chromedp
/
types.go
556 lines (482 loc) · 19.7 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
package accessibility
// Code generated by chromedp-gen. DO NOT EDIT.
import (
"errors"
cdp "github.com/knq/chromedp/cdp"
"github.com/mailru/easyjson"
"github.com/mailru/easyjson/jlexer"
"github.com/mailru/easyjson/jwriter"
)
// AXNodeID unique accessibility node identifier.
type AXNodeID string
// String returns the AXNodeID as string value.
func (t AXNodeID) String() string {
return string(t)
}
// AXValueType enum of possible property types.
type AXValueType string
// String returns the AXValueType as string value.
func (t AXValueType) String() string {
return string(t)
}
// AXValueType values.
const (
AXValueTypeBoolean AXValueType = "boolean"
AXValueTypeTristate AXValueType = "tristate"
AXValueTypeBooleanOrUndefined AXValueType = "booleanOrUndefined"
AXValueTypeIdref AXValueType = "idref"
AXValueTypeIdrefList AXValueType = "idrefList"
AXValueTypeInteger AXValueType = "integer"
AXValueTypeNode AXValueType = "node"
AXValueTypeNodeList AXValueType = "nodeList"
AXValueTypeNumber AXValueType = "number"
AXValueTypeString AXValueType = "string"
AXValueTypeComputedString AXValueType = "computedString"
AXValueTypeToken AXValueType = "token"
AXValueTypeTokenList AXValueType = "tokenList"
AXValueTypeDomRelation AXValueType = "domRelation"
AXValueTypeRole AXValueType = "role"
AXValueTypeInternalRole AXValueType = "internalRole"
AXValueTypeValueUndefined AXValueType = "valueUndefined"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
func (t AXValueType) MarshalEasyJSON(out *jwriter.Writer) {
out.String(string(t))
}
// MarshalJSON satisfies json.Marshaler.
func (t AXValueType) MarshalJSON() ([]byte, error) {
return easyjson.Marshal(t)
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *AXValueType) UnmarshalEasyJSON(in *jlexer.Lexer) {
switch AXValueType(in.String()) {
case AXValueTypeBoolean:
*t = AXValueTypeBoolean
case AXValueTypeTristate:
*t = AXValueTypeTristate
case AXValueTypeBooleanOrUndefined:
*t = AXValueTypeBooleanOrUndefined
case AXValueTypeIdref:
*t = AXValueTypeIdref
case AXValueTypeIdrefList:
*t = AXValueTypeIdrefList
case AXValueTypeInteger:
*t = AXValueTypeInteger
case AXValueTypeNode:
*t = AXValueTypeNode
case AXValueTypeNodeList:
*t = AXValueTypeNodeList
case AXValueTypeNumber:
*t = AXValueTypeNumber
case AXValueTypeString:
*t = AXValueTypeString
case AXValueTypeComputedString:
*t = AXValueTypeComputedString
case AXValueTypeToken:
*t = AXValueTypeToken
case AXValueTypeTokenList:
*t = AXValueTypeTokenList
case AXValueTypeDomRelation:
*t = AXValueTypeDomRelation
case AXValueTypeRole:
*t = AXValueTypeRole
case AXValueTypeInternalRole:
*t = AXValueTypeInternalRole
case AXValueTypeValueUndefined:
*t = AXValueTypeValueUndefined
default:
in.AddError(errors.New("unknown AXValueType value"))
}
}
// UnmarshalJSON satisfies json.Unmarshaler.
func (t *AXValueType) UnmarshalJSON(buf []byte) error {
return easyjson.Unmarshal(buf, t)
}
// AXValueSourceType enum of possible property sources.
type AXValueSourceType string
// String returns the AXValueSourceType as string value.
func (t AXValueSourceType) String() string {
return string(t)
}
// AXValueSourceType values.
const (
AXValueSourceTypeAttribute AXValueSourceType = "attribute"
AXValueSourceTypeImplicit AXValueSourceType = "implicit"
AXValueSourceTypeStyle AXValueSourceType = "style"
AXValueSourceTypeContents AXValueSourceType = "contents"
AXValueSourceTypePlaceholder AXValueSourceType = "placeholder"
AXValueSourceTypeRelatedElement AXValueSourceType = "relatedElement"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
func (t AXValueSourceType) MarshalEasyJSON(out *jwriter.Writer) {
out.String(string(t))
}
// MarshalJSON satisfies json.Marshaler.
func (t AXValueSourceType) MarshalJSON() ([]byte, error) {
return easyjson.Marshal(t)
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *AXValueSourceType) UnmarshalEasyJSON(in *jlexer.Lexer) {
switch AXValueSourceType(in.String()) {
case AXValueSourceTypeAttribute:
*t = AXValueSourceTypeAttribute
case AXValueSourceTypeImplicit:
*t = AXValueSourceTypeImplicit
case AXValueSourceTypeStyle:
*t = AXValueSourceTypeStyle
case AXValueSourceTypeContents:
*t = AXValueSourceTypeContents
case AXValueSourceTypePlaceholder:
*t = AXValueSourceTypePlaceholder
case AXValueSourceTypeRelatedElement:
*t = AXValueSourceTypeRelatedElement
default:
in.AddError(errors.New("unknown AXValueSourceType value"))
}
}
// UnmarshalJSON satisfies json.Unmarshaler.
func (t *AXValueSourceType) UnmarshalJSON(buf []byte) error {
return easyjson.Unmarshal(buf, t)
}
// AXValueNativeSourceType enum of possible native property sources (as a
// subtype of a particular AXValueSourceType).
type AXValueNativeSourceType string
// String returns the AXValueNativeSourceType as string value.
func (t AXValueNativeSourceType) String() string {
return string(t)
}
// AXValueNativeSourceType values.
const (
AXValueNativeSourceTypeFigcaption AXValueNativeSourceType = "figcaption"
AXValueNativeSourceTypeLabel AXValueNativeSourceType = "label"
AXValueNativeSourceTypeLabelfor AXValueNativeSourceType = "labelfor"
AXValueNativeSourceTypeLabelwrapped AXValueNativeSourceType = "labelwrapped"
AXValueNativeSourceTypeLegend AXValueNativeSourceType = "legend"
AXValueNativeSourceTypeTablecaption AXValueNativeSourceType = "tablecaption"
AXValueNativeSourceTypeTitle AXValueNativeSourceType = "title"
AXValueNativeSourceTypeOther AXValueNativeSourceType = "other"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
func (t AXValueNativeSourceType) MarshalEasyJSON(out *jwriter.Writer) {
out.String(string(t))
}
// MarshalJSON satisfies json.Marshaler.
func (t AXValueNativeSourceType) MarshalJSON() ([]byte, error) {
return easyjson.Marshal(t)
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *AXValueNativeSourceType) UnmarshalEasyJSON(in *jlexer.Lexer) {
switch AXValueNativeSourceType(in.String()) {
case AXValueNativeSourceTypeFigcaption:
*t = AXValueNativeSourceTypeFigcaption
case AXValueNativeSourceTypeLabel:
*t = AXValueNativeSourceTypeLabel
case AXValueNativeSourceTypeLabelfor:
*t = AXValueNativeSourceTypeLabelfor
case AXValueNativeSourceTypeLabelwrapped:
*t = AXValueNativeSourceTypeLabelwrapped
case AXValueNativeSourceTypeLegend:
*t = AXValueNativeSourceTypeLegend
case AXValueNativeSourceTypeTablecaption:
*t = AXValueNativeSourceTypeTablecaption
case AXValueNativeSourceTypeTitle:
*t = AXValueNativeSourceTypeTitle
case AXValueNativeSourceTypeOther:
*t = AXValueNativeSourceTypeOther
default:
in.AddError(errors.New("unknown AXValueNativeSourceType value"))
}
}
// UnmarshalJSON satisfies json.Unmarshaler.
func (t *AXValueNativeSourceType) UnmarshalJSON(buf []byte) error {
return easyjson.Unmarshal(buf, t)
}
// AXValueSource a single source for a computed AX property.
type AXValueSource struct {
Type AXValueSourceType `json:"type"` // What type of source this is.
Value *AXValue `json:"value,omitempty"` // The value of this property source.
Attribute string `json:"attribute,omitempty"` // The name of the relevant attribute, if any.
AttributeValue *AXValue `json:"attributeValue,omitempty"` // The value of the relevant attribute, if any.
Superseded bool `json:"superseded,omitempty"` // Whether this source is superseded by a higher priority source.
NativeSource AXValueNativeSourceType `json:"nativeSource,omitempty"` // The native markup source for this value, e.g. a <label> element.
NativeSourceValue *AXValue `json:"nativeSourceValue,omitempty"` // The value, such as a node or node list, of the native source.
Invalid bool `json:"invalid,omitempty"` // Whether the value for this property is invalid.
InvalidReason string `json:"invalidReason,omitempty"` // Reason for the value being invalid, if it is.
}
// AXRelatedNode [no description].
type AXRelatedNode struct {
BackendDOMNodeID cdp.BackendNodeID `json:"backendDOMNodeId"` // The BackendNodeId of the related DOM node.
Idref string `json:"idref,omitempty"` // The IDRef value provided, if any.
Text string `json:"text,omitempty"` // The text alternative of this node in the current context.
}
// AXProperty [no description].
type AXProperty struct {
Name string `json:"name"` // The name of this property.
Value *AXValue `json:"value"` // The value of this property.
}
// AXValue a single computed AX property.
type AXValue struct {
Type AXValueType `json:"type"` // The type of this value.
Value easyjson.RawMessage `json:"value,omitempty"` // The computed value of this property.
RelatedNodes []*AXRelatedNode `json:"relatedNodes,omitempty"` // One or more related nodes, if applicable.
Sources []*AXValueSource `json:"sources,omitempty"` // The sources which contributed to the computation of this property.
}
// AXGlobalStates states which apply to every AX node.
type AXGlobalStates string
// String returns the AXGlobalStates as string value.
func (t AXGlobalStates) String() string {
return string(t)
}
// AXGlobalStates values.
const (
AXGlobalStatesDisabled AXGlobalStates = "disabled"
AXGlobalStatesHidden AXGlobalStates = "hidden"
AXGlobalStatesHiddenRoot AXGlobalStates = "hiddenRoot"
AXGlobalStatesInvalid AXGlobalStates = "invalid"
AXGlobalStatesKeyshortcuts AXGlobalStates = "keyshortcuts"
AXGlobalStatesRoledescription AXGlobalStates = "roledescription"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
func (t AXGlobalStates) MarshalEasyJSON(out *jwriter.Writer) {
out.String(string(t))
}
// MarshalJSON satisfies json.Marshaler.
func (t AXGlobalStates) MarshalJSON() ([]byte, error) {
return easyjson.Marshal(t)
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *AXGlobalStates) UnmarshalEasyJSON(in *jlexer.Lexer) {
switch AXGlobalStates(in.String()) {
case AXGlobalStatesDisabled:
*t = AXGlobalStatesDisabled
case AXGlobalStatesHidden:
*t = AXGlobalStatesHidden
case AXGlobalStatesHiddenRoot:
*t = AXGlobalStatesHiddenRoot
case AXGlobalStatesInvalid:
*t = AXGlobalStatesInvalid
case AXGlobalStatesKeyshortcuts:
*t = AXGlobalStatesKeyshortcuts
case AXGlobalStatesRoledescription:
*t = AXGlobalStatesRoledescription
default:
in.AddError(errors.New("unknown AXGlobalStates value"))
}
}
// UnmarshalJSON satisfies json.Unmarshaler.
func (t *AXGlobalStates) UnmarshalJSON(buf []byte) error {
return easyjson.Unmarshal(buf, t)
}
// AXLiveRegionAttributes attributes which apply to nodes in live regions.
type AXLiveRegionAttributes string
// String returns the AXLiveRegionAttributes as string value.
func (t AXLiveRegionAttributes) String() string {
return string(t)
}
// AXLiveRegionAttributes values.
const (
AXLiveRegionAttributesLive AXLiveRegionAttributes = "live"
AXLiveRegionAttributesAtomic AXLiveRegionAttributes = "atomic"
AXLiveRegionAttributesRelevant AXLiveRegionAttributes = "relevant"
AXLiveRegionAttributesBusy AXLiveRegionAttributes = "busy"
AXLiveRegionAttributesRoot AXLiveRegionAttributes = "root"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
func (t AXLiveRegionAttributes) MarshalEasyJSON(out *jwriter.Writer) {
out.String(string(t))
}
// MarshalJSON satisfies json.Marshaler.
func (t AXLiveRegionAttributes) MarshalJSON() ([]byte, error) {
return easyjson.Marshal(t)
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *AXLiveRegionAttributes) UnmarshalEasyJSON(in *jlexer.Lexer) {
switch AXLiveRegionAttributes(in.String()) {
case AXLiveRegionAttributesLive:
*t = AXLiveRegionAttributesLive
case AXLiveRegionAttributesAtomic:
*t = AXLiveRegionAttributesAtomic
case AXLiveRegionAttributesRelevant:
*t = AXLiveRegionAttributesRelevant
case AXLiveRegionAttributesBusy:
*t = AXLiveRegionAttributesBusy
case AXLiveRegionAttributesRoot:
*t = AXLiveRegionAttributesRoot
default:
in.AddError(errors.New("unknown AXLiveRegionAttributes value"))
}
}
// UnmarshalJSON satisfies json.Unmarshaler.
func (t *AXLiveRegionAttributes) UnmarshalJSON(buf []byte) error {
return easyjson.Unmarshal(buf, t)
}
// AXWidgetAttributes attributes which apply to widgets.
type AXWidgetAttributes string
// String returns the AXWidgetAttributes as string value.
func (t AXWidgetAttributes) String() string {
return string(t)
}
// AXWidgetAttributes values.
const (
AXWidgetAttributesAutocomplete AXWidgetAttributes = "autocomplete"
AXWidgetAttributesHaspopup AXWidgetAttributes = "haspopup"
AXWidgetAttributesLevel AXWidgetAttributes = "level"
AXWidgetAttributesMultiselectable AXWidgetAttributes = "multiselectable"
AXWidgetAttributesOrientation AXWidgetAttributes = "orientation"
AXWidgetAttributesMultiline AXWidgetAttributes = "multiline"
AXWidgetAttributesReadonly AXWidgetAttributes = "readonly"
AXWidgetAttributesRequired AXWidgetAttributes = "required"
AXWidgetAttributesValuemin AXWidgetAttributes = "valuemin"
AXWidgetAttributesValuemax AXWidgetAttributes = "valuemax"
AXWidgetAttributesValuetext AXWidgetAttributes = "valuetext"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
func (t AXWidgetAttributes) MarshalEasyJSON(out *jwriter.Writer) {
out.String(string(t))
}
// MarshalJSON satisfies json.Marshaler.
func (t AXWidgetAttributes) MarshalJSON() ([]byte, error) {
return easyjson.Marshal(t)
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *AXWidgetAttributes) UnmarshalEasyJSON(in *jlexer.Lexer) {
switch AXWidgetAttributes(in.String()) {
case AXWidgetAttributesAutocomplete:
*t = AXWidgetAttributesAutocomplete
case AXWidgetAttributesHaspopup:
*t = AXWidgetAttributesHaspopup
case AXWidgetAttributesLevel:
*t = AXWidgetAttributesLevel
case AXWidgetAttributesMultiselectable:
*t = AXWidgetAttributesMultiselectable
case AXWidgetAttributesOrientation:
*t = AXWidgetAttributesOrientation
case AXWidgetAttributesMultiline:
*t = AXWidgetAttributesMultiline
case AXWidgetAttributesReadonly:
*t = AXWidgetAttributesReadonly
case AXWidgetAttributesRequired:
*t = AXWidgetAttributesRequired
case AXWidgetAttributesValuemin:
*t = AXWidgetAttributesValuemin
case AXWidgetAttributesValuemax:
*t = AXWidgetAttributesValuemax
case AXWidgetAttributesValuetext:
*t = AXWidgetAttributesValuetext
default:
in.AddError(errors.New("unknown AXWidgetAttributes value"))
}
}
// UnmarshalJSON satisfies json.Unmarshaler.
func (t *AXWidgetAttributes) UnmarshalJSON(buf []byte) error {
return easyjson.Unmarshal(buf, t)
}
// AXWidgetStates states which apply to widgets.
type AXWidgetStates string
// String returns the AXWidgetStates as string value.
func (t AXWidgetStates) String() string {
return string(t)
}
// AXWidgetStates values.
const (
AXWidgetStatesChecked AXWidgetStates = "checked"
AXWidgetStatesExpanded AXWidgetStates = "expanded"
AXWidgetStatesModal AXWidgetStates = "modal"
AXWidgetStatesPressed AXWidgetStates = "pressed"
AXWidgetStatesSelected AXWidgetStates = "selected"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
func (t AXWidgetStates) MarshalEasyJSON(out *jwriter.Writer) {
out.String(string(t))
}
// MarshalJSON satisfies json.Marshaler.
func (t AXWidgetStates) MarshalJSON() ([]byte, error) {
return easyjson.Marshal(t)
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *AXWidgetStates) UnmarshalEasyJSON(in *jlexer.Lexer) {
switch AXWidgetStates(in.String()) {
case AXWidgetStatesChecked:
*t = AXWidgetStatesChecked
case AXWidgetStatesExpanded:
*t = AXWidgetStatesExpanded
case AXWidgetStatesModal:
*t = AXWidgetStatesModal
case AXWidgetStatesPressed:
*t = AXWidgetStatesPressed
case AXWidgetStatesSelected:
*t = AXWidgetStatesSelected
default:
in.AddError(errors.New("unknown AXWidgetStates value"))
}
}
// UnmarshalJSON satisfies json.Unmarshaler.
func (t *AXWidgetStates) UnmarshalJSON(buf []byte) error {
return easyjson.Unmarshal(buf, t)
}
// AXRelationshipAttributes relationships between elements other than
// parent/child/sibling.
type AXRelationshipAttributes string
// String returns the AXRelationshipAttributes as string value.
func (t AXRelationshipAttributes) String() string {
return string(t)
}
// AXRelationshipAttributes values.
const (
AXRelationshipAttributesActivedescendant AXRelationshipAttributes = "activedescendant"
AXRelationshipAttributesControls AXRelationshipAttributes = "controls"
AXRelationshipAttributesDescribedby AXRelationshipAttributes = "describedby"
AXRelationshipAttributesDetails AXRelationshipAttributes = "details"
AXRelationshipAttributesErrormessage AXRelationshipAttributes = "errormessage"
AXRelationshipAttributesFlowto AXRelationshipAttributes = "flowto"
AXRelationshipAttributesLabelledby AXRelationshipAttributes = "labelledby"
AXRelationshipAttributesOwns AXRelationshipAttributes = "owns"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
func (t AXRelationshipAttributes) MarshalEasyJSON(out *jwriter.Writer) {
out.String(string(t))
}
// MarshalJSON satisfies json.Marshaler.
func (t AXRelationshipAttributes) MarshalJSON() ([]byte, error) {
return easyjson.Marshal(t)
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *AXRelationshipAttributes) UnmarshalEasyJSON(in *jlexer.Lexer) {
switch AXRelationshipAttributes(in.String()) {
case AXRelationshipAttributesActivedescendant:
*t = AXRelationshipAttributesActivedescendant
case AXRelationshipAttributesControls:
*t = AXRelationshipAttributesControls
case AXRelationshipAttributesDescribedby:
*t = AXRelationshipAttributesDescribedby
case AXRelationshipAttributesDetails:
*t = AXRelationshipAttributesDetails
case AXRelationshipAttributesErrormessage:
*t = AXRelationshipAttributesErrormessage
case AXRelationshipAttributesFlowto:
*t = AXRelationshipAttributesFlowto
case AXRelationshipAttributesLabelledby:
*t = AXRelationshipAttributesLabelledby
case AXRelationshipAttributesOwns:
*t = AXRelationshipAttributesOwns
default:
in.AddError(errors.New("unknown AXRelationshipAttributes value"))
}
}
// UnmarshalJSON satisfies json.Unmarshaler.
func (t *AXRelationshipAttributes) UnmarshalJSON(buf []byte) error {
return easyjson.Unmarshal(buf, t)
}
// AXNode a node in the accessibility tree.
type AXNode struct {
NodeID AXNodeID `json:"nodeId"` // Unique identifier for this node.
Ignored bool `json:"ignored"` // Whether this node is ignored for accessibility
IgnoredReasons []*AXProperty `json:"ignoredReasons,omitempty"` // Collection of reasons why this node is hidden.
Role *AXValue `json:"role,omitempty"` // This Node's role, whether explicit or implicit.
Name *AXValue `json:"name,omitempty"` // The accessible name for this Node.
Description *AXValue `json:"description,omitempty"` // The accessible description for this Node.
Value *AXValue `json:"value,omitempty"` // The value for this Node.
Properties []*AXProperty `json:"properties,omitempty"` // All other properties
ChildIds []AXNodeID `json:"childIds,omitempty"` // IDs for each of this node's child nodes.
BackendDOMNodeID cdp.BackendNodeID `json:"backendDOMNodeId,omitempty"` // The backend ID for the associated DOM node, if any.
}