selenium-devtools 0.91.0 → 0.94.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -0
  3. data/LICENSE +202 -0
  4. data/NOTICE +2 -0
  5. data/lib/selenium/devtools/{v89 → v93}/accessibility.rb +2 -2
  6. data/lib/selenium/devtools/{v90 → v93}/animation.rb +2 -2
  7. data/lib/selenium/devtools/{v89 → v93}/application_cache.rb +2 -2
  8. data/lib/selenium/devtools/{v90 → v93}/audits.rb +2 -2
  9. data/lib/selenium/devtools/{v90 → v93}/background_service.rb +2 -2
  10. data/lib/selenium/devtools/{v91 → v93}/browser.rb +2 -2
  11. data/lib/selenium/devtools/{v88 → v93}/cache_storage.rb +2 -2
  12. data/lib/selenium/devtools/{v89 → v93}/cast.rb +2 -2
  13. data/lib/selenium/devtools/{v89 → v93}/console.rb +2 -2
  14. data/lib/selenium/devtools/{v91 → v93}/css.rb +9 -2
  15. data/lib/selenium/devtools/{v89 → v93}/database.rb +2 -2
  16. data/lib/selenium/devtools/{v89 → v93}/debugger.rb +2 -2
  17. data/lib/selenium/devtools/{v89 → v93}/device_orientation.rb +2 -2
  18. data/lib/selenium/devtools/{v89 → v93}/dom.rb +8 -2
  19. data/lib/selenium/devtools/{v90 → v93}/dom_debugger.rb +2 -2
  20. data/lib/selenium/devtools/{v88 → v93}/dom_snapshot.rb +6 -4
  21. data/lib/selenium/devtools/{v88 → v93}/dom_storage.rb +2 -2
  22. data/lib/selenium/devtools/{v89 → v93}/emulation.rb +2 -2
  23. data/lib/selenium/devtools/{v89 → v93}/fetch.rb +2 -2
  24. data/lib/selenium/devtools/{v89 → v93}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v89 → v93}/heap_profiler.rb +8 -6
  26. data/lib/selenium/devtools/{v90 → v93}/indexed_db.rb +2 -2
  27. data/lib/selenium/devtools/{v91 → v93}/input.rb +2 -2
  28. data/lib/selenium/devtools/{v90 → v93}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v88 → v93}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v90 → v93}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v90 → v93}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v89 → v93}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v88 → v93}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v91 → v93}/network.rb +6 -8
  35. data/lib/selenium/devtools/{v91 → v93}/overlay.rb +7 -2
  36. data/lib/selenium/devtools/{v91 → v93}/page.rb +6 -4
  37. data/lib/selenium/devtools/{v90 → v93}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v91 → v93}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v89 → v93}/profiler.rb +2 -2
  40. data/lib/selenium/devtools/{v89 → v93}/runtime.rb +5 -4
  41. data/lib/selenium/devtools/{v88 → v93}/schema.rb +2 -2
  42. data/lib/selenium/devtools/{v88 → v93}/security.rb +2 -2
  43. data/lib/selenium/devtools/{v89 → v93}/service_worker.rb +2 -2
  44. data/lib/selenium/devtools/{v91 → v93}/storage.rb +2 -2
  45. data/lib/selenium/devtools/{v90 → v93}/system_info.rb +2 -2
  46. data/lib/selenium/devtools/{v90 → v93}/target.rb +2 -2
  47. data/lib/selenium/devtools/{v90 → v93}/tethering.rb +2 -2
  48. data/lib/selenium/devtools/{v91 → v93}/tracing.rb +2 -2
  49. data/lib/selenium/devtools/{v88 → v93}/web_audio.rb +2 -2
  50. data/lib/selenium/devtools/{v88 → v93}/web_authn.rb +2 -2
  51. data/lib/selenium/devtools/v93.rb +1 -0
  52. data/lib/selenium/devtools/{v90 → v94}/accessibility.rb +8 -6
  53. data/lib/selenium/devtools/{v91 → v94}/animation.rb +2 -2
  54. data/lib/selenium/devtools/{v90 → v94}/application_cache.rb +2 -2
  55. data/lib/selenium/devtools/{v91 → v94}/audits.rb +2 -2
  56. data/lib/selenium/devtools/{v91 → v94}/background_service.rb +2 -2
  57. data/lib/selenium/devtools/{v88 → v94}/browser.rb +15 -4
  58. data/lib/selenium/devtools/{v89 → v94}/cache_storage.rb +2 -2
  59. data/lib/selenium/devtools/{v88 → v94}/cast.rb +2 -2
  60. data/lib/selenium/devtools/{v90 → v94}/console.rb +2 -2
  61. data/lib/selenium/devtools/{v88 → v94}/css.rb +9 -2
  62. data/lib/selenium/devtools/{v88 → v94}/database.rb +2 -2
  63. data/lib/selenium/devtools/{v90 → v94}/debugger.rb +2 -2
  64. data/lib/selenium/devtools/{v90 → v94}/device_orientation.rb +2 -2
  65. data/lib/selenium/devtools/{v88 → v94}/dom.rb +13 -2
  66. data/lib/selenium/devtools/{v91 → v94}/dom_debugger.rb +2 -2
  67. data/lib/selenium/devtools/{v89 → v94}/dom_snapshot.rb +6 -4
  68. data/lib/selenium/devtools/{v90 → v94}/dom_storage.rb +2 -2
  69. data/lib/selenium/devtools/{v90 → v94}/emulation.rb +2 -2
  70. data/lib/selenium/devtools/{v90 → v94}/fetch.rb +5 -4
  71. data/lib/selenium/devtools/{v90 → v94}/headless_experimental.rb +2 -2
  72. data/lib/selenium/devtools/{v88 → v94}/heap_profiler.rb +8 -6
  73. data/lib/selenium/devtools/{v88 → v94}/indexed_db.rb +2 -2
  74. data/lib/selenium/devtools/{v89 → v94}/input.rb +28 -2
  75. data/lib/selenium/devtools/{v88 → v94}/inspector.rb +2 -2
  76. data/lib/selenium/devtools/{v90 → v94}/io.rb +2 -2
  77. data/lib/selenium/devtools/{v88 → v94}/layer_tree.rb +2 -2
  78. data/lib/selenium/devtools/{v88 → v94}/log.rb +2 -2
  79. data/lib/selenium/devtools/{v90 → v94}/media.rb +2 -2
  80. data/lib/selenium/devtools/{v89 → v94}/memory.rb +2 -2
  81. data/lib/selenium/devtools/{v90 → v94}/network.rb +16 -9
  82. data/lib/selenium/devtools/{v90 → v94}/overlay.rb +12 -2
  83. data/lib/selenium/devtools/{v90 → v94}/page.rb +16 -4
  84. data/lib/selenium/devtools/{v91 → v94}/performance.rb +2 -2
  85. data/lib/selenium/devtools/{v90 → v94}/performance_timeline.rb +2 -2
  86. data/lib/selenium/devtools/{v88 → v94}/profiler.rb +2 -2
  87. data/lib/selenium/devtools/{v90 → v94}/runtime.rb +5 -4
  88. data/lib/selenium/devtools/{v89 → v94}/schema.rb +2 -2
  89. data/lib/selenium/devtools/{v90 → v94}/security.rb +2 -2
  90. data/lib/selenium/devtools/{v88 → v94}/service_worker.rb +2 -2
  91. data/lib/selenium/devtools/{v90 → v94}/storage.rb +7 -2
  92. data/lib/selenium/devtools/{v91 → v94}/system_info.rb +2 -2
  93. data/lib/selenium/devtools/{v88 → v94}/target.rb +2 -2
  94. data/lib/selenium/devtools/{v89 → v94}/tethering.rb +2 -2
  95. data/lib/selenium/devtools/{v89 → v94}/tracing.rb +5 -4
  96. data/lib/selenium/devtools/{v89 → v94}/web_audio.rb +2 -2
  97. data/lib/selenium/devtools/{v89 → v94}/web_authn.rb +2 -2
  98. data/lib/selenium/devtools/v94.rb +1 -0
  99. data/lib/selenium/devtools/version.rb +1 -1
  100. data/lib/selenium/{devtools/v90/schema.rb → devtools.rb} +9 -19
  101. data/selenium-devtools.gemspec +43 -0
  102. metadata +120 -195
  103. data/lib/selenium/devtools/v88/accessibility.rb +0 -67
  104. data/lib/selenium/devtools/v88/animation.rb +0 -94
  105. data/lib/selenium/devtools/v88/application_cache.rb +0 -60
  106. data/lib/selenium/devtools/v88/audits.rb +0 -57
  107. data/lib/selenium/devtools/v88/background_service.rb +0 -63
  108. data/lib/selenium/devtools/v88/console.rb +0 -53
  109. data/lib/selenium/devtools/v88/debugger.rb +0 -227
  110. data/lib/selenium/devtools/v88/device_orientation.rb +0 -49
  111. data/lib/selenium/devtools/v88/dom_debugger.rb +0 -89
  112. data/lib/selenium/devtools/v88/emulation.rb +0 -192
  113. data/lib/selenium/devtools/v88/fetch.rb +0 -93
  114. data/lib/selenium/devtools/v88/headless_experimental.rb +0 -57
  115. data/lib/selenium/devtools/v88/input.rb +0 -142
  116. data/lib/selenium/devtools/v88/media.rb +0 -53
  117. data/lib/selenium/devtools/v88/network.rb +0 -241
  118. data/lib/selenium/devtools/v88/overlay.rb +0 -177
  119. data/lib/selenium/devtools/v88/page.rb +0 -370
  120. data/lib/selenium/devtools/v88/performance.rb +0 -59
  121. data/lib/selenium/devtools/v88/runtime.rb +0 -191
  122. data/lib/selenium/devtools/v88/storage.rb +0 -97
  123. data/lib/selenium/devtools/v88/system_info.rb +0 -46
  124. data/lib/selenium/devtools/v88/tethering.rb +0 -51
  125. data/lib/selenium/devtools/v88/tracing.rb +0 -73
  126. data/lib/selenium/devtools/v88.rb +0 -1
  127. data/lib/selenium/devtools/v89/animation.rb +0 -94
  128. data/lib/selenium/devtools/v89/audits.rb +0 -57
  129. data/lib/selenium/devtools/v89/background_service.rb +0 -63
  130. data/lib/selenium/devtools/v89/browser.rb +0 -124
  131. data/lib/selenium/devtools/v89/css.rb +0 -175
  132. data/lib/selenium/devtools/v89/dom_debugger.rb +0 -94
  133. data/lib/selenium/devtools/v89/dom_storage.rb +0 -75
  134. data/lib/selenium/devtools/v89/indexed_db.rb +0 -96
  135. data/lib/selenium/devtools/v89/inspector.rb +0 -51
  136. data/lib/selenium/devtools/v89/io.rb +0 -55
  137. data/lib/selenium/devtools/v89/layer_tree.rb +0 -91
  138. data/lib/selenium/devtools/v89/log.rb +0 -62
  139. data/lib/selenium/devtools/v89/network.rb +0 -244
  140. data/lib/selenium/devtools/v89/overlay.rb +0 -182
  141. data/lib/selenium/devtools/v89/page.rb +0 -372
  142. data/lib/selenium/devtools/v89/performance.rb +0 -59
  143. data/lib/selenium/devtools/v89/performance_timeline.rb +0 -46
  144. data/lib/selenium/devtools/v89/security.rb +0 -67
  145. data/lib/selenium/devtools/v89/storage.rb +0 -97
  146. data/lib/selenium/devtools/v89/system_info.rb +0 -46
  147. data/lib/selenium/devtools/v89/target.rb +0 -139
  148. data/lib/selenium/devtools/v89.rb +0 -1
  149. data/lib/selenium/devtools/v90/browser.rb +0 -124
  150. data/lib/selenium/devtools/v90/cache_storage.rb +0 -69
  151. data/lib/selenium/devtools/v90/cast.rb +0 -66
  152. data/lib/selenium/devtools/v90/css.rb +0 -175
  153. data/lib/selenium/devtools/v90/database.rb +0 -60
  154. data/lib/selenium/devtools/v90/dom.rb +0 -323
  155. data/lib/selenium/devtools/v90/dom_snapshot.rb +0 -61
  156. data/lib/selenium/devtools/v90/heap_profiler.rb +0 -103
  157. data/lib/selenium/devtools/v90/input.rb +0 -142
  158. data/lib/selenium/devtools/v90/memory.rb +0 -82
  159. data/lib/selenium/devtools/v90/profiler.rb +0 -119
  160. data/lib/selenium/devtools/v90/service_worker.rb +0 -112
  161. data/lib/selenium/devtools/v90/tracing.rb +0 -74
  162. data/lib/selenium/devtools/v90/web_audio.rb +0 -66
  163. data/lib/selenium/devtools/v90/web_authn.rb +0 -96
  164. data/lib/selenium/devtools/v90.rb +0 -1
  165. data/lib/selenium/devtools/v91/accessibility.rb +0 -73
  166. data/lib/selenium/devtools/v91/application_cache.rb +0 -60
  167. data/lib/selenium/devtools/v91/cache_storage.rb +0 -69
  168. data/lib/selenium/devtools/v91/cast.rb +0 -66
  169. data/lib/selenium/devtools/v91/console.rb +0 -53
  170. data/lib/selenium/devtools/v91/database.rb +0 -60
  171. data/lib/selenium/devtools/v91/debugger.rb +0 -220
  172. data/lib/selenium/devtools/v91/device_orientation.rb +0 -49
  173. data/lib/selenium/devtools/v91/dom.rb +0 -323
  174. data/lib/selenium/devtools/v91/dom_snapshot.rb +0 -61
  175. data/lib/selenium/devtools/v91/dom_storage.rb +0 -75
  176. data/lib/selenium/devtools/v91/emulation.rb +0 -192
  177. data/lib/selenium/devtools/v91/fetch.rb +0 -93
  178. data/lib/selenium/devtools/v91/headless_experimental.rb +0 -57
  179. data/lib/selenium/devtools/v91/heap_profiler.rb +0 -103
  180. data/lib/selenium/devtools/v91/indexed_db.rb +0 -96
  181. data/lib/selenium/devtools/v91/inspector.rb +0 -51
  182. data/lib/selenium/devtools/v91/io.rb +0 -55
  183. data/lib/selenium/devtools/v91/layer_tree.rb +0 -91
  184. data/lib/selenium/devtools/v91/log.rb +0 -62
  185. data/lib/selenium/devtools/v91/media.rb +0 -53
  186. data/lib/selenium/devtools/v91/memory.rb +0 -82
  187. data/lib/selenium/devtools/v91/profiler.rb +0 -119
  188. data/lib/selenium/devtools/v91/runtime.rb +0 -192
  189. data/lib/selenium/devtools/v91/schema.rb +0 -42
  190. data/lib/selenium/devtools/v91/security.rb +0 -67
  191. data/lib/selenium/devtools/v91/service_worker.rb +0 -112
  192. data/lib/selenium/devtools/v91/target.rb +0 -139
  193. data/lib/selenium/devtools/v91/tethering.rb +0 -51
  194. data/lib/selenium/devtools/v91/web_audio.rb +0 -66
  195. data/lib/selenium/devtools/v91/web_authn.rb +0 -96
  196. data/lib/selenium/devtools/v91.rb +0 -1
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V88
23
+ module V94
24
24
  class Cast
