selenium-devtools 0.131.0 → 0.132.0

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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/LICENSE +1 -1
  4. data/NOTICE +1 -1
  5. data/lib/selenium/devtools/{v129 → v132}/accessibility.rb +2 -2
  6. data/lib/selenium/devtools/{v129 → v132}/animation.rb +2 -2
  7. data/lib/selenium/devtools/{v129 → v132}/audits.rb +2 -2
  8. data/lib/selenium/devtools/{v129 → v132}/autofill.rb +2 -2
  9. data/lib/selenium/devtools/{v129 → v132}/background_service.rb +2 -2
  10. data/lib/selenium/devtools/{v129 → v132}/bluetooth_emulation.rb +2 -2
  11. data/lib/selenium/devtools/{v129 → v132}/browser.rb +2 -2
  12. data/lib/selenium/devtools/{v129 → v132}/cache_storage.rb +2 -2
  13. data/lib/selenium/devtools/{v129 → v132}/cast.rb +2 -2
  14. data/lib/selenium/devtools/{v129 → v132}/console.rb +2 -2
  15. data/lib/selenium/devtools/{v129 → v132}/css.rb +8 -2
  16. data/lib/selenium/devtools/{v129 → v132}/database.rb +2 -2
  17. data/lib/selenium/devtools/{v129 → v132}/debugger.rb +10 -4
  18. data/lib/selenium/devtools/{v129 → v132}/device_access.rb +2 -2
  19. data/lib/selenium/devtools/{v129 → v132}/device_orientation.rb +2 -2
  20. data/lib/selenium/devtools/{v129 → v132}/dom.rb +6 -4
  21. data/lib/selenium/devtools/{v129 → v132}/dom_debugger.rb +2 -2
  22. data/lib/selenium/devtools/{v129 → v132}/dom_snapshot.rb +2 -2
  23. data/lib/selenium/devtools/{v129 → v132}/dom_storage.rb +2 -2
  24. data/lib/selenium/devtools/{v129 → v132}/emulation.rb +2 -2
  25. data/lib/selenium/devtools/{v129 → v132}/event_breakpoints.rb +2 -2
  26. data/lib/selenium/devtools/{v129 → v132}/extensions.rb +2 -2
  27. data/lib/selenium/devtools/{v129 → v132}/fed_cm.rb +2 -2
  28. data/lib/selenium/devtools/{v129 → v132}/fetch.rb +2 -2
  29. data/lib/selenium/devtools/{v129 → v132}/file_system.rb +2 -2
  30. data/lib/selenium/devtools/{v129 → v132}/headless_experimental.rb +2 -2
  31. data/lib/selenium/devtools/{v129 → v132}/heap_profiler.rb +2 -2
  32. data/lib/selenium/devtools/{v129 → v132}/indexed_db.rb +2 -2
  33. data/lib/selenium/devtools/{v129 → v132}/input.rb +2 -2
  34. data/lib/selenium/devtools/{v129 → v132}/inspector.rb +2 -2
  35. data/lib/selenium/devtools/{v129 → v132}/io.rb +2 -2
  36. data/lib/selenium/devtools/{v129 → v132}/layer_tree.rb +2 -2
  37. data/lib/selenium/devtools/{v129 → v132}/log.rb +2 -2
  38. data/lib/selenium/devtools/{v129 → v132}/media.rb +2 -2
  39. data/lib/selenium/devtools/{v129 → v132}/memory.rb +6 -2
  40. data/lib/selenium/devtools/{v129 → v132}/network.rb +2 -2
  41. data/lib/selenium/devtools/{v129 → v132}/overlay.rb +2 -2
  42. data/lib/selenium/devtools/{v129 → v132}/page.rb +3 -2
  43. data/lib/selenium/devtools/{v129 → v132}/performance.rb +2 -2
  44. data/lib/selenium/devtools/{v129 → v132}/performance_timeline.rb +2 -2
  45. data/lib/selenium/devtools/{v129 → v132}/preload.rb +2 -2
  46. data/lib/selenium/devtools/{v129 → v132}/profiler.rb +2 -2
  47. data/lib/selenium/devtools/{v129 → v132}/pwa.rb +2 -2
  48. data/lib/selenium/devtools/{v129 → v132}/runtime.rb +2 -2
  49. data/lib/selenium/devtools/{v129 → v132}/schema.rb +2 -2
  50. data/lib/selenium/devtools/{v129 → v132}/security.rb +2 -2
  51. data/lib/selenium/devtools/{v129 → v132}/service_worker.rb +2 -2
  52. data/lib/selenium/devtools/{v129 → v132}/storage.rb +2 -2
  53. data/lib/selenium/devtools/{v129 → v132}/system_info.rb +2 -2
  54. data/lib/selenium/devtools/{v129 → v132}/target.rb +2 -2
  55. data/lib/selenium/devtools/{v129 → v132}/tethering.rb +2 -2
  56. data/lib/selenium/devtools/{v129 → v132}/tracing.rb +2 -2
  57. data/lib/selenium/devtools/{v129 → v132}/web_audio.rb +2 -2
  58. data/lib/selenium/devtools/{v129 → v132}/web_authn.rb +4 -2
  59. data/lib/selenium/devtools/{v129.rb → v132.rb} +3 -3
  60. data/lib/selenium/devtools/version.rb +1 -1
  61. metadata +57 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46c71e1c576ff2b03c8bf7000cd777b64e53d36897853473099a3e4ce109e88c
