selenium-devtools 0.105.0 → 0.106.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v102 → v106}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v102 → v106}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v102 → v106}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v101 → v106}/background_service.rb +2 -2
  6. data/lib/selenium/devtools/{v101 → v106}/browser.rb +2 -2
  7. data/lib/selenium/devtools/{v102 → v106}/cache_storage.rb +2 -2
  8. data/lib/selenium/devtools/{v103 → v106}/cast.rb +2 -2
  9. data/lib/selenium/devtools/{v102 → v106}/console.rb +2 -2
  10. data/lib/selenium/devtools/{v102 → v106}/css.rb +9 -2
  11. data/lib/selenium/devtools/{v102 → v106}/database.rb +2 -2
  12. data/lib/selenium/devtools/{v103 → v106}/debugger.rb +18 -6
  13. data/lib/selenium/devtools/{v101 → v106}/device_orientation.rb +2 -2
  14. data/lib/selenium/devtools/{v102 → v106}/dom.rb +7 -2
  15. data/lib/selenium/devtools/{v103 → v106}/dom_debugger.rb +2 -2
  16. data/lib/selenium/devtools/{v102 → v106}/dom_snapshot.rb +2 -2
  17. data/lib/selenium/devtools/{v101 → v106}/dom_storage.rb +2 -2
  18. data/lib/selenium/devtools/{v103 → v106}/emulation.rb +7 -2
  19. data/lib/selenium/devtools/{v102 → v106}/event_breakpoints.rb +2 -2
  20. data/lib/selenium/devtools/{v101 → v106}/fetch.rb +2 -2
  21. data/lib/selenium/devtools/{v101 → v106}/headless_experimental.rb +2 -2
  22. data/lib/selenium/devtools/{v103 → v106}/heap_profiler.rb +2 -2
  23. data/lib/selenium/devtools/{v103 → v106}/indexed_db.rb +17 -10
  24. data/lib/selenium/devtools/{v101 → v106}/input.rb +2 -2
  25. data/lib/selenium/devtools/{v102 → v106}/inspector.rb +2 -2
  26. data/lib/selenium/devtools/{v101 → v106}/io.rb +2 -2
  27. data/lib/selenium/devtools/{v102 → v106}/layer_tree.rb +2 -2
  28. data/lib/selenium/devtools/{v103 → v106}/log.rb +2 -2
  29. data/lib/selenium/devtools/{v102 → v106}/media.rb +2 -2
  30. data/lib/selenium/devtools/{v102 → v106}/memory.rb +2 -2
  31. data/lib/selenium/devtools/{v103 → v106}/network.rb +2 -2
  32. data/lib/selenium/devtools/{v101 → v106}/overlay.rb +2 -2
  33. data/lib/selenium/devtools/{v103 → v106}/page.rb +2 -2
  34. data/lib/selenium/devtools/{v101 → v106}/performance.rb +2 -2
  35. data/lib/selenium/devtools/{v103 → v106}/performance_timeline.rb +2 -2
  36. data/lib/selenium/devtools/{v102 → v106}/profiler.rb +2 -2
  37. data/lib/selenium/devtools/{v102 → v106}/runtime.rb +2 -2
  38. data/lib/selenium/devtools/{v102 → v106}/schema.rb +2 -2
  39. data/lib/selenium/devtools/{v102 → v106}/security.rb +2 -2
  40. data/lib/selenium/devtools/{v103 → v106}/service_worker.rb +2 -2
  41. data/lib/selenium/devtools/{v103 → v106}/storage.rb +23 -2
  42. data/lib/selenium/devtools/{v103 → v106}/system_info.rb +2 -2
  43. data/lib/selenium/devtools/{v103 → v106}/target.rb +14 -10
  44. data/lib/selenium/devtools/{v101 → v106}/tethering.rb +2 -2
  45. data/lib/selenium/devtools/{v101 → v106}/tracing.rb +2 -2
  46. data/lib/selenium/devtools/{v101 → v106}/web_audio.rb +2 -2
  47. data/lib/selenium/devtools/{v103 → v106}/web_authn.rb +2 -2
  48. data/lib/selenium/devtools/v106.rb +1 -0
  49. data/lib/selenium/devtools/version.rb +1 -1
  50. metadata +49 -143
  51. data/lib/selenium/devtools/v101/accessibility.rb +0 -91
  52. data/lib/selenium/devtools/v101/animation.rb +0 -94
  53. data/lib/selenium/devtools/v101/audits.rb +0 -62
  54. data/lib/selenium/devtools/v101/cache_storage.rb +0 -69
  55. data/lib/selenium/devtools/v101/cast.rb +0 -71
  56. data/lib/selenium/devtools/v101/console.rb +0 -53
  57. data/lib/selenium/devtools/v101/css.rb +0 -194
  58. data/lib/selenium/devtools/v101/database.rb +0 -60
  59. data/lib/selenium/devtools/v101/debugger.rb +0 -220
  60. data/lib/selenium/devtools/v101/dom.rb +0 -335
  61. data/lib/selenium/devtools/v101/dom_debugger.rb +0 -94
  62. data/lib/selenium/devtools/v101/dom_snapshot.rb +0 -63
  63. data/lib/selenium/devtools/v101/emulation.rb +0 -201
  64. data/lib/selenium/devtools/v101/event_breakpoints.rb +0 -48
  65. data/lib/selenium/devtools/v101/heap_profiler.rb +0 -105
  66. data/lib/selenium/devtools/v101/indexed_db.rb +0 -96
  67. data/lib/selenium/devtools/v101/inspector.rb +0 -51
  68. data/lib/selenium/devtools/v101/layer_tree.rb +0 -91
  69. data/lib/selenium/devtools/v101/log.rb +0 -62
  70. data/lib/selenium/devtools/v101/media.rb +0 -53
  71. data/lib/selenium/devtools/v101/memory.rb +0 -82
  72. data/lib/selenium/devtools/v101/network.rb +0 -264
  73. data/lib/selenium/devtools/v101/page.rb +0 -394
  74. data/lib/selenium/devtools/v101/performance_timeline.rb +0 -46
  75. data/lib/selenium/devtools/v101/profiler.rb +0 -95
  76. data/lib/selenium/devtools/v101/runtime.rb +0 -199
  77. data/lib/selenium/devtools/v101/schema.rb +0 -42
  78. data/lib/selenium/devtools/v101/security.rb +0 -67
  79. data/lib/selenium/devtools/v101/service_worker.rb +0 -112
  80. data/lib/selenium/devtools/v101/storage.rb +0 -118
  81. data/lib/selenium/devtools/v101/system_info.rb +0 -46
  82. data/lib/selenium/devtools/v101/target.rb +0 -146
  83. data/lib/selenium/devtools/v101/web_authn.rb +0 -96
  84. data/lib/selenium/devtools/v101.rb +0 -1
  85. data/lib/selenium/devtools/v102/background_service.rb +0 -63
  86. data/lib/selenium/devtools/v102/browser.rb +0 -135
  87. data/lib/selenium/devtools/v102/cast.rb +0 -71
  88. data/lib/selenium/devtools/v102/debugger.rb +0 -220
  89. data/lib/selenium/devtools/v102/device_orientation.rb +0 -49
  90. data/lib/selenium/devtools/v102/dom_debugger.rb +0 -94
  91. data/lib/selenium/devtools/v102/dom_storage.rb +0 -75
  92. data/lib/selenium/devtools/v102/emulation.rb +0 -201
  93. data/lib/selenium/devtools/v102/fetch.rb +0 -103
  94. data/lib/selenium/devtools/v102/headless_experimental.rb +0 -57
  95. data/lib/selenium/devtools/v102/heap_profiler.rb +0 -105
  96. data/lib/selenium/devtools/v102/indexed_db.rb +0 -96
  97. data/lib/selenium/devtools/v102/input.rb +0 -168
  98. data/lib/selenium/devtools/v102/io.rb +0 -55
  99. data/lib/selenium/devtools/v102/log.rb +0 -62
  100. data/lib/selenium/devtools/v102/network.rb +0 -264
  101. data/lib/selenium/devtools/v102/overlay.rb +0 -202
  102. data/lib/selenium/devtools/v102/page.rb +0 -395
  103. data/lib/selenium/devtools/v102/performance.rb +0 -59
  104. data/lib/selenium/devtools/v102/performance_timeline.rb +0 -46
  105. data/lib/selenium/devtools/v102/service_worker.rb +0 -112
  106. data/lib/selenium/devtools/v102/storage.rb +0 -118
  107. data/lib/selenium/devtools/v102/system_info.rb +0 -46
  108. data/lib/selenium/devtools/v102/target.rb +0 -146
  109. data/lib/selenium/devtools/v102/tethering.rb +0 -51
  110. data/lib/selenium/devtools/v102/tracing.rb +0 -75
  111. data/lib/selenium/devtools/v102/web_audio.rb +0 -66
  112. data/lib/selenium/devtools/v102/web_authn.rb +0 -96
  113. data/lib/selenium/devtools/v102.rb +0 -1
  114. data/lib/selenium/devtools/v103/accessibility.rb +0 -91
  115. data/lib/selenium/devtools/v103/animation.rb +0 -94
  116. data/lib/selenium/devtools/v103/audits.rb +0 -62
  117. data/lib/selenium/devtools/v103/background_service.rb +0 -63
  118. data/lib/selenium/devtools/v103/browser.rb +0 -135
  119. data/lib/selenium/devtools/v103/cache_storage.rb +0 -69
  120. data/lib/selenium/devtools/v103/console.rb +0 -53
  121. data/lib/selenium/devtools/v103/css.rb +0 -194
  122. data/lib/selenium/devtools/v103/database.rb +0 -60
  123. data/lib/selenium/devtools/v103/device_orientation.rb +0 -49
  124. data/lib/selenium/devtools/v103/dom.rb +0 -335
  125. data/lib/selenium/devtools/v103/dom_snapshot.rb +0 -63
  126. data/lib/selenium/devtools/v103/dom_storage.rb +0 -80
  127. data/lib/selenium/devtools/v103/event_breakpoints.rb +0 -48
  128. data/lib/selenium/devtools/v103/fetch.rb +0 -103
  129. data/lib/selenium/devtools/v103/headless_experimental.rb +0 -57
  130. data/lib/selenium/devtools/v103/input.rb +0 -168
  131. data/lib/selenium/devtools/v103/inspector.rb +0 -51
  132. data/lib/selenium/devtools/v103/io.rb +0 -55
  133. data/lib/selenium/devtools/v103/layer_tree.rb +0 -91
  134. data/lib/selenium/devtools/v103/media.rb +0 -53
  135. data/lib/selenium/devtools/v103/memory.rb +0 -82
  136. data/lib/selenium/devtools/v103/overlay.rb +0 -202
  137. data/lib/selenium/devtools/v103/performance.rb +0 -59
  138. data/lib/selenium/devtools/v103/profiler.rb +0 -95
  139. data/lib/selenium/devtools/v103/runtime.rb +0 -201
  140. data/lib/selenium/devtools/v103/schema.rb +0 -42
  141. data/lib/selenium/devtools/v103/security.rb +0 -67
  142. data/lib/selenium/devtools/v103/tethering.rb +0 -51
  143. data/lib/selenium/devtools/v103/tracing.rb +0 -75
  144. data/lib/selenium/devtools/v103/web_audio.rb +0 -66
  145. data/lib/selenium/devtools/v103.rb +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2659ac76816c3a0e229fd0f54fe5a5f1edcfc9bde965090efb8369928ac0917