25
25
  EVENTS = {
26
26
  sinks_updated: 'sinksUpdated',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # Cast
64
- end # V88
64
+ end # V94
65
65
  end # DevTools
66
66
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class Console
25
25
  EVENTS = {
26
26
  message_added: 'messageAdded',
@@ -48,6 +48,6 @@ module Selenium
48
48
  end
49
49
 
50
50
  end # Console
51
- end # V90
51
+ end # V94
52
52
  end # DevTools
53
53
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V88
23
+ module V94
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -134,6 +134,13 @@ module Selenium
134
134
  text: text)
135
135
  end
136
136
 
137
+ def set_container_query_text(style_sheet_id:, range:, text:)
138
+ @devtools.send_cmd('CSS.setContainerQueryText',
139
+ styleSheetId: style_sheet_id,
140
+ range: range,
141
+ text: text)
142
+ end
143
+
137
144
  def set_rule_selector(style_sheet_id:, range:, selector:)
138
145
  @devtools.send_cmd('CSS.setRuleSelector',
139
146
  styleSheetId: style_sheet_id,
@@ -170,6 +177,6 @@ module Selenium
170
177
  end
171
178
 
172
179
  end # CSS
173
- end # V88
180
+ end # V94
174
181
  end # DevTools
175
182
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V88
23
+ module V94
24
24
  class Database
25
25
  EVENTS = {
26
26
  add_database: 'addDatabase',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # Database
58
- end # V88
58
+ end # V94
59
59
  end # DevTools
60
60
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -215,6 +215,6 @@ module Selenium
215
215
  end
216
216
 
217
217
  end # Debugger
218
- end # V90
218
+ end # V94
219
219
  end # DevTools
220
220
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class DeviceOrientation
25
25
 
26
26
  def initialize(devtools)
@@ -44,6 +44,6 @@ module Selenium
44
44
  end
45
45
 
46
46
  end # DeviceOrientation
47
- end # V90
47
+ end # V94
48
48
  end # DevTools
49
49
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V88
23
+ module V94
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -317,7 +317,18 @@ module Selenium
317
317
  frameId: frame_id)
318
318
  end
319
319
 
320
+ def get_container_for_node(node_id:, container_name: nil)
321
+ @devtools.send_cmd('DOM.getContainerForNode',
322
+ nodeId: node_id,
323
+ containerName: container_name)
324
+ end
325
+
326
+ def get_querying_descendants_for_container(node_id:)
327
+ @devtools.send_cmd('DOM.getQueryingDescendantsForContainer',
328
+ nodeId: node_id)
329
+ end
330
+
320
331
  end # DOM
321
- end # V88
332
+ end # V94
322
333
  end # DevTools
323
334
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V94
24
24
  class DOMDebugger
25
25
 
26
26
  def initialize(devtools)
@@ -89,6 +89,6 @@ module Selenium
89
89
  end
90
90
 
91
91
  end # DOMDebugger
92
- end # V91
92
+ end # V94
93
93
  end # DevTools
94
94
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V89
23
+ module V94
24
24
  class DOMSnapshot
25
25
 
26
26
  def initialize(devtools)
@@ -48,14 +48,16 @@ module Selenium
48
48
  includeUserAgentShadowTree: include_user_agent_shadow_tree)
49
49
  end
50
50
 
51
- def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil)
51
+ def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil, include_blended_background_colors: nil, include_text_color_opacities: nil)
52
52
  @devtools.send_cmd('DOMSnapshot.captureSnapshot',
53
53
  computedStyles: computed_styles,
54
54
  includePaintOrder: include_paint_order,
55
- includeDOMRects: include_dom_rects)
55
+ includeDOMRects: include_dom_rects,
56
+ includeBlendedBackgroundColors: include_blended_background_colors,
57
+ includeTextColorOpacities: include_text_color_opacities)
56
58
  end