4
- data.tar.gz: 79ebbe3f1801ed09057fb0349c62b37ac9e0b0c65994afa564904785c1253ade
3
+ metadata.gz: c128f96df8ea72d291241b2fc288ec29ab6417651d69d837b961671aba82fd5f
4
+ data.tar.gz: 0e44572ec1f5f9ee7fc266fc77fef1c5002502e678242d7af8c5fd6ec8c95bdf
5
5
  SHA512:
6
- metadata.gz: b1445765d3d716b10e582856ce013552b3087fa451b78e7e724775f91db5051658232935037be7e0a8c667d224901b79e2dd88587dd2642689a529083cb0ee92
7
- data.tar.gz: 3ce74eaf2dc0f6c4856978e617854ccc282fc29846f45174dbef64e1677488b02b05b2e62512b15991630137b7cbe1675af80734c5d6c46aeb0859ede4c0ae08
6
+ metadata.gz: f7a43e3d80fda191564ad69ac7dbd3ba01b95d3c5179ea18f7fc7eceea3c1d34f0bfcda60b8b63ab8a21bc8f7c364aeb48991a04fcd5f7c80205a41a1d7ab851
7
+ data.tar.gz: c8535d12d27d03f8d54d61cbc6b18804dff69c8c491a922a3a90cb3707acc668bce4e1b7fabca2a51287cff3654fbf55cb905b4d2026360b36de8ab180cbc9fe
data/Gemfile CHANGED
@@ -7,4 +7,4 @@ end
7
7
 
8
8
  gem 'curb', '~> 1.0.5', require: false, platforms: %i[mri mingw x64_mingw]
9
9
  gem 'debug', '~> 1.7', require: false, platforms: %i[mri mingw x64_mingw]
10
- gem 'steep', '1.5.2', require: false, platforms: %i[mri mingw x64_mingw]
10
+ gem 'steep', '~> 1.5.0', require: false, platforms: %i[mri mingw x64_mingw]
data/LICENSE CHANGED
@@ -187,7 +187,7 @@
187
187
  same "printed page" as the copyright notice for easier
188
188
  identification within third-party archives.
189
189
 
190
- Copyright 2024 Software Freedom Conservancy (SFC)
190
+ Copyright 2025 Software Freedom Conservancy (SFC)
191
191
 
192
192
  Licensed under the Apache License, Version 2.0 (the "License");
193
193
  you may not use this file except in compliance with the License.
data/NOTICE CHANGED
@@ -1,2 +1,2 @@
1
- Copyright 2011-2024 Software Freedom Conservancy
1
+ Copyright 2011-2025 Software Freedom Conservancy
2
2
  Copyright 2004-2011 Selenium committers
@@ -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 V129
23
+ module V132
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 # V129
89
+ end # V132
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 V129
23
+ module V132
24
24
  class Animation