4
- data.tar.gz: fe39544be3d0ce12ed25b2948b9cd2145b3255aa7450fc78bf7490d685ecb890
3
+ metadata.gz: f728965f8aa765ef15c5f9da44c743243e60430f039af23028348c79b5ef3500
4
+ data.tar.gz: 06515e096f38408c299b214e130979708c15268b039dd4514a3632f26532b0c0
5
5
  SHA512:
6
- metadata.gz: d3a1f5165e1ce0f908b56f8305a2c30f6bea4369c79d26ffce01b37451b039b8175a42766d9720e4dcfc169019b11ecdd616588b5389f10f9b36a3b87623c73a
7
- data.tar.gz: 02f1a73135db7767c3b30ba7a8fd8a57305e3a7d2a20061c0d92eab1c9a7588418a7bb79ef440d915f37d03fe041698aa5cc2eac397a8ab4a9cbcc1299547ca0
6
+ metadata.gz: 6aaf1d04317bf53047dc66da20ebc5066787f303d039344f912ff5f332deaa7d238778e59d772f4064f3f5fca2c3c549387016573716c6a7f69300e532a498a3
7
+ data.tar.gz: 06e8bf62986cae686fb872c4c33802b6186b9e0c1c8be1f646dd5fc1b9fdf10d02fea726d18434d37882208cd331950bbca6384a631ed97c92fc68701c0691d3
@@ -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 V102
23
+ module V106
24
24
  class Accessibility