57
59
 
58
60
  end # DOMSnapshot
59
- end # V89
61
+ end # V94
60
62
  end # DevTools
61
63
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class DOMStorage
25
25
  EVENTS = {
26
26
  dom_storage_item_added: 'domStorageItemAdded',
@@ -70,6 +70,6 @@ module Selenium
70
70
  end
71
71
 
72
72
  end # DOMStorage
73
- end # V90
73
+ end # V94
74
74
  end # DevTools
75
75
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -187,6 +187,6 @@ module Selenium
187
187
  end
188
188
 
189
189
  end # Emulation
190
- end # V90
190
+ end # V94
191
191
  end # DevTools
192
192
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class Fetch
25
25
  EVENTS = {
26
26
  request_paused: 'requestPaused',
@@ -62,13 +62,14 @@ module Selenium
62
62
  responsePhrase: response_phrase)
63
63
  end
64
64
 
65
- def continue_request(request_id:, url: nil, method: nil, post_data: nil, headers: nil)
65
+ def continue_request(request_id:, url: nil, method: nil, post_data: nil, headers: nil, intercept_response: nil)
66
66
  @devtools.send_cmd('Fetch.continueRequest',
67
67
  requestId: request_id,
68
68
  url: url,
69
69
  method: method,
70
70
  postData: post_data,
71
- headers: headers)
71
+ headers: headers,
72
+ interceptResponse: intercept_response)
72
73
  end
