devtools-protocol 0.0.1498597 → 0.0.1501779

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.
Files changed (55) hide show
  1. package/json/browser_protocol.json +17960 -17689
  2. package/json/js_protocol.json +6 -0
  3. package/package.json +1 -1
  4. package/pdl/browser_protocol.pdl +47 -13824
  5. package/pdl/domains/Accessibility.pdl +290 -0
  6. package/pdl/domains/Animation.pdl +195 -0
  7. package/pdl/domains/Audits.pdl +755 -0
  8. package/pdl/domains/Autofill.pdl +106 -0
  9. package/pdl/domains/BackgroundService.pdl +77 -0
  10. package/pdl/domains/BluetoothEmulation.pdl +227 -0
  11. package/pdl/domains/Browser.pdl +345 -0
  12. package/pdl/domains/CSS.pdl +996 -0
  13. package/pdl/domains/CacheStorage.pdl +125 -0
  14. package/pdl/domains/Cast.pdl +62 -0
  15. package/pdl/domains/DOM.pdl +932 -0
  16. package/pdl/domains/DOMDebugger.pdl +128 -0
  17. package/pdl/domains/DOMSnapshot.pdl +319 -0
  18. package/pdl/domains/DOMStorage.pdl +72 -0
  19. package/pdl/domains/DeviceAccess.pdl +43 -0
  20. package/pdl/domains/DeviceOrientation.pdl +20 -0
  21. package/pdl/domains/Emulation.pdl +608 -0
  22. package/pdl/domains/EventBreakpoints.pdl +24 -0
  23. package/pdl/domains/Extensions.pdl +72 -0
  24. package/pdl/domains/FedCm.pdl +100 -0
  25. package/pdl/domains/Fetch.pdl +251 -0
  26. package/pdl/domains/FileSystem.pdl +41 -0
  27. package/pdl/domains/HeadlessExperimental.pdl +56 -0
  28. package/pdl/domains/IO.pdl +45 -0
  29. package/pdl/domains/IndexedDB.pdl +226 -0
  30. package/pdl/domains/Input.pdl +336 -0
  31. package/pdl/domains/Inspector.pdl +25 -0
  32. package/pdl/domains/LayerTree.pdl +178 -0
  33. package/pdl/domains/Log.pdl +93 -0
  34. package/pdl/domains/Media.pdl +106 -0
  35. package/pdl/domains/Memory.pdl +112 -0
  36. package/pdl/domains/Network.pdl +2039 -0
  37. package/pdl/domains/Overlay.pdl +498 -0
  38. package/pdl/domains/PWA.pdl +142 -0
  39. package/pdl/domains/Page.pdl +1767 -0
  40. package/pdl/domains/Performance.pdl +54 -0
  41. package/pdl/domains/PerformanceTimeline.pdl +71 -0
  42. package/pdl/domains/Preload.pdl +290 -0
  43. package/pdl/domains/Security.pdl +196 -0
  44. package/pdl/domains/ServiceWorker.pdl +121 -0
  45. package/pdl/domains/Storage.pdl +913 -0
  46. package/pdl/domains/SystemInfo.pdl +145 -0
  47. package/pdl/domains/Target.pdl +327 -0
  48. package/pdl/domains/Tethering.pdl +28 -0
  49. package/pdl/domains/Tracing.pdl +157 -0
  50. package/pdl/domains/WebAudio.pdl +205 -0
  51. package/pdl/domains/WebAuthn.pdl +230 -0
  52. package/types/protocol-mapping.d.ts +992 -615
  53. package/types/protocol-proxy-api.d.ts +543 -522
  54. package/types/protocol-tests-proxy-api.d.ts +628 -607
  55. package/types/protocol.d.ts +8059 -7903