25
25
  EVENTS = {
26
26
  load_complete: 'loadComplete',
@@ -86,6 +86,6 @@ module Selenium
86
86
  end
87
87
 
88
88
  end # Accessibility
89
- end # V102
89
+ end # V106
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 V102
23
+ module V106
24
24
  class Animation
25
25
  EVENTS = {
26
26
  animation_canceled: 'animationCanceled',
@@ -89,6 +89,6 @@ module Selenium
89
89
  end
90
90
 
91
91
  end # Animation
92
- end # V102
92
+ end # V106
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 V102
23
+ module V106
24
24
  class Audits
25
25
  EVENTS = {
26
26
  issue_added: 'issueAdded',
@@ -57,6 +57,6 @@ module Selenium
57
57
  end
58
58
 
59
59
  end # Audits
60
- end # V102
60
+ end # V106
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 V101
23
+ module V106
24
24
  class BackgroundService
25
25
  EVENTS = {
26
26
  recording_state_changed: 'recordingStateChanged',
@@ -58,6 +58,6 @@ module Selenium
58
58
  end
59
59
 
60
60
  end # BackgroundService
61
- end # V101
61
+ end # V106
62
62
  end # DevTools
63
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 V101
23
+ module V106
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -130,6 +130,6 @@ module Selenium
130
130
  end
131
131
 
132
132
  end # Browser
133
- end # V101
133
+ end # V106
134
134
  end # DevTools
135
135
  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 V102
23
+ module V106
24
24
  class CacheStorage
25
25
 
26
26
  def initialize(devtools)
@@ -64,6 +64,6 @@ module Selenium
64
64
  end
65
65
 
66
66
  end # CacheStorage
67
- end # V102
67
+ end # V106
68
68
  end # DevTools
69
69
  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 V103
23
+ module V106
24
24
  class Cast
25
25
  EVENTS = {
26
26
  sinks_updated: 'sinksUpdated',
@@ -66,6 +66,6 @@ module Selenium
66
66
  end
67
67
 
68
68
  end # Cast
69
- end # V103
69
+ end # V106
70
70
  end # DevTools
71
71
  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 V102
23
+ module V106
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 # V102
51
+ end # V106
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 V102
23
+ module V106
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -153,6 +153,13 @@ module Selenium
153
153
  text: text)
154
154
  end
155
155
 
156
+ def set_scope_text(style_sheet_id:, range:, text:)
157
+ @devtools.send_cmd('CSS.setScopeText',
158
+ styleSheetId: style_sheet_id,
159
+ range: range,
160
+ text: text)
161
+ end
162
+
156
163
  def set_rule_selector(style_sheet_id:, range:, selector:)
157
164
  @devtools.send_cmd('CSS.setRuleSelector',
158
165
  styleSheetId: style_sheet_id,
@@ -189,6 +196,6 @@ module Selenium
189
196
  end
190
197
 
191
198
  end # CSS
192
- end # V102
199
+ end # V106
193
200
  end # DevTools
194
201
  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 V102
23
+ module V106
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 # V102
58
+ end # V106
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 V103
23
+ module V106
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -79,6 +79,16 @@ module Selenium
79
79
  scriptId: script_id)
80
80
  end
81
81
 
82
+ def disassemble_wasm_module(script_id:)
83
+ @devtools.send_cmd('Debugger.disassembleWasmModule',
84
+ scriptId: script_id)
85
+ end
86
+
87
+ def next_wasm_disassembly_chunk(stream_id:)
88
+ @devtools.send_cmd('Debugger.nextWasmDisassemblyChunk',
89
+ streamId: stream_id)
90
+ end
91
+
82
92
  def get_wasm_bytecode(script_id:)
83
93
  @devtools.send_cmd('Debugger.getWasmBytecode',
84
94
  scriptId: script_id)
@@ -103,9 +113,10 @@ module Selenium
103
113
  breakpointId: breakpoint_id)
104
114
  end
105
115
 
106
- def restart_frame(call_frame_id:)
116
+ def restart_frame(call_frame_id:, mode: nil)
107
117
  @devtools.send_cmd('Debugger.restartFrame',
108
- callFrameId: call_frame_id)
118
+ callFrameId: call_frame_id,
119
+ mode: mode)
109
120
  end
110
121
 
111
122
  def resume(terminate_on_resume: nil)
@@ -179,11 +190,12 @@ module Selenium
179
190
  newValue: new_value)
180
191
  end
181
192
 
182
- def set_script_source(script_id:, script_source:, dry_run: nil)
193
+ def set_script_source(script_id:, script_source:, dry_run: nil, allow_top_frame_editing: nil)
183
194
  @devtools.send_cmd('Debugger.setScriptSource',
184
195
  scriptId: script_id,
185
196
  scriptSource: script_source,
186
- dryRun: dry_run)
197
+ dryRun: dry_run,
198
+ allowTopFrameEditing: allow_top_frame_editing)
187
199
  end