73
74
 
74
75
  def continue_with_auth(request_id:, auth_challenge_response:)
@@ -88,6 +89,6 @@ module Selenium
88
89
  end
89
90
 
90
91
  end # Fetch
91
- end # V90
92
+ end # V94
92
93
  end # DevTools
93
94
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class HeadlessExperimental
25
25
  EVENTS = {
26
26
  needs_begin_frames_changed: 'needsBeginFramesChanged',
@@ -52,6 +52,6 @@ module Selenium
52
52
  end
53
53
 
54
54
  end # HeadlessExperimental
55
- end # V90
55
+ end # V94
56
56
  end # DevTools
57
57
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V88
23
+ module V94
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -85,19 +85,21 @@ module Selenium
85
85
  @devtools.send_cmd('HeapProfiler.stopSampling')
86
86
  end
87
87
 
88
- def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil)
88
+ def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
89
89
  @devtools.send_cmd('HeapProfiler.stopTrackingHeapObjects',
90
90
  reportProgress: report_progress,
91
- treatGlobalObjectsAsRoots: treat_global_objects_as_roots)
91
+ treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
92
+ captureNumericValue: capture_numeric_value)
92
93
  end
93
94
 
94
- def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil)
95
+ def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
95
96
  @devtools.send_cmd('HeapProfiler.takeHeapSnapshot',
96
97
  reportProgress: report_progress,
97
- treatGlobalObjectsAsRoots: treat_global_objects_as_roots)
98
+ treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
99
+ captureNumericValue: capture_numeric_value)
98
100
  end