25
25
  EVENTS = {
26
26
  animation_canceled: 'animationCanceled',
@@ -90,6 +90,6 @@ module Selenium
90
90
  end
91
91
 
92
92
  end # Animation
93
- end # V129
93
+ end # V132
94
94
  end # DevTools
95
95
  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 V129
23
+ module V132
24
24
  class Audits
25
25
  EVENTS = {
26
26
  issue_added: 'issueAdded',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # Audits
64
- end # V129
64
+ end # V132
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 V129
23
+ module V132
24
24
  class Autofill
25
25
  EVENTS = {
26
26
  address_form_filled: 'addressFormFilled',
@@ -56,6 +56,6 @@ module Selenium
56
56
  end
57
57
 
58
58
  end # Autofill
59
- end # V129
59
+ end # V132
60
60
  end # DevTools
61
61
  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 V129
23
+ module V132
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 # V129
61
+ end # V132
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 V129
23
+ module V132
24
24
  class BluetoothEmulation
25
25
 
26
26
  def initialize(devtools)
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # BluetoothEmulation
58
- end # V129
58
+ end # V132
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 V129
23
+ module V132
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -135,6 +135,6 @@ module Selenium
135
135
  end
136
136
 
137
137
  end # Browser
138
- end # V129
138
+ end # V132
139
139
  end # DevTools
140
140
  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 V129
23
+ module V132
24
24
  class CacheStorage
25
25
 
26
26
  def initialize(devtools)
@@ -66,6 +66,6 @@ module Selenium
66
66
  end
67
67
 
68
68
  end # CacheStorage
69
- end # V129
69
+ end # V132
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 V129
23
+ module V132
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 # V129
69
+ end # V132
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 V129
23
+ module V132
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 # V129
51
+ end # V132
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 V129
23
+ module V132
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -28,6 +28,7 @@ module Selenium
28
28
  style_sheet_added: 'styleSheetAdded',
29
29
  style_sheet_changed: 'styleSheetChanged',
30
30
  style_sheet_removed: 'styleSheetRemoved',
31
+ computed_style_updated: 'computedStyleUpdated',
31
32
  }.freeze
32
33
 
33
34
  def initialize(devtools)
@@ -116,6 +117,11 @@ module Selenium
116
117
  selectorText: selector_text)
117
118
  end
118
119
 
120
+ def track_computed_style_updates_for_node(node_id: nil)
121
+ @devtools.send_cmd('CSS.trackComputedStyleUpdatesForNode',
122
+ nodeId: node_id)
123
+ end
124
+
119
125
  def track_computed_style_updates(properties_to_track:)
120
126
  @devtools.send_cmd('CSS.trackComputedStyleUpdates',
121
127
  propertiesToTrack: properties_to_track)
@@ -211,6 +217,6 @@ module Selenium
211
217
  end
212
218
 
213
219
  end # CSS
214
- end # V129
220
+ end # V132
215
221
  end # DevTools
216
222
  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 V129
23
+ module V132
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 # V129
58
+ end # V132
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 V129
23
+ module V132
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -137,9 +137,15 @@ module Selenium
137
137
  maxDepth: max_depth)
138
138
  end
139
139
 
140
- def set_blackbox_patterns(patterns:)
140
+ def set_blackbox_execution_contexts(unique_ids:)
141
+ @devtools.send_cmd('Debugger.setBlackboxExecutionContexts',
142
+ uniqueIds: unique_ids)
143
+ end
144
+
145
+ def set_blackbox_patterns(patterns:, skip_anonymous: nil)
141
146
  @devtools.send_cmd('Debugger.setBlackboxPatterns',
142
- patterns: patterns)
147
+ patterns: patterns,
148
+ skipAnonymous: skip_anonymous)
143
149
  end
144
150
 
145
151
  def set_blackboxed_ranges(script_id:, positions:)
@@ -227,6 +233,6 @@ module Selenium
227
233
  end
228
234
 
229
235
  end # Debugger
230
- end # V129
236
+ end # V132
231
237
  end # DevTools
232
238
  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 V129
23
+ module V132
24
24
  class DeviceAccess