188
200
 
189
201
  def set_skip_all_pauses(skip:)
@@ -215,6 +227,6 @@ module Selenium
215
227
  end
216
228
 
217
229
  end # Debugger
218
- end # V103
230
+ end # V106
219
231
  end # DevTools
220
232
  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 V101
23
+ module V106
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 # V101
47
+ end # V106
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 V102
23
+ module V106
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -33,6 +33,7 @@ module Selenium
33
33
  document_updated: 'documentUpdated',
34
34
  inline_style_invalidated: 'inlineStyleInvalidated',
35
35
  pseudo_element_added: 'pseudoElementAdded',
36
+ top_layer_elements_updated: 'topLayerElementsUpdated',
36
37
  pseudo_element_removed: 'pseudoElementRemoved',
37
38
  set_child_nodes: 'setChildNodes',
38
39
  shadow_root_popped: 'shadowRootPopped',
@@ -214,6 +215,10 @@ module Selenium
214
215
  selector: selector)
215
216
  end
216
217
 
218
+ def get_top_layer_elements
219
+ @devtools.send_cmd('DOM.getTopLayerElements')
220
+ end
221
+
217
222
  def redo
218
223
  @devtools.send_cmd('DOM.redo')
219
224
  end
@@ -330,6 +335,6 @@ module Selenium
330
335
  end