99
101
 
100
102
  end # HeapProfiler
101
- end # V88
103
+ end # V94
102
104
  end # DevTools
103
105
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V88
23
+ module V94
24
24
  class IndexedDB
25
25
 
26
26
  def initialize(devtools)
@@ -91,6 +91,6 @@ module Selenium
91
91
  end
92
92
 
93
93
  end # IndexedDB
94
- end # V88
94
+ end # V94
95
95
  end # DevTools
96
96
  end # Selenium
@@ -20,8 +20,11 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V89
23
+ module V94
24
24
  class Input
25
+ EVENTS = {
26
+ drag_intercepted: 'dragIntercepted',
27
+ }.freeze
25
28
 
26
29
  def initialize(devtools)
27
30
  @devtools = devtools
@@ -32,6 +35,15 @@ module Selenium
32
35
  @devtools.callbacks["Input.#{event}"] << block
33
36
  end
34
37
 
38
+ def dispatch_drag_event(type:, x:, y:, data:, modifiers: nil)
39
+ @devtools.send_cmd('Input.dispatchDragEvent',
40
+ type: type,
41
+ x: x,
42
+ y: y,
43
+ data: data,
44
+ modifiers: modifiers)
45
+ end
46
+
35
47
  def dispatch_key_event(type:, modifiers: nil, timestamp: nil, text: nil, unmodified_text: nil, key_identifier: nil, code: nil, key: nil, windows_virtual_key_code: nil, native_virtual_key_code: nil, auto_repeat: nil, is_keypad: nil, is_system_key: nil, location: nil, commands: nil)