25
25
  EVENTS = {
26
26
  device_request_prompted: 'deviceRequestPrompted',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # DeviceAccess
58
- end # V129
58
+ end # V132
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 V129
23
+ module V132
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 # V129
47
+ end # V132
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 V129
23
+ module V132
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -34,6 +34,7 @@ module Selenium
34
34
  inline_style_invalidated: 'inlineStyleInvalidated',
35
35
  pseudo_element_added: 'pseudoElementAdded',
36
36
  top_layer_elements_updated: 'topLayerElementsUpdated',
37
+ scrollable_flag_updated: 'scrollableFlagUpdated',
37
38
  pseudo_element_removed: 'pseudoElementRemoved',
38
39
  set_child_nodes: 'setChildNodes',
39
40
  shadow_root_popped: 'shadowRootPopped',
@@ -333,12 +334,13 @@ module Selenium
333
334
  frameId: frame_id)
334
335
  end
335
336
 
336
- def get_container_for_node(node_id:, container_name: nil, physical_axes: nil, logical_axes: nil)
337
+ def get_container_for_node(node_id:, container_name: nil, physical_axes: nil, logical_axes: nil, queries_scroll_state: nil)
337
338
  @devtools.send_cmd('DOM.getContainerForNode',
338
339
  nodeId: node_id,
339
340
  containerName: container_name,
340
341
  physicalAxes: physical_axes,
341
- logicalAxes: logical_axes)
342
+ logicalAxes: logical_axes,
343
+ queriesScrollState: queries_scroll_state)
342
344
  end
343
345
 
344
346
  def get_querying_descendants_for_container(node_id:)
@@ -353,6 +355,6 @@ module Selenium
353
355
  end
354
356
 
355
357
  end # DOM
356
- end # V129
358
+ end # V132
357
359
  end # DevTools
358
360
  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 V129
23
+ module V132
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 # V129
92
+ end # V132
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 V129
23
+ module V132
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 # V129
61
+ end # V132
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 V129
23
+ module V132
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 # V129
73
+ end # V132
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 V129
23
+ module V132
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -242,6 +242,6 @@ module Selenium
242
242
  end
243
243
 
244
244
  end # Emulation
245
- end # V129
245
+ end # V132
246
246
  end # DevTools
247
247
  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 V129
23
+ module V132
24
24
  class EventBreakpoints
25
25
 
26
26
  def initialize(devtools)
@@ -47,6 +47,6 @@ module Selenium
47
47
  end
48
48
 
49
49
  end # EventBreakpoints
50
- end # V129
50
+ end # V132
51
51
  end # DevTools
52
52
  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 V129
23
+ module V132
24
24
  class Extensions
25
25
 
26
26
  def initialize(devtools)
@@ -65,6 +65,6 @@ module Selenium
65
65
  end
66
66
 
67
67
  end # Extensions
68
- end # V129
68
+ end # V132
69
69
  end # DevTools
70
70
  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 V129
23
+ module V132
24
24
  class FedCm