331
336
 
332
337
  end # DOM
333
- end # V102
338
+ end # V106
334
339
  end # DevTools
335
340
  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 V103
23
+ module V106
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 # V103
92
+ end # V106
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 V102
23
+ module V106
24
24
  class DOMSnapshot
25
25
 
26
26
  def initialize(devtools)
@@ -58,6 +58,6 @@ module Selenium
58
58
  end
59
59
 
60
60
  end # DOMSnapshot
61
- end # V102
61
+ end # V106
62
62
  end # DevTools
63
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 V101
23
+ module V106
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 # V101
73
+ end # V106
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 V103
23
+ module V106
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -182,6 +182,11 @@ module Selenium
182
182
  imageTypes: image_types)
183
183
  end
184
184
 
185
+ def set_hardware_concurrency_override(hardware_concurrency:)
186
+ @devtools.send_cmd('Emulation.setHardwareConcurrencyOverride',
187
+ hardwareConcurrency: hardware_concurrency)
188
+ end
189
+
185
190
  def set_user_agent_override(user_agent:, accept_language: nil, platform: nil, user_agent_metadata: nil)
186
191
  @devtools.send_cmd('Emulation.setUserAgentOverride',
187
192
  userAgent: user_agent,
@@ -196,6 +201,6 @@ module Selenium
196
201
  end
197
202
 
198
203
  end # Emulation
199
- end # V103
204
+ end # V106
200
205
  end # DevTools
201
206
  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 V102
23
+ module V106
24
24
  class EventBreakpoints
25
25
 
26
26
  def initialize(devtools)
@@ -43,6 +43,6 @@ module Selenium
43
43
  end
44
44
 
45
45
  end # EventBreakpoints
46
- end # V102
46
+ end # V106
47
47
  end # DevTools
48
48
  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 V101
23
+ module V106
24
24
  class Fetch
25
25
  EVENTS = {
26
26
  request_paused: 'requestPaused',
@@ -98,6 +98,6 @@ module Selenium
98
98
  end
99
99
 
100
100
  end # Fetch
101
- end # V101
101
+ end # V106
102
102
  end # DevTools
103
103
  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 V101
23
+ module V106
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 # V101
55
+ end # V106
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 V103
23
+ module V106
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -102,6 +102,6 @@ module Selenium
102
102
  end
103
103
 
104
104
  end # HeapProfiler
105
- end # V103
105
+ end # V106
106
106
  end # DevTools
107
107
  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 V103
23
+ module V106
24
24
  class IndexedDB
25
25
 
26
26
  def initialize(devtools)
@@ -32,22 +32,25 @@ module Selenium
32
32
  @devtools.callbacks["IndexedDB.#{event}"] << block
33
33
  end
34
34
 
35
- def clear_object_store(security_origin:, database_name:, object_store_name:)
35
+ def clear_object_store(security_origin: nil, storage_key: nil, database_name:, object_store_name:)
36
36
  @devtools.send_cmd('IndexedDB.clearObjectStore',
37
37
  securityOrigin: security_origin,
38
+ storageKey: storage_key,
38
39
  databaseName: database_name,
39
40
  objectStoreName: object_store_name)
40
41
  end
41
42
 
42
- def delete_database(security_origin:, database_name:)
43
+ def delete_database(security_origin: nil, storage_key: nil, database_name:)
43
44
  @devtools.send_cmd('IndexedDB.deleteDatabase',
44
45
  securityOrigin: security_origin,
46
+ storageKey: storage_key,
45
47
  databaseName: database_name)
46
48
  end
47
49
 
48
- def delete_object_store_entries(security_origin:, database_name:, object_store_name:, key_range:)
50
+ def delete_object_store_entries(security_origin: nil, storage_key: nil, database_name:, object_store_name:, key_range:)
49
51
  @devtools.send_cmd('IndexedDB.deleteObjectStoreEntries',
50
52
  securityOrigin: security_origin,
53
+ storageKey: storage_key,
51
54
  databaseName: database_name,
52
55
  objectStoreName: object_store_name,
53
56
  keyRange: key_range)
@@ -61,9 +64,10 @@ module Selenium
61
64
  @devtools.send_cmd('IndexedDB.enable')
62
65
  end
63
66
 
64
- def request_data(security_origin:, database_name:, object_store_name:, index_name:, skip_count:, page_size:, key_range: nil)
67
+ def request_data(security_origin: nil, storage_key: nil, database_name:, object_store_name:, index_name:, skip_count:, page_size:, key_range: nil)
65
68
  @devtools.send_cmd('IndexedDB.requestData',
66
69
  securityOrigin: security_origin,
70
+ storageKey: storage_key,
67
71
  databaseName: database_name,
68
72
  objectStoreName: object_store_name,
69
73
  indexName: index_name,
@@ -72,25 +76,28 @@ module Selenium
72
76
  keyRange: key_range)
73
77
  end
74
78
 
75
- def get_metadata(security_origin:, database_name:, object_store_name:)
79
+ def get_metadata(security_origin: nil, storage_key: nil, database_name:, object_store_name:)
76
80
  @devtools.send_cmd('IndexedDB.getMetadata',
77
81
  securityOrigin: security_origin,
82
+ storageKey: storage_key,
78
83
  databaseName: database_name,
79
84
  objectStoreName: object_store_name)
80
85
  end
81
86
 
82
- def request_database(security_origin:, database_name:)
87
+ def request_database(security_origin: nil, storage_key: nil, database_name:)
83
88
  @devtools.send_cmd('IndexedDB.requestDatabase',
84
89
  securityOrigin: security_origin,
90
+ storageKey: storage_key,
85
91
  databaseName: database_name)
86
92
  end
87
93
 
88
- def request_database_names(security_origin:)
94
+ def request_database_names(security_origin: nil, storage_key: nil)
89
95
  @devtools.send_cmd('IndexedDB.requestDatabaseNames',
90
- securityOrigin: security_origin)
96
+ securityOrigin: security_origin,
97
+ storageKey: storage_key)
91
98
  end
92
99
 
93
100
  end # IndexedDB
94
- end # V103
101
+ end # V106
95
102
  end # DevTools
96
103
  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 V101
23
+ module V106
24
24
  class Input
25
25
  EVENTS = {
26
26
  drag_intercepted: 'dragIntercepted',
@@ -163,6 +163,6 @@ module Selenium
163
163
  end
164
164
 
165
165
  end # Input
166
- end # V101
166
+ end # V106
167
167
  end # DevTools
168
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 V102
23
+ module V106
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 # V102
49
+ end # V106
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 V101
23
+ module V106
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 # V101
53
+ end # V106
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 V102
23
+ module V106
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 # V102
89
+ end # V106
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 V103
23
+ module V106
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 # V103
60
+ end # V106
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 V102
23
+ module V106
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 # V102
51
+ end # V106
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 V102
23
+ module V106
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 # V102
80
+ end # V106
81
81
  end # DevTools
82
82
  end # Selenium