36
48
  @devtools.send_cmd('Input.dispatchKeyEvent',
37
49
  type: type,
@@ -56,6 +68,15 @@ module Selenium
56
68
  text: text)
57
69
  end
58
70
 
71
+ def ime_set_composition(text:, selection_start:, selection_end:, replacement_start: nil, replacement_end: nil)
72
+ @devtools.send_cmd('Input.imeSetComposition',
73
+ text: text,
74
+ selectionStart: selection_start,
75
+ selectionEnd: selection_end,
76
+ replacementStart: replacement_start,
77
+ replacementEnd: replacement_end)
78
+ end
79
+
59
80
  def dispatch_mouse_event(type:, x:, y:, modifiers: nil, timestamp: nil, button: nil, buttons: nil, click_count: nil, force: nil, tangential_pressure: nil, tilt_x: nil, tilt_y: nil, twist: nil, delta_x: nil, delta_y: nil, pointer_type: nil)
60
81
  @devtools.send_cmd('Input.dispatchMouseEvent',
61
82
  type: type,
@@ -102,6 +123,11 @@ module Selenium
102
123
  ignore: ignore)
103
124
  end
104
125
 
126
+ def set_intercept_drags(enabled:)
127
+ @devtools.send_cmd('Input.setInterceptDrags',
128
+ enabled: enabled)
129
+ end
130
+
105
131
  def synthesize_pinch_gesture(x:, y:, scale_factor:, relative_speed: nil, gesture_source_type: nil)