25
25
  EVENTS = {
26
26
  dialog_shown: 'dialogShown',
@@ -75,6 +75,6 @@ module Selenium
75
75
  end
76
76
 
77
77
  end # FedCm
78
- end # V129
78
+ end # V132
79
79
  end # DevTools
80
80
  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 V129
23
+ module V132
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 # V129
101
+ end # V132
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 V129
23
+ module V132
24
24
  class FileSystem
25
25
 
26
26
  def initialize(devtools)
@@ -38,6 +38,6 @@ module Selenium
38
38
  end
39
39
 
40
40
  end # FileSystem
41
- end # V129
41
+ end # V132
42
42
  end # DevTools
43
43
  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 V129
23
+ module V132
24
24
  class HeadlessExperimental
25
25
 
26
26
  def initialize(devtools)
@@ -49,6 +49,6 @@ module Selenium
49
49
  end
50
50
 
51
51
  end # HeadlessExperimental
52
- end # V129
52
+ end # V132
53
53
  end # DevTools
54
54
  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 V129
23
+ module V132
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -104,6 +104,6 @@ module Selenium
104
104
  end
105
105
 
106
106
  end # HeapProfiler
107
- end # V129
107
+ end # V132
108
108
  end # DevTools
109
109
  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 V129
23
+ module V132
24
24
  class IndexedDB
25
25
 
26
26
  def initialize(devtools)
@@ -105,6 +105,6 @@ module Selenium
105
105
  end
106
106
 
107
107
  end # IndexedDB
108
- end # V129
108
+ end # V132
109
109
  end # DevTools
110
110
  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 V129
23
+ module V132
24
24
  class Input
25
25
  EVENTS = {
26
26
  drag_intercepted: 'dragIntercepted',
@@ -167,6 +167,6 @@ module Selenium
167
167
  end
168
168
 
169
169
  end # Input
170
- end # V129
170
+ end # V132
171
171
  end # DevTools
172
172
  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 V129
23
+ module V132
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 # V129
49
+ end # V132
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 V129
23
+ module V132
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 # V129
53
+ end # V132
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 V129
23
+ module V132
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 # V129
89
+ end # V132
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 V129
23
+ module V132
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 # V129
60
+ end # V132
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 V129
23
+ module V132
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 # V129
51
+ end # V132
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 V129
23
+ module V132
24
24
  class Memory
25
25
 
26
26
  def initialize(devtools)
@@ -36,6 +36,10 @@ module Selenium
36
36
  @devtools.send_cmd('Memory.getDOMCounters')
37
37
  end
38
38
 
39
+ def get_dom_counters_for_leak_detection
40
+ @devtools.send_cmd('Memory.getDOMCountersForLeakDetection')
41
+ end
42
+
39
43
  def prepare_for_leak_detection
40
44
  @devtools.send_cmd('Memory.prepareForLeakDetection')
41
45
  end
@@ -77,6 +81,6 @@ module Selenium
77
81
  end
78
82
 
79
83
  end # Memory
80
- end # V129
84
+ end # V132
81
85
  end # DevTools
82
86
  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 V129
23
+ module V132
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -270,6 +270,6 @@ module Selenium
270
270
  end
271
271
 
272
272
  end # Network
273
- end # V129
273
+ end # V132
274
274
  end # DevTools
275
275
  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 V129
23
+ module V132
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -202,6 +202,6 @@ module Selenium
202
202
  end
203
203
 
204
204
  end # Overlay
205
- end # V129
205
+ end # V132
206
206
  end # DevTools
207
207
  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 V129
23
+ module V132
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -28,6 +28,7 @@ module Selenium
28
28
  frame_attached: 'frameAttached',
29
29
  frame_cleared_scheduled_navigation: 'frameClearedScheduledNavigation',
30
30
  frame_detached: 'frameDetached',
31
+ frame_subtree_will_be_detached: 'frameSubtreeWillBeDetached',
31
32
  frame_navigated: 'frameNavigated',
32
33
  document_opened: 'documentOpened',
33
34
  frame_resized: 'frameResized',
@@ -405,6 +406,6 @@ module Selenium
405
406
  end
406
407
 
407
408
  end # Page
408
- end # V129
409
+ end # V132
409
410
  end # DevTools
410
411
  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 V129
23
+ module V132
24
24
  class Performance
25
25
  EVENTS = {
26
26
  metrics: 'metrics',
@@ -54,6 +54,6 @@ module Selenium
54
54
  end
55
55
 
56
56
  end # Performance
57
- end # V129
57
+ end # V132
58
58
  end # DevTools
59
59
  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 V129
23
+ module V132
24
24
  class PerformanceTimeline
25
25
  EVENTS = {
26
26
  timeline_event_added: 'timelineEventAdded',
@@ -41,6 +41,6 @@ module Selenium
41
41
  end
42
42
 
43
43
  end # PerformanceTimeline
44
- end # V129
44
+ end # V132
45
45
  end # DevTools
46
46
  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 V129
23
+ module V132
24
24
  class Preload
25
25
  EVENTS = {
26
26
  rule_set_updated: 'ruleSetUpdated',
@@ -49,6 +49,6 @@ module Selenium
49
49
  end
50
50
 
51
51
  end # Preload
52
- end # V129
52
+ end # V132
53
53
  end # DevTools
54
54
  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 V129
23
+ module V132
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -78,6 +78,6 @@ module Selenium
78
78
  end
79
79
 
80
80
  end # Profiler
81
- end # V129
81
+ end # V132
82
82
  end # DevTools
83
83
  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 V129
23
+ module V132
24
24
  class PWA
25
25
 
26
26
  def initialize(devtools)
@@ -73,6 +73,6 @@ module Selenium
73
73
  end
74
74
 
75
75
  end # PWA
76
- end # V129
76
+ end # V132
77
77
  end # DevTools
78
78
  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 V129
23
+ module V132
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -197,6 +197,6 @@ module Selenium
197
197
  end
198
198
 
199
199
  end # Runtime
200
- end # V129
200
+ end # V132
201
201
  end # DevTools
202
202
  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 V129
23
+ module V132
24
24
  class Schema
25
25
 
26
26
  def initialize(devtools)
@@ -37,6 +37,6 @@ module Selenium
37
37
  end
38
38
 
39
39
  end # Schema
40
- end # V129
40
+ end # V132
41
41
  end # DevTools
42
42
  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 V129
23
+ module V132
24
24
  class Security
25
25
  EVENTS = {
26
26
  certificate_error: 'certificateError',
@@ -62,6 +62,6 @@ module Selenium
62
62
  end
63
63
 
64
64
  end # Security
65
- end # V129
65
+ end # V132
66
66
  end # DevTools
67
67
  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 V129
23
+ module V132
24
24
  class ServiceWorker
25
25
  EVENTS = {
26
26
  worker_error_reported: 'workerErrorReported',
@@ -107,6 +107,6 @@ module Selenium
107
107
  end
108
108
 
109
109
  end # ServiceWorker
110
- end # V129
110
+ end # V132
111
111
  end # DevTools
112
112
  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 V129
23
+ module V132
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -228,6 +228,6 @@ module Selenium
228
228
  end
229
229
 
230
230
  end # Storage
231
- end # V129
231
+ end # V132
232
232
  end # DevTools
233
233
  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 V129
23
+ module V132
24
24
  class SystemInfo
25
25
 
26
26
  def initialize(devtools)
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # SystemInfo
49
- end # V129
49
+ end # V132
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 V129
23
+ module V132
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -146,6 +146,6 @@ module Selenium
146
146
  end
147
147
 
148
148
  end # Target
149
- end # V129
149
+ end # V132
150
150
  end # DevTools
151
151
  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 V129
23
+ module V132
24
24
  class Tethering
25
25
  EVENTS = {
26
26
  accepted: 'accepted',
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # Tethering
49
- end # V129
49
+ end # V132
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 V129
23
+ module V132
24
24
  class Tracing
25
25
  EVENTS = {
26
26
  buffer_usage: 'bufferUsage',
@@ -70,6 +70,6 @@ module Selenium
70
70
  end
71
71
 
72
72
  end # Tracing
73
- end # V129
73
+ end # V132
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 V129
23
+ module V132
24
24
  class WebAudio
25
25
  EVENTS = {
26
26
  context_created: 'contextCreated',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # WebAudio
64
- end # V129
64
+ end # V132
65
65
  end # DevTools
66
66
  end # Selenium
@@ -20,10 +20,12 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V129
23
+ module V132
24
24
  class WebAuthn
25
25
  EVENTS = {
26
26
  credential_added: 'credentialAdded',
27
+ credential_deleted: 'credentialDeleted',
28
+ credential_updated: 'credentialUpdated',
27
29
  credential_asserted: 'credentialAsserted',
28
30
  }.freeze
29
31
 
@@ -112,6 +114,6 @@ module Selenium
112
114
  end
113
115
 
114
116
  end # WebAuthn
115
- end # V129
117
+ end # V132
116
118
  end # DevTools
117
119
  end # Selenium
@@ -19,11 +19,11 @@
19
19
 
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
 
22
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v129/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v132/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V129
26
+ module V132
27
27
  METHODS_TO_CLASSES = {
28
28
  accessibility: 'Accessibility',
29
29
  animation: 'Animation',
@@ -80,6 +80,6 @@ module Selenium
80
80
  runtime: 'Runtime',
81
81
  schema: 'Schema',
82
82
  }.freeze
83
- end # V129
83
+ end # V132
84
84
  end # DevTools
85
85
  end # Selenium
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module DevTools
22
- VERSION = '0.131.0'
22
+ VERSION = '0.132.0'
23
23
  end # DevTools
24
24
  end # Selenium
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-devtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.131.0
4
+ version: 0.132.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-11-25 00:00:00.000000000 Z
13
+ date: 2025-01-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: selenium-webdriver
@@ -41,61 +41,6 @@ files:
41
41
  - LICENSE
42
42
  - NOTICE
43
43
  - lib/selenium/devtools.rb
44
- - lib/selenium/devtools/v129.rb
45
- - lib/selenium/devtools/v129/accessibility.rb
46
- - lib/selenium/devtools/v129/animation.rb
47
- - lib/selenium/devtools/v129/audits.rb
48
- - lib/selenium/devtools/v129/autofill.rb
49
- - lib/selenium/devtools/v129/background_service.rb
50
- - lib/selenium/devtools/v129/bluetooth_emulation.rb
51
- - lib/selenium/devtools/v129/browser.rb
52
- - lib/selenium/devtools/v129/cache_storage.rb
53
- - lib/selenium/devtools/v129/cast.rb
54
- - lib/selenium/devtools/v129/console.rb
55
- - lib/selenium/devtools/v129/css.rb
56
- - lib/selenium/devtools/v129/database.rb
57
- - lib/selenium/devtools/v129/debugger.rb
58
- - lib/selenium/devtools/v129/device_access.rb
59
- - lib/selenium/devtools/v129/device_orientation.rb
60
- - lib/selenium/devtools/v129/dom.rb
61
- - lib/selenium/devtools/v129/dom_debugger.rb
62
- - lib/selenium/devtools/v129/dom_snapshot.rb
63
- - lib/selenium/devtools/v129/dom_storage.rb
64
- - lib/selenium/devtools/v129/emulation.rb
65
- - lib/selenium/devtools/v129/event_breakpoints.rb
66
- - lib/selenium/devtools/v129/extensions.rb
67
- - lib/selenium/devtools/v129/fed_cm.rb
68
- - lib/selenium/devtools/v129/fetch.rb
69
- - lib/selenium/devtools/v129/file_system.rb
70
- - lib/selenium/devtools/v129/headless_experimental.rb
71
- - lib/selenium/devtools/v129/heap_profiler.rb
72
- - lib/selenium/devtools/v129/indexed_db.rb
73
- - lib/selenium/devtools/v129/input.rb
74
- - lib/selenium/devtools/v129/inspector.rb
75
- - lib/selenium/devtools/v129/io.rb
76
- - lib/selenium/devtools/v129/layer_tree.rb
77
- - lib/selenium/devtools/v129/log.rb
78
- - lib/selenium/devtools/v129/media.rb
79
- - lib/selenium/devtools/v129/memory.rb
80
- - lib/selenium/devtools/v129/network.rb
81
- - lib/selenium/devtools/v129/overlay.rb
82
- - lib/selenium/devtools/v129/page.rb
83
- - lib/selenium/devtools/v129/performance.rb
84
- - lib/selenium/devtools/v129/performance_timeline.rb
85
- - lib/selenium/devtools/v129/preload.rb
86
- - lib/selenium/devtools/v129/profiler.rb
87
- - lib/selenium/devtools/v129/pwa.rb
88
- - lib/selenium/devtools/v129/runtime.rb
89
- - lib/selenium/devtools/v129/schema.rb
90
- - lib/selenium/devtools/v129/security.rb
91
- - lib/selenium/devtools/v129/service_worker.rb
92
- - lib/selenium/devtools/v129/storage.rb
93
- - lib/selenium/devtools/v129/system_info.rb
94
- - lib/selenium/devtools/v129/target.rb
95
- - lib/selenium/devtools/v129/tethering.rb
96
- - lib/selenium/devtools/v129/tracing.rb
97
- - lib/selenium/devtools/v129/web_audio.rb
98
- - lib/selenium/devtools/v129/web_authn.rb
99
44
  - lib/selenium/devtools/v130.rb
100
45
  - lib/selenium/devtools/v130/accessibility.rb
101
46
  - lib/selenium/devtools/v130/animation.rb
@@ -206,6 +151,61 @@ files:
206
151
  - lib/selenium/devtools/v131/tracing.rb
207
152
  - lib/selenium/devtools/v131/web_audio.rb
208
153
  - lib/selenium/devtools/v131/web_authn.rb
154
+ - lib/selenium/devtools/v132.rb
155
+ - lib/selenium/devtools/v132/accessibility.rb
156
+ - lib/selenium/devtools/v132/animation.rb
157
+ - lib/selenium/devtools/v132/audits.rb
158
+ - lib/selenium/devtools/v132/autofill.rb
159
+ - lib/selenium/devtools/v132/background_service.rb
160
+ - lib/selenium/devtools/v132/bluetooth_emulation.rb
161
+ - lib/selenium/devtools/v132/browser.rb
162
+ - lib/selenium/devtools/v132/cache_storage.rb
163
+ - lib/selenium/devtools/v132/cast.rb
164
+ - lib/selenium/devtools/v132/console.rb
165
+ - lib/selenium/devtools/v132/css.rb
166
+ - lib/selenium/devtools/v132/database.rb
167
+ - lib/selenium/devtools/v132/debugger.rb
168
+ - lib/selenium/devtools/v132/device_access.rb
169
+ - lib/selenium/devtools/v132/device_orientation.rb
170
+ - lib/selenium/devtools/v132/dom.rb
171
+ - lib/selenium/devtools/v132/dom_debugger.rb
172
+ - lib/selenium/devtools/v132/dom_snapshot.rb
173
+ - lib/selenium/devtools/v132/dom_storage.rb
174
+ - lib/selenium/devtools/v132/emulation.rb
175
+ - lib/selenium/devtools/v132/event_breakpoints.rb
176
+ - lib/selenium/devtools/v132/extensions.rb
177
+ - lib/selenium/devtools/v132/fed_cm.rb
178
+ - lib/selenium/devtools/v132/fetch.rb
179
+ - lib/selenium/devtools/v132/file_system.rb
180
+ - lib/selenium/devtools/v132/headless_experimental.rb
181
+ - lib/selenium/devtools/v132/heap_profiler.rb
182
+ - lib/selenium/devtools/v132/indexed_db.rb
183
+ - lib/selenium/devtools/v132/input.rb
184
+ - lib/selenium/devtools/v132/inspector.rb
185
+ - lib/selenium/devtools/v132/io.rb
186
+ - lib/selenium/devtools/v132/layer_tree.rb
187
+ - lib/selenium/devtools/v132/log.rb
188
+ - lib/selenium/devtools/v132/media.rb
189
+ - lib/selenium/devtools/v132/memory.rb
190
+ - lib/selenium/devtools/v132/network.rb
191
+ - lib/selenium/devtools/v132/overlay.rb
192
+ - lib/selenium/devtools/v132/page.rb
193
+ - lib/selenium/devtools/v132/performance.rb
194
+ - lib/selenium/devtools/v132/performance_timeline.rb
195
+ - lib/selenium/devtools/v132/preload.rb
196
+ - lib/selenium/devtools/v132/profiler.rb
197
+ - lib/selenium/devtools/v132/pwa.rb
198
+ - lib/selenium/devtools/v132/runtime.rb
199
+ - lib/selenium/devtools/v132/schema.rb
200
+ - lib/selenium/devtools/v132/security.rb
201
+ - lib/selenium/devtools/v132/service_worker.rb
202
+ - lib/selenium/devtools/v132/storage.rb
203
+ - lib/selenium/devtools/v132/system_info.rb
204
+ - lib/selenium/devtools/v132/target.rb
205
+ - lib/selenium/devtools/v132/tethering.rb
206
+ - lib/selenium/devtools/v132/tracing.rb
207
+ - lib/selenium/devtools/v132/web_audio.rb
208
+ - lib/selenium/devtools/v132/web_authn.rb
209
209
  - lib/selenium/devtools/v85.rb
210
210
  - lib/selenium/devtools/v85/accessibility.rb
211
211
  - lib/selenium/devtools/v85/animation.rb