@@ -0,0 +1,226 @@
1
+ # Copyright 2017 The Chromium Authors
2
+ # Use of this source code is governed by a BSD-style license that can be
3
+ # found in the LICENSE file.
4
+ #
5
+ # Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
6
+
7
+ experimental domain IndexedDB
8
+ depends on Runtime
9
+ depends on Storage
10
+
11
+ # Database with an array of object stores.
12
+ type DatabaseWithObjectStores extends object
13
+ properties
14
+ # Database name.
15
+ string name
16
+ # Database version (type is not 'integer', as the standard
17
+ # requires the version number to be 'unsigned long long')
18
+ number version
19
+ # Object stores in this database.
20
+ array of ObjectStore objectStores
21
+
22
+ # Object store.
23
+ type ObjectStore extends object
24
+ properties
25
+ # Object store name.
26
+ string name
27
+ # Object store key path.
28
+ KeyPath keyPath
29
+ # If true, object store has auto increment flag set.
30
+ boolean autoIncrement
31
+ # Indexes in this object store.
32
+ array of ObjectStoreIndex indexes
33
+
34
+ # Object store index.
35
+ type ObjectStoreIndex extends object
36
+ properties
37
+ # Index name.
38
+ string name
39
+ # Index key path.
40
+ KeyPath keyPath
41
+ # If true, index is unique.
42
+ boolean unique
43
+ # If true, index allows multiple entries for a key.
44
+ boolean multiEntry
45
+
46
+ # Key.
47
+ type Key extends object
48
+ properties
49
+ # Key type.
50
+ enum type
51
+ number
52
+ string
53
+ date
54
+ array
55
+ # Number value.
56
+ optional number number
57
+ # String value.
58
+ optional string string
59
+ # Date value.
60
+ optional number date
61
+ # Array value.
62
+ optional array of Key array
63
+
64
+ # Key range.
65
+ type KeyRange extends object
66
+ properties
67
+ # Lower bound.
68
+ optional Key lower
69
+ # Upper bound.
70
+ optional Key upper
71
+ # If true lower bound is open.
72
+ boolean lowerOpen
73
+ # If true upper bound is open.
74
+ boolean upperOpen
75
+
76
+ # Data entry.
77
+ type DataEntry extends object
78
+ properties
79
+ # Key object.
80
+ Runtime.RemoteObject key
81
+ # Primary key object.
82
+ Runtime.RemoteObject primaryKey
83
+ # Value object.
84
+ Runtime.RemoteObject value
85
+
86
+ # Key path.
87
+ type KeyPath extends object
88
+ properties
89
+ # Key path type.
90
+ enum type
91
+ null
92
+ string
93
+ array
94
+ # String value.
95
+ optional string string
96
+ # Array value.
97
+ optional array of string array
98
+
99
+ # Clears all entries from an object store.
100
+ command clearObjectStore
101
+ parameters
102
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
103
+ # Security origin.
104
+ optional string securityOrigin
105
+ # Storage key.
106
+ optional string storageKey
107
+ # Storage bucket. If not specified, it uses the default bucket.
108
+ optional Storage.StorageBucket storageBucket
109
+ # Database name.
110
+ string databaseName
111
+ # Object store name.
112
+ string objectStoreName
113
+
114
+ # Deletes a database.
115
+ command deleteDatabase
116
+ parameters
117
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
118
+ # Security origin.
119
+ optional string securityOrigin
120
+ # Storage key.
121
+ optional string storageKey
122
+ # Storage bucket. If not specified, it uses the default bucket.
123
+ optional Storage.StorageBucket storageBucket
124
+ # Database name.
125
+ string databaseName
126
+
127
+ # Delete a range of entries from an object store
128
+ command deleteObjectStoreEntries
129
+ parameters
130
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
131
+ # Security origin.
132
+ optional string securityOrigin
133
+ # Storage key.
134
+ optional string storageKey
135
+ # Storage bucket. If not specified, it uses the default bucket.
136
+ optional Storage.StorageBucket storageBucket
137
+ string databaseName
138
+ string objectStoreName
139
+ # Range of entry keys to delete
140
+ KeyRange keyRange
141
+
142
+ # Disables events from backend.
143
+ command disable
144
+
145
+ # Enables events from backend.
146
+ command enable
147
+
148
+ # Requests data from object store or index.
149
+ command requestData
150
+ parameters
151
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
152
+ # Security origin.
153
+ optional string securityOrigin
154
+ # Storage key.
155
+ optional string storageKey
156
+ # Storage bucket. If not specified, it uses the default bucket.
157
+ optional Storage.StorageBucket storageBucket
158
+ # Database name.
159
+ string databaseName
160
+ # Object store name.
161
+ string objectStoreName
162
+ # Index name, empty string for object store data requests.
163
+ string indexName
164
+ # Number of records to skip.
165
+ integer skipCount
166
+ # Number of records to fetch.
167
+ integer pageSize
168
+ # Key range.
169
+ optional KeyRange keyRange
170
+ returns
171
+ # Array of object store data entries.
172
+ array of DataEntry objectStoreDataEntries
173
+ # If true, there are more entries to fetch in the given range.
174
+ boolean hasMore
175
+
176
+ # Gets metadata of an object store.
177
+ command getMetadata
178
+ parameters
179
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
180
+ # Security origin.
181
+ optional string securityOrigin
182
+ # Storage key.
183
+ optional string storageKey
184
+ # Storage bucket. If not specified, it uses the default bucket.
185
+ optional Storage.StorageBucket storageBucket
186
+ # Database name.
187
+ string databaseName
188
+ # Object store name.
189
+ string objectStoreName
190
+ returns
191
+ # the entries count
192
+ number entriesCount
193
+ # the current value of key generator, to become the next inserted
194
+ # key into the object store. Valid if objectStore.autoIncrement
195
+ # is true.
196
+ number keyGeneratorValue
197
+
198
+ # Requests database with given name in given frame.
199
+ command requestDatabase
200
+ parameters
201
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
202
+ # Security origin.
203
+ optional string securityOrigin
204
+ # Storage key.
205
+ optional string storageKey
206
+ # Storage bucket. If not specified, it uses the default bucket.
207
+ optional Storage.StorageBucket storageBucket
208
+ # Database name.
209
+ string databaseName
210
+ returns
211
+ # Database with an array of object stores.
212
+ DatabaseWithObjectStores databaseWithObjectStores
213
+
214
+ # Requests database names for given security origin.
215
+ command requestDatabaseNames
216
+ parameters
217
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
218
+ # Security origin.
219
+ optional string securityOrigin
220
+ # Storage key.
221
+ optional string storageKey
222
+ # Storage bucket. If not specified, it uses the default bucket.
223
+ optional Storage.StorageBucket storageBucket
224
+ returns
225
+ # Database names for origin.
226
+ array of string databaseNames
@@ -0,0 +1,336 @@
1
+ # Copyright 2017 The Chromium Authors
2
+ # Use of this source code is governed by a BSD-style license that can be
3
+ # found in the LICENSE file.
4
+ #
5
+ # Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
6
+
7
+ domain Input
8
+
9
+ type TouchPoint extends object
10
+ properties
11
+ # X coordinate of the event relative to the main frame's viewport in CSS pixels.
12
+ number x
13
+ # Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to
14
+ # the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.
15
+ number y
16
+ # X radius of the touch area (default: 1.0).
17
+ optional number radiusX
18
+ # Y radius of the touch area (default: 1.0).
19
+ optional number radiusY
20
+ # Rotation angle (default: 0.0).
21
+ optional number rotationAngle
22
+ # Force (default: 1.0).
23
+ optional number force
24
+ # The normalized tangential pressure, which has a range of [-1,1] (default: 0).
25
+ experimental optional number tangentialPressure
26
+ # The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0)
27
+ optional number tiltX
28
+ # The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0).
29
+ optional number tiltY
30
+ # The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).
31
+ experimental optional integer twist
32
+ # Identifier used to track touch sources between events, must be unique within an event.
33
+ optional number id
34
+
35
+ experimental type GestureSourceType extends string
36
+ enum
37
+ default
38
+ touch
39
+ mouse
40
+
41
+ type MouseButton extends string
42
+ enum
43
+ none
44
+ left
45
+ middle
46
+ right
47
+ back
48
+ forward
49
+
50
+ # UTC time in seconds, counted from January 1, 1970.
51
+ type TimeSinceEpoch extends number
52
+
53
+ experimental type DragDataItem extends object
54
+ properties
55
+ # Mime type of the dragged data.
56
+ string mimeType
57
+ # Depending of the value of `mimeType`, it contains the dragged link,
58
+ # text, HTML markup or any other data.
59
+ string data
60
+
61
+ # Title associated with a link. Only valid when `mimeType` == "text/uri-list".
62
+ optional string title
63
+
64
+ # Stores the base URL for the contained markup. Only valid when `mimeType`
65
+ # == "text/html".
66
+ optional string baseURL
67
+
68
+
69
+ experimental type DragData extends object
70
+ properties
71
+ array of DragDataItem items
72
+ # List of filenames that should be included when dropping
73
+ optional array of string files
74
+ # Bit field representing allowed drag operations. Copy = 1, Link = 2, Move = 16
75
+ integer dragOperationsMask
76
+
77
+ # Dispatches a drag event into the page.
78
+ experimental command dispatchDragEvent
79
+ parameters
80
+ # Type of the drag event.
81
+ enum type
82
+ dragEnter
83
+ dragOver
84
+ drop
85
+ dragCancel
86
+ # X coordinate of the event relative to the main frame's viewport in CSS pixels.
87
+ number x
88
+ # Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to
89
+ # the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.
90
+ number y
91
+ DragData data
92
+ # Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8
93
+ # (default: 0).
94
+ optional integer modifiers
95
+
96
+ # Dispatches a key event to the page.
97
+ command dispatchKeyEvent
98
+ parameters
99
+ # Type of the key event.
100
+ enum type
101
+ keyDown
102
+ keyUp
103
+ rawKeyDown
104
+ char
105
+ # Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8
106
+ # (default: 0).
107
+ optional integer modifiers
108
+ # Time at which the event occurred.
109
+ optional TimeSinceEpoch timestamp
110
+ # Text as generated by processing a virtual key code with a keyboard layout. Not needed for
111
+ # for `keyUp` and `rawKeyDown` events (default: "")
112
+ optional string text
113
+ # Text that would have been generated by the keyboard if no modifiers were pressed (except for
114
+ # shift). Useful for shortcut (accelerator) key handling (default: "").
115
+ optional string unmodifiedText
116
+ # Unique key identifier (e.g., 'U+0041') (default: "").
117
+ optional string keyIdentifier
118
+ # Unique DOM defined string value for each physical key (e.g., 'KeyA') (default: "").
119
+ optional string code
120
+ # Unique DOM defined string value describing the meaning of the key in the context of active
121
+ # modifiers, keyboard layout, etc (e.g., 'AltGr') (default: "").
122
+ optional string key
123
+ # Windows virtual key code (default: 0).
124
+ optional integer windowsVirtualKeyCode
125
+ # Native virtual key code (default: 0).
126
+ optional integer nativeVirtualKeyCode
127
+ # Whether the event was generated from auto repeat (default: false).
128
+ optional boolean autoRepeat
129
+ # Whether the event was generated from the keypad (default: false).
130
+ optional boolean isKeypad
131
+ # Whether the event was a system key event (default: false).
132
+ optional boolean isSystemKey
133
+ # Whether the event was from the left or right side of the keyboard. 1=Left, 2=Right (default:
134
+ # 0).
135
+ optional integer location
136
+ # Editing commands to send with the key event (e.g., 'selectAll') (default: []).
137
+ # These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.
138
+ # See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.
139
+ experimental optional array of string commands
140
+
141
+ # This method emulates inserting text that doesn't come from a key press,
142
+ # for example an emoji keyboard or an IME.
143
+ experimental command insertText
144
+ parameters
145
+ # The text to insert.
146
+ string text
147
+
148
+ # This method sets the current candidate text for IME.
149
+ # Use imeCommitComposition to commit the final text.
150
+ # Use imeSetComposition with empty string as text to cancel composition.
151
+ experimental command imeSetComposition
152
+ parameters
153
+ # The text to insert
154
+ string text
155
+ # selection start
156
+ integer selectionStart
157
+ # selection end
158
+ integer selectionEnd
159
+ # replacement start
160
+ optional integer replacementStart
161
+ # replacement end
162
+ optional integer replacementEnd
163
+
164
+ # Dispatches a mouse event to the page.
165
+ command dispatchMouseEvent
166
+ parameters
167
+ # Type of the mouse event.
168
+ enum type
169
+ mousePressed
170
+ mouseReleased
171
+ mouseMoved
172
+ mouseWheel
173
+ # X coordinate of the event relative to the main frame's viewport in CSS pixels.
174
+ number x
175
+ # Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to
176
+ # the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.
177
+ number y
178
+ # Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8
179
+ # (default: 0).
180
+ optional integer modifiers
181
+ # Time at which the event occurred.
182
+ optional TimeSinceEpoch timestamp
183
+ # Mouse button (default: "none").
184
+ optional MouseButton button
185
+ # A number indicating which buttons are pressed on the mouse when a mouse event is triggered.
186
+ # Left=1, Right=2, Middle=4, Back=8, Forward=16, None=0.
187
+ optional integer buttons
188
+ # Number of times the mouse button was clicked (default: 0).
189
+ optional integer clickCount
190
+ # The normalized pressure, which has a range of [0,1] (default: 0).
191
+ experimental optional number force
192
+ # The normalized tangential pressure, which has a range of [-1,1] (default: 0).
193
+ experimental optional number tangentialPressure
194
+ # The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0).
195
+ optional number tiltX
196
+ # The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0).
197
+ optional number tiltY
198
+ # The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).
199
+ experimental optional integer twist
200
+ # X delta in CSS pixels for mouse wheel event (default: 0).
201
+ optional number deltaX
202
+ # Y delta in CSS pixels for mouse wheel event (default: 0).
203
+ optional number deltaY
204
+ # Pointer type (default: "mouse").
205
+ optional enum pointerType
206
+ mouse
207
+ pen
208
+
209
+ # Dispatches a touch event to the page.
210
+ command dispatchTouchEvent
211
+ parameters
212
+ # Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while
213
+ # TouchStart and TouchMove must contains at least one.
214
+ enum type
215
+ touchStart
216
+ touchEnd
217
+ touchMove
218
+ touchCancel
219
+ # Active touch points on the touch device. One event per any changed point (compared to
220
+ # previous touch event in a sequence) is generated, emulating pressing/moving/releasing points
221
+ # one by one.
222
+ array of TouchPoint touchPoints
223
+ # Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8
224
+ # (default: 0).
225
+ optional integer modifiers
226
+ # Time at which the event occurred.
227
+ optional TimeSinceEpoch timestamp
228
+
229
+ # Cancels any active dragging in the page.
230
+ command cancelDragging
231
+
232
+ # Emulates touch event from the mouse event parameters.
233
+ experimental command emulateTouchFromMouseEvent
234
+ parameters
235
+ # Type of the mouse event.
236
+ enum type
237
+ mousePressed
238
+ mouseReleased
239
+ mouseMoved
240
+ mouseWheel
241
+ # X coordinate of the mouse pointer in DIP.
242
+ integer x
243
+ # Y coordinate of the mouse pointer in DIP.
244
+ integer y
245
+ # Mouse button. Only "none", "left", "right" are supported.
246
+ MouseButton button
247
+ # Time at which the event occurred (default: current time).
248
+ optional TimeSinceEpoch timestamp
249
+ # X delta in DIP for mouse wheel event (default: 0).
250
+ optional number deltaX
251
+ # Y delta in DIP for mouse wheel event (default: 0).
252
+ optional number deltaY
253
+ # Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8
254
+ # (default: 0).
255
+ optional integer modifiers
256
+ # Number of times the mouse button was clicked (default: 0).
257
+ optional integer clickCount
258
+
259
+ # Ignores input events (useful while auditing page).
260
+ command setIgnoreInputEvents
261
+ parameters
262
+ # Ignores input events processing when set to true.
263
+ boolean ignore
264
+
265
+ # Prevents default drag and drop behavior and instead emits `Input.dragIntercepted` events.
266
+ # Drag and drop behavior can be directly controlled via `Input.dispatchDragEvent`.
267
+ experimental command setInterceptDrags
268
+ parameters
269
+ boolean enabled
270
+
271
+ # Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
272
+ experimental command synthesizePinchGesture
273
+ parameters
274
+ # X coordinate of the start of the gesture in CSS pixels.
275
+ number x
276
+ # Y coordinate of the start of the gesture in CSS pixels.
277
+ number y
278
+ # Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out).
279
+ number scaleFactor
280
+ # Relative pointer speed in pixels per second (default: 800).
281
+ optional integer relativeSpeed
282
+ # Which type of input events to be generated (default: 'default', which queries the platform
283
+ # for the preferred input type).
284
+ optional GestureSourceType gestureSourceType
285
+
286
+ # Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
287
+ experimental command synthesizeScrollGesture
288
+ parameters
289
+ # X coordinate of the start of the gesture in CSS pixels.
290
+ number x
291
+ # Y coordinate of the start of the gesture in CSS pixels.
292
+ number y
293
+ # The distance to scroll along the X axis (positive to scroll left).
294
+ optional number xDistance
295
+ # The distance to scroll along the Y axis (positive to scroll up).
296
+ optional number yDistance
297
+ # The number of additional pixels to scroll back along the X axis, in addition to the given
298
+ # distance.
299
+ optional number xOverscroll
300
+ # The number of additional pixels to scroll back along the Y axis, in addition to the given
301
+ # distance.
302
+ optional number yOverscroll
303
+ # Prevent fling (default: true).
304
+ optional boolean preventFling
305
+ # Swipe speed in pixels per second (default: 800).
306
+ optional integer speed
307
+ # Which type of input events to be generated (default: 'default', which queries the platform
308
+ # for the preferred input type).
309
+ optional GestureSourceType gestureSourceType
310
+ # The number of times to repeat the gesture (default: 0).
311
+ optional integer repeatCount
312
+ # The number of milliseconds delay between each repeat. (default: 250).
313
+ optional integer repeatDelayMs
314
+ # The name of the interaction markers to generate, if not empty (default: "").
315
+ optional string interactionMarkerName
316
+
317
+ # Synthesizes a tap gesture over a time period by issuing appropriate touch events.
318
+ experimental command synthesizeTapGesture
319
+ parameters
320
+ # X coordinate of the start of the gesture in CSS pixels.
321
+ number x
322
+ # Y coordinate of the start of the gesture in CSS pixels.
323
+ number y
324
+ # Duration between touchdown and touchup events in ms (default: 50).
325
+ optional integer duration
326
+ # Number of times to perform the tap (e.g. 2 for double tap, default: 1).
327
+ optional integer tapCount
328
+ # Which type of input events to be generated (default: 'default', which queries the platform
329
+ # for the preferred input type).
330
+ optional GestureSourceType gestureSourceType
331
+
332
+ # Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
333
+ # restore normal drag and drop behavior.
334
+ experimental event dragIntercepted
335
+ parameters
336
+ DragData data
@@ -0,0 +1,25 @@
1
+ # Copyright 2017 The Chromium Authors
2
+ # Use of this source code is governed by a BSD-style license that can be
3
+ # found in the LICENSE file.
4
+ #
5
+ # Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
6
+
7
+ experimental domain Inspector
8
+
9
+ # Disables inspector domain notifications.
10
+ command disable
11
+
12
+ # Enables inspector domain notifications.
13
+ command enable
14
+
15
+ # Fired when remote debugging connection is about to be terminated. Contains detach reason.
16
+ event detached
17
+ parameters
18
+ # The reason why connection has been terminated.
19
+ string reason
20
+
21
+ # Fired when debugging target has crashed
22
+ event targetCrashed
23
+
24
+ # Fired when debugging target has reloaded after crash
25
+ event targetReloadedAfterCrash