106
132
  @devtools.send_cmd('Input.synthesizePinchGesture',
107
133
  x: x,
@@ -137,6 +163,6 @@ module Selenium
137
163
  end
138
164
 
139
165
  end # Input
140
- end # V89
166
+ end # V94
141
167
  end # DevTools
142
168
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V88
23
+ module V94
24
24
  class Inspector
25
25
  EVENTS = {
26
26
  detached: 'detached',
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # Inspector
49
- end # V88
49
+ end # V94
50
50
  end # DevTools
51
51
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class IO
25
25
 
26
26
  def initialize(devtools)
@@ -50,6 +50,6 @@ module Selenium
50
50
  end
51
51
 
52
52
  end # IO
53
- end # V90
53
+ end # V94
54
54
  end # DevTools
55
55
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V88
23
+ module V94
24
24
  class LayerTree
25
25
  EVENTS = {
26
26
  layer_painted: 'layerPainted',
@@ -86,6 +86,6 @@ module Selenium
86
86
  end
87
87
 
88
88
  end # LayerTree
89
- end # V88
89
+ end # V94
90
90
  end # DevTools
91
91
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V88
23
+ module V94
24
24
  class Log
25
25
  EVENTS = {
26
26
  entry_added: 'entryAdded',
@@ -57,6 +57,6 @@ module Selenium
57
57
  end
58
58
 
59
59
  end # Log
60
- end # V88
60
+ end # V94
61
61
  end # DevTools
62
62
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class Media
25
25
  EVENTS = {
26
26
  player_properties_changed: 'playerPropertiesChanged',
@@ -48,6 +48,6 @@ module Selenium
48
48
  end
49
49
 
50
50
  end # Media
51
- end # V90
51
+ end # V94
52
52
  end # DevTools
53
53
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V89
23
+ module V94
24
24
  class Memory
25
25
 
26
26
  def initialize(devtools)
@@ -77,6 +77,6 @@ module Selenium
77
77
  end
78
78
 
79
79
  end # Memory
80
- end # V89
80
+ end # V94
81
81
  end # DevTools
82
82
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -46,6 +46,10 @@ module Selenium
46
46
  request_will_be_sent_extra_info: 'requestWillBeSentExtraInfo',
47
47
  response_received_extra_info: 'responseReceivedExtraInfo',
48
48
  trust_token_operation_done: 'trustTokenOperationDone',
49
+ subresource_web_bundle_metadata_received: 'subresourceWebBundleMetadataReceived',
50
+ subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
51
+ subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
52
+ subresource_web_bundle_inner_response_error: 'subresourceWebBundleInnerResponseError',
49
53
  }.freeze
50
54
 
51
55
  def initialize(devtools)
@@ -57,6 +61,15 @@ module Selenium
57
61
  @devtools.callbacks["Network.#{event}"] << block
58
62
  end
59
63
 
64
+ def set_accepted_encodings(encodings:)
65
+ @devtools.send_cmd('Network.setAcceptedEncodings',
66
+ encodings: encodings)
67
+ end
68
+
69
+ def clear_accepted_encodings_override
70
+ @devtools.send_cmd('Network.clearAcceptedEncodingsOverride')
71
+ end
72
+
60
73
  def can_clear_browser_cache
61
74
  @devtools.send_cmd('Network.canClearBrowserCache')
62
75
  end
@@ -201,12 +214,6 @@ module Selenium
201
214
  cookies: cookies)
202
215
  end
203
216
 
204
- def set_data_size_limits_for_test(max_total_size:, max_resource_size:)
205
- @devtools.send_cmd('Network.setDataSizeLimitsForTest',
206
- maxTotalSize: max_total_size,
207
- maxResourceSize: max_resource_size)
208
- end
209
-
210
217
  def set_extra_http_headers(headers:)
211
218
  @devtools.send_cmd('Network.setExtraHTTPHeaders',
212
219
  headers: headers)
@@ -235,7 +242,7 @@ module Selenium
235
242
  frameId: frame_id)
236
243
  end
237
244
 
238
- def load_network_resource(frame_id:, url:, options:)
245
+ def load_network_resource(frame_id: nil, url:, options:)
239
246
  @devtools.send_cmd('Network.loadNetworkResource',
240
247
  frameId: frame_id,
241
248
  url: url,
@@ -243,6 +250,6 @@ module Selenium
243
250
  end
244
251
 
245
252
  end # Network
246
- end # V90
253
+ end # V94
247
254
  end # DevTools
248
255
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -146,6 +146,16 @@ module Selenium
146
146
  flexNodeHighlightConfigs: flex_node_highlight_configs)
147
147
  end
148
148
 
149
+ def set_show_scroll_snap_overlays(scroll_snap_highlight_configs:)
150
+ @devtools.send_cmd('Overlay.setShowScrollSnapOverlays',
151
+ scrollSnapHighlightConfigs: scroll_snap_highlight_configs)
152
+ end
153
+
154
+ def set_show_container_query_overlays(container_query_highlight_configs:)
155
+ @devtools.send_cmd('Overlay.setShowContainerQueryOverlays',
156
+ containerQueryHighlightConfigs: container_query_highlight_configs)
157
+ end
158
+
149
159
  def set_show_paint_rects(result:)
150
160
  @devtools.send_cmd('Overlay.setShowPaintRects',
151
161
  result: result)
@@ -182,6 +192,6 @@ module Selenium
182
192
  end
183
193
 
184
194
  end # Overlay
185
- end # V90
195
+ end # V94
186
196
  end # DevTools
187
197
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V94
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -42,6 +42,7 @@ module Selenium
42
42
  javascript_dialog_closed: 'javascriptDialogClosed',
43
43
  javascript_dialog_opening: 'javascriptDialogOpening',
44
44
  lifecycle_event: 'lifecycleEvent',
45
+ back_forward_cache_not_used: 'backForwardCacheNotUsed',
45
46
  load_event_fired: 'loadEventFired',
46
47
  navigated_within_document: 'navigatedWithinDocument',
47
48
  screencast_frame: 'screencastFrame',
@@ -64,10 +65,11 @@ module Selenium
64
65
  scriptSource: script_source)
65
66
  end
66
67
 
67
- def add_script_to_evaluate_on_new_document(source:, world_name: nil)
68
+ def add_script_to_evaluate_on_new_document(source:, world_name: nil, include_command_line_api: nil)
68
69
  @devtools.send_cmd('Page.addScriptToEvaluateOnNewDocument',
69
70
  source: source,
70
- worldName: world_name)
71
+ worldName: world_name,
72
+ includeCommandLineAPI: include_command_line_api)
71
73
  end
72
74
 
73
75
  def bring_to_front
@@ -248,6 +250,11 @@ module Selenium
248
250
  frameId: frame_id)
249
251
  end
250
252
 
253
+ def get_origin_trials(frame_id:)
254
+ @devtools.send_cmd('Page.getOriginTrials',
255
+ frameId: frame_id)
256
+ end
257
+
251
258
  def set_device_metrics_override(width:, height:, device_scale_factor:, mobile:, scale: nil, screen_width: nil, screen_height: nil, position_x: nil, position_y: nil, dont_set_visible_size: nil, screen_orientation: nil, viewport: nil)
252
259
  @devtools.send_cmd('Page.setDeviceMetricsOverride',
253
260
  width: width,
@@ -346,6 +353,11 @@ module Selenium
346
353
  enabled: enabled)
347
354
  end
348
355
 
356
+ def produce_compilation_cache(scripts:)
357
+ @devtools.send_cmd('Page.produceCompilationCache',
358
+ scripts: scripts)
359
+ end
360
+
349
361
  def add_compilation_cache(url:, data:)
350
362
  @devtools.send_cmd('Page.addCompilationCache',
351
363
  url: url,
@@ -372,6 +384,6 @@ module Selenium
372
384
  end
373
385
 
374
386
  end # Page
375
- end # V90
387
+ end # V94
376
388
  end # DevTools
377
389
  end # Selenium