selenium-devtools 0.154.0 → 0.156.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 (123) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +14 -0
  3. data/lib/selenium/devtools/{v152 → v155}/accessibility.rb +2 -2
  4. data/lib/selenium/devtools/{v153 → v155}/ads.rb +6 -2
  5. data/lib/selenium/devtools/{v153 → v155}/animation.rb +2 -2
  6. data/lib/selenium/devtools/{v152 → v155}/audits.rb +2 -2
  7. data/lib/selenium/devtools/{v152 → v155}/autofill.rb +2 -2
  8. data/lib/selenium/devtools/{v153 → v155}/background_service.rb +2 -2
  9. data/lib/selenium/devtools/{v152 → v155}/bluetooth_emulation.rb +2 -2
  10. data/lib/selenium/devtools/{v152 → v155}/browser.rb +16 -2
  11. data/lib/selenium/devtools/{v153 → v155}/cache_storage.rb +2 -2
  12. data/lib/selenium/devtools/{v152 → v155}/cast.rb +2 -2
  13. data/lib/selenium/devtools/{v153 → v155}/console.rb +2 -2
  14. data/lib/selenium/devtools/{v153 → v155}/crash_report_context.rb +2 -2
  15. data/lib/selenium/devtools/{v153 → v155}/css.rb +2 -2
  16. data/lib/selenium/devtools/{v153 → v155}/debugger.rb +2 -2
  17. data/lib/selenium/devtools/{v153 → v155}/device_access.rb +2 -2
  18. data/lib/selenium/devtools/{v152 → v155}/device_orientation.rb +2 -2
  19. data/lib/selenium/devtools/{v152 → v155}/digital_credentials.rb +2 -2
  20. data/lib/selenium/devtools/{v153 → v155}/dom.rb +21 -2
  21. data/lib/selenium/devtools/{v153 → v155}/dom_debugger.rb +2 -2
  22. data/lib/selenium/devtools/{v153 → v155}/dom_snapshot.rb +2 -2
  23. data/lib/selenium/devtools/{v152 → v155}/dom_storage.rb +2 -2
  24. data/lib/selenium/devtools/{v153 → v155}/emulation.rb +5 -4
  25. data/lib/selenium/devtools/{v152 → v155}/event_breakpoints.rb +2 -2
  26. data/lib/selenium/devtools/{v153 → v155}/extensions.rb +2 -2
  27. data/lib/selenium/devtools/{v153 → v155}/fed_cm.rb +2 -2
  28. data/lib/selenium/devtools/{v152 → v155}/fetch.rb +2 -2
  29. data/lib/selenium/devtools/{v153 → v155}/file_system.rb +2 -2
  30. data/lib/selenium/devtools/{v152 → v155}/headless_experimental.rb +2 -2
  31. data/lib/selenium/devtools/{v153 → v155}/heap_profiler.rb +2 -2
  32. data/lib/selenium/devtools/{v152 → v155}/indexed_db.rb +2 -2
  33. data/lib/selenium/devtools/{v152 → v155}/input.rb +2 -2
  34. data/lib/selenium/devtools/{v152 → v155}/inspector.rb +2 -2
  35. data/lib/selenium/devtools/{v153 → v155}/io.rb +2 -2
  36. data/lib/selenium/devtools/{v153 → v155}/layer_tree.rb +2 -2
  37. data/lib/selenium/devtools/{v152 → v155}/log.rb +2 -2
  38. data/lib/selenium/devtools/{v152 → v155}/media.rb +2 -2
  39. data/lib/selenium/devtools/{v153 → v155}/memory.rb +2 -2
  40. data/lib/selenium/devtools/{v153 → v155}/network.rb +2 -2
  41. data/lib/selenium/devtools/{v152 → v155}/overlay.rb +2 -2
  42. data/lib/selenium/devtools/{v153 → v155}/page.rb +6 -4
  43. data/lib/selenium/devtools/{v152 → v155}/performance.rb +2 -2
  44. data/lib/selenium/devtools/{v152 → v155}/performance_timeline.rb +2 -2
  45. data/lib/selenium/devtools/{v152 → v155}/preload.rb +2 -2
  46. data/lib/selenium/devtools/{v152 → v155}/profiler.rb +2 -2
  47. data/lib/selenium/devtools/{v152 → v155}/pwa.rb +2 -2
  48. data/lib/selenium/devtools/{v152 → v155}/runtime.rb +2 -2
  49. data/lib/selenium/devtools/{v153 → v155}/schema.rb +2 -2
  50. data/lib/selenium/devtools/{v152 → v155}/security.rb +2 -2
  51. data/lib/selenium/devtools/{v152 → v155}/service_worker.rb +2 -2
  52. data/lib/selenium/devtools/{v152 → v155}/smart_card_emulation.rb +2 -2
  53. data/lib/selenium/devtools/{v152 → v155}/storage.rb +2 -43
  54. data/lib/selenium/devtools/{v152 → v155}/system_info.rb +2 -2
  55. data/lib/selenium/devtools/{v152 → v155}/target.rb +2 -2
  56. data/lib/selenium/devtools/{v153 → v155}/tethering.rb +2 -2
  57. data/lib/selenium/devtools/{v152 → v155}/tracing.rb +2 -2
  58. data/lib/selenium/devtools/{v152 → v155}/web_audio.rb +2 -2
  59. data/lib/selenium/devtools/{v153 → v155}/web_authn.rb +2 -2
  60. data/lib/selenium/devtools/{v152 → v155}/web_mcp.rb +2 -2
  61. data/lib/selenium/devtools/{v152.rb → v155.rb} +3 -3
  62. data/lib/selenium/devtools/{v153 → v156}/accessibility.rb +2 -2
  63. data/lib/selenium/devtools/{v152 → v156}/ads.rb +6 -2
  64. data/lib/selenium/devtools/{v152 → v156}/animation.rb +5 -4
  65. data/lib/selenium/devtools/{v153 → v156}/audits.rb +2 -2
  66. data/lib/selenium/devtools/{v153 → v156}/autofill.rb +2 -2
  67. data/lib/selenium/devtools/{v152 → v156}/background_service.rb +2 -2
  68. data/lib/selenium/devtools/{v153 → v156}/bluetooth_emulation.rb +2 -2
  69. data/lib/selenium/devtools/{v153 → v156}/browser.rb +16 -2
  70. data/lib/selenium/devtools/{v152 → v156}/cache_storage.rb +2 -2
  71. data/lib/selenium/devtools/{v153 → v156}/cast.rb +2 -2
  72. data/lib/selenium/devtools/{v152 → v156}/console.rb +2 -2
  73. data/lib/selenium/devtools/{v152 → v156}/crash_report_context.rb +2 -2
  74. data/lib/selenium/devtools/{v152 → v156}/css.rb +2 -2
  75. data/lib/selenium/devtools/{v152 → v156}/debugger.rb +5 -4
  76. data/lib/selenium/devtools/{v152 → v156}/device_access.rb +2 -2
  77. data/lib/selenium/devtools/{v153 → v156}/device_orientation.rb +2 -2
  78. data/lib/selenium/devtools/{v153 → v156}/digital_credentials.rb +2 -2
  79. data/lib/selenium/devtools/{v152 → v156}/dom.rb +27 -2
  80. data/lib/selenium/devtools/{v152 → v156}/dom_debugger.rb +2 -2
  81. data/lib/selenium/devtools/{v152 → v156}/dom_snapshot.rb +2 -2
  82. data/lib/selenium/devtools/{v153 → v156}/dom_storage.rb +2 -2
  83. data/lib/selenium/devtools/{v152 → v156}/emulation.rb +16 -4
  84. data/lib/selenium/devtools/{v153 → v156}/event_breakpoints.rb +2 -2
  85. data/lib/selenium/devtools/{v152 → v156}/extensions.rb +2 -2
  86. data/lib/selenium/devtools/{v152 → v156}/fed_cm.rb +2 -2
  87. data/lib/selenium/devtools/{v153 → v156}/fetch.rb +2 -2
  88. data/lib/selenium/devtools/{v152 → v156}/file_system.rb +2 -2
  89. data/lib/selenium/devtools/v156/find_in_page.rb +56 -0
  90. data/lib/selenium/devtools/{v153 → v156}/headless_experimental.rb +2 -2
  91. data/lib/selenium/devtools/{v152 → v156}/heap_profiler.rb +2 -2
  92. data/lib/selenium/devtools/{v153 → v156}/indexed_db.rb +2 -2
  93. data/lib/selenium/devtools/{v153 → v156}/input.rb +2 -2
  94. data/lib/selenium/devtools/{v153 → v156}/inspector.rb +2 -2
  95. data/lib/selenium/devtools/{v152 → v156}/io.rb +2 -2
  96. data/lib/selenium/devtools/{v152 → v156}/layer_tree.rb +2 -2
  97. data/lib/selenium/devtools/{v153 → v156}/log.rb +2 -2
  98. data/lib/selenium/devtools/{v153 → v156}/media.rb +2 -2
  99. data/lib/selenium/devtools/{v152 → v156}/memory.rb +2 -2
  100. data/lib/selenium/devtools/{v152 → v156}/network.rb +2 -39
  101. data/lib/selenium/devtools/{v153 → v156}/overlay.rb +2 -2
  102. data/lib/selenium/devtools/{v152 → v156}/page.rb +26 -4
  103. data/lib/selenium/devtools/{v153 → v156}/performance.rb +2 -2
  104. data/lib/selenium/devtools/{v153 → v156}/performance_timeline.rb +2 -2
  105. data/lib/selenium/devtools/{v153 → v156}/preload.rb +2 -2
  106. data/lib/selenium/devtools/{v153 → v156}/profiler.rb +2 -2
  107. data/lib/selenium/devtools/{v153 → v156}/pwa.rb +2 -2
  108. data/lib/selenium/devtools/{v153 → v156}/runtime.rb +2 -2
  109. data/lib/selenium/devtools/{v152 → v156}/schema.rb +2 -2
  110. data/lib/selenium/devtools/{v153 → v156}/security.rb +2 -2
  111. data/lib/selenium/devtools/{v153 → v156}/service_worker.rb +2 -2
  112. data/lib/selenium/devtools/{v153 → v156}/smart_card_emulation.rb +2 -2
  113. data/lib/selenium/devtools/{v153 → v156}/storage.rb +15 -36
  114. data/lib/selenium/devtools/{v153 → v156}/system_info.rb +2 -2
  115. data/lib/selenium/devtools/{v153 → v156}/target.rb +2 -2
  116. data/lib/selenium/devtools/{v152 → v156}/tethering.rb +2 -2
  117. data/lib/selenium/devtools/{v153 → v156}/tracing.rb +2 -2
  118. data/lib/selenium/devtools/{v153 → v156}/web_audio.rb +2 -2
  119. data/lib/selenium/devtools/{v152 → v156}/web_authn.rb +2 -2
  120. data/lib/selenium/devtools/{v153 → v156}/web_mcp.rb +2 -2
  121. data/lib/selenium/devtools/{v153.rb → v156.rb} +4 -3
  122. data/lib/selenium/devtools/version.rb +1 -1
  123. metadata +125 -121
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V155
25
25
  class IO
26
26
 
27
27
  def initialize(devtools)
@@ -51,6 +51,6 @@ module Selenium
51
51
  end
52
52
 
53
53
  end # IO
54
- end # V153
54
+ end # V155
55
55
  end # DevTools
56
56
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V155
25
25
  class LayerTree
26
26
  EVENTS = {
27
27
  layer_painted: 'layerPainted',
@@ -87,6 +87,6 @@ module Selenium
87
87
  end
88
88
 
89
89
  end # LayerTree
90
- end # V153
90
+ end # V155
91
91
  end # DevTools
92
92
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Log
26
26
  EVENTS = {
27
27
  entry_added: 'entryAdded',
@@ -58,6 +58,6 @@ module Selenium
58
58
  end
59
59
 
60
60
  end # Log
61
- end # V152
61
+ end # V155
62
62
  end # DevTools
63
63
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Media
26
26
  EVENTS = {
27
27
  player_properties_changed: 'playerPropertiesChanged',
@@ -49,6 +49,6 @@ module Selenium
49
49
  end
50
50
 
51
51
  end # Media
52
- end # V152
52
+ end # V155
53
53
  end # DevTools
54
54
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V155
25
25
  class Memory
26
26
 
27
27
  def initialize(devtools)
@@ -82,6 +82,6 @@ module Selenium
82
82
  end
83
83
 
84
84
  end # Memory
85
- end # V153
85
+ end # V155
86
86
  end # DevTools
87
87
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V155
25
25
  class Network
26
26
  EVENTS = {
27
27
  data_received: 'dataReceived',
@@ -290,6 +290,6 @@ module Selenium
290
290
  end
291
291
 
292
292
  end # Network
293
- end # V153
293
+ end # V155
294
294
  end # DevTools
295
295
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Overlay
26
26
  EVENTS = {
27
27
  inspect_node_requested: 'inspectNodeRequested',
@@ -215,6 +215,6 @@ module Selenium
215
215
  end
216
216
 
217
217
  end # Overlay
218
- end # V152
218
+ end # V155
219
219
  end # DevTools
220
220
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V155
25
25
  class Page
26
26
  EVENTS = {
27
27
  dom_content_event_fired: 'domContentEventFired',
@@ -334,13 +334,15 @@ module Selenium
334
334
  configuration: configuration)
335
335
  end
336
336
 
337
- def start_screencast(format: nil, quality: nil, max_width: nil, max_height: nil, every_nth_frame: nil)
337
+ def start_screencast(format: nil, quality: nil, max_width: nil, max_height: nil, every_nth_frame: nil, max_frames_in_flight: nil, send_last_frame: nil)
338
338
  @devtools.send_cmd('Page.startScreencast',
339
339
  format: format,
340
340
  quality: quality,
341
341
  maxWidth: max_width,
342
342
  maxHeight: max_height,
343
- everyNthFrame: every_nth_frame)
343
+ everyNthFrame: every_nth_frame,
344
+ maxFramesInFlight: max_frames_in_flight,
345
+ sendLastFrame: send_last_frame)
344
346
  end
345
347
 
346
348
  def start_screen_recording(audio: nil, max_width: nil, max_height: nil, frame_rate: nil)
@@ -428,6 +430,6 @@ module Selenium
428
430
  end
429
431
 
430
432
  end # Page
431
- end # V153
433
+ end # V155
432
434
  end # DevTools
433
435
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Performance
26
26
  EVENTS = {
27
27
  metrics: 'metrics',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # Performance
58
- end # V152
58
+ end # V155
59
59
  end # DevTools
60
60
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class PerformanceTimeline
26
26
  EVENTS = {
27
27
  timeline_event_added: 'timelineEventAdded',
@@ -42,6 +42,6 @@ module Selenium
42
42
  end
43
43
 
44
44
  end # PerformanceTimeline
45
- end # V152
45
+ end # V155
46
46
  end # DevTools
47
47
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Preload
26
26
  EVENTS = {
27
27
  rule_set_updated: 'ruleSetUpdated',
@@ -50,6 +50,6 @@ module Selenium
50
50
  end
51
51
 
52
52
  end # Preload
53
- end # V152
53
+ end # V155
54
54
  end # DevTools
55
55
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Profiler
26
26
  EVENTS = {
27
27
  console_profile_finished: 'consoleProfileFinished',
@@ -79,6 +79,6 @@ module Selenium
79
79
  end
80
80
 
81
81
  end # Profiler
82
- end # V152
82
+ end # V155
83
83
  end # DevTools
84
84
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class PWA
26
26
 
27
27
  def initialize(devtools)
@@ -74,6 +74,6 @@ module Selenium
74
74
  end
75
75
 
76
76
  end # PWA
77
- end # V152
77
+ end # V155
78
78
  end # DevTools
79
79
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Runtime
26
26
  EVENTS = {
27
27
  binding_called: 'bindingCalled',
@@ -198,6 +198,6 @@ module Selenium
198
198
  end
199
199
 
200
200
  end # Runtime
201
- end # V152
201
+ end # V155
202
202
  end # DevTools
203
203
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V155
25
25
  class Schema
26
26
 
27
27
  def initialize(devtools)
@@ -38,6 +38,6 @@ module Selenium
38
38
  end
39
39
 
40
40
  end # Schema
41
- end # V153
41
+ end # V155
42
42
  end # DevTools
43
43
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Security
26
26
  EVENTS = {
27
27
  certificate_error: 'certificateError',
@@ -63,6 +63,6 @@ module Selenium
63
63
  end
64
64
 
65
65
  end # Security
66
- end # V152
66
+ end # V155
67
67
  end # DevTools
68
68
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class ServiceWorker
26
26
  EVENTS = {
27
27
  worker_error_reported: 'workerErrorReported',
@@ -103,6 +103,6 @@ module Selenium
103
103
  end
104
104
 
105
105
  end # ServiceWorker
106
- end # V152
106
+ end # V155
107
107
  end # DevTools
108
108
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class SmartCardEmulation
26
26
  EVENTS = {
27
27
  establish_context_requested: 'establishContextRequested',
@@ -120,6 +120,6 @@ module Selenium
120
120
  end
121
121
 
122
122
  end # SmartCardEmulation
123
- end # V152
123
+ end # V155
124
124
  end # DevTools
125
125
  end # Selenium
@@ -21,15 +21,13 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Storage
26
26
  EVENTS = {
27
27
  cache_storage_content_updated: 'cacheStorageContentUpdated',
28
28
  cache_storage_list_updated: 'cacheStorageListUpdated',
29
29
  indexed_db_content_updated: 'indexedDBContentUpdated',
30
30
  indexed_db_list_updated: 'indexedDBListUpdated',
31
- shared_storage_accessed: 'sharedStorageAccessed',
32
- shared_storage_worklet_operation_execution_finished: 'sharedStorageWorkletOperationExecutionFinished',
33
31
  storage_bucket_created_or_updated: 'storageBucketCreatedOrUpdated',
34
32
  storage_bucket_deleted: 'storageBucketDeleted',
35
33
  }.freeze
@@ -141,45 +139,6 @@ module Selenium
141
139
  issuerOrigin: issuer_origin)
142
140
  end
143
141
 
144
- def get_shared_storage_metadata(owner_origin:)
145
- @devtools.send_cmd('Storage.getSharedStorageMetadata',
146
- ownerOrigin: owner_origin)
147
- end
148
-
149
- def get_shared_storage_entries(owner_origin:)
150
- @devtools.send_cmd('Storage.getSharedStorageEntries',
151
- ownerOrigin: owner_origin)
152
- end
153
-
154
- def set_shared_storage_entry(owner_origin:, key:, value:, ignore_if_present: nil)
155
- @devtools.send_cmd('Storage.setSharedStorageEntry',
156
- ownerOrigin: owner_origin,
157
- key: key,
158
- value: value,
159
- ignoreIfPresent: ignore_if_present)
160
- end
161
-
162
- def delete_shared_storage_entry(owner_origin:, key:)
163
- @devtools.send_cmd('Storage.deleteSharedStorageEntry',
164
- ownerOrigin: owner_origin,
165
- key: key)
166
- end
167
-
168
- def clear_shared_storage_entries(owner_origin:)
169
- @devtools.send_cmd('Storage.clearSharedStorageEntries',
170
- ownerOrigin: owner_origin)
171
- end
172
-
173
- def reset_shared_storage_budget(owner_origin:)
174
- @devtools.send_cmd('Storage.resetSharedStorageBudget',
175
- ownerOrigin: owner_origin)
176
- end
177
-
178
- def set_shared_storage_tracking(enable:)
179
- @devtools.send_cmd('Storage.setSharedStorageTracking',
180
- enable: enable)
181
- end
182
-
183
142
  def set_storage_bucket_tracking(storage_key:, enable:)
184
143
  @devtools.send_cmd('Storage.setStorageBucketTracking',
185
144
  storageKey: storage_key,
@@ -200,6 +159,6 @@ module Selenium
200
159
  end
201
160
 
202
161
  end # Storage
203
- end # V152
162
+ end # V155
204
163
  end # DevTools
205
164
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class SystemInfo
26
26
 
27
27
  def initialize(devtools)
@@ -47,6 +47,6 @@ module Selenium
47
47
  end
48
48
 
49
49
  end # SystemInfo
50
- end # V152
50
+ end # V155
51
51
  end # DevTools
52
52
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Target
26
26
  EVENTS = {
27
27
  attached_to_target: 'attachedToTarget',
@@ -164,6 +164,6 @@ module Selenium
164
164
  end
165
165
 
166
166
  end # Target
167
- end # V152
167
+ end # V155
168
168
  end # DevTools
169
169
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V155
25
25
  class Tethering
26
26
  EVENTS = {
27
27
  accepted: 'accepted',
@@ -47,6 +47,6 @@ module Selenium
47
47
  end
48
48
 
49
49
  end # Tethering
50
- end # V153
50
+ end # V155
51
51
  end # DevTools
52
52
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class Tracing
26
26
  EVENTS = {
27
27
  buffer_usage: 'bufferUsage',
@@ -77,6 +77,6 @@ module Selenium
77
77
  end
78
78
 
79
79
  end # Tracing
80
- end # V152
80
+ end # V155
81
81
  end # DevTools
82
82
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class WebAudio
26
26
  EVENTS = {
27
27
  context_created: 'contextCreated',
@@ -62,6 +62,6 @@ module Selenium
62
62
  end
63
63
 
64
64
  end # WebAudio
65
- end # V152
65
+ end # V155
66
66
  end # DevTools
67
67
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V155
25
25
  class WebAuthn
26
26
  EVENTS = {
27
27
  credential_added: 'credentialAdded',
@@ -118,6 +118,6 @@ module Selenium
118
118
  end
119
119
 
120
120
  end # WebAuthn
121
- end # V153
121
+ end # V155
122
122
  end # DevTools
123
123
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V155
25
25
  class WebMCP
26
26
  EVENTS = {
27
27
  tools_added: 'toolsAdded',
@@ -60,6 +60,6 @@ module Selenium
60
60
  end
61
61
 
62
62
  end # WebMCP
63
- end # V152
63
+ end # V155
64
64
  end # DevTools
65
65
  end # Selenium
@@ -20,11 +20,11 @@
20
20
  # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
 
23
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v152/*", &method(:require))
23
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v155/*", &method(:require))
24
24
 
25
25
  module Selenium
26
26
  module DevTools
27
- module V152
27
+ module V155
28
28
  METHODS_TO_CLASSES = {
29
29
  accessibility: 'Accessibility',
30
30
  ads: 'Ads',
@@ -85,6 +85,6 @@ module Selenium
85
85
  runtime: 'Runtime',
86
86
  schema: 'Schema',
87
87
  }.freeze
88
- end # V152
88
+ end # V155
89
89
  end # DevTools
90
90
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V156
25
25
  class Accessibility
26
26
  EVENTS = {
27
27
  load_complete: 'loadComplete',
@@ -87,6 +87,6 @@ module Selenium
87
87
  end
88
88
 
89
89
  end # Accessibility
90
- end # V153
90
+ end # V156
91
91
  end # DevTools
92
92
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V156
25
25
  class Ads
26
26
 
27
27
  def initialize(devtools)
@@ -37,7 +37,11 @@ module Selenium
37
37
  @devtools.send_cmd('Ads.getAdMetrics')
38
38
  end
39
39
 
40
+ def get_ad_scripts
41
+ @devtools.send_cmd('Ads.getAdScripts')
42
+ end
43
+
40
44
  end # Ads
41
- end # V152
45
+ end # V156
42
46
  end # DevTools
43
47
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V156
25
25
  class Animation
26
26
  EVENTS = {
27
27
  animation_canceled: 'animationCanceled',
@@ -66,10 +66,11 @@ module Selenium
66
66
  animationId: animation_id)
67
67
  end
68
68
 
69
- def seek_animations(animations:, current_time:)
69
+ def seek_animations(animations:, current_time: nil, current_times: nil)
70
70
  @devtools.send_cmd('Animation.seekAnimations',
71
71
  animations: animations,
72
- currentTime: current_time)
72
+ currentTime: current_time,
73
+ currentTimes: current_times)
73
74
  end
74
75
 
75
76
  def set_paused(animations:, paused:)
@@ -91,6 +92,6 @@ module Selenium
91
92
  end
92
93
 
93
94
  end # Animation
94
- end # V152
95
+ end # V156
95
96
  end # DevTools
96
97
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V156
25
25
  class Audits
26
26
  EVENTS = {
27
27
  issue_added: 'issueAdded',
@@ -57,6 +57,6 @@ module Selenium
57
57
  end
58
58
 
59
59
  end # Audits
60
- end # V153
60
+ end # V156
61
61
  end # DevTools
62
62
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V153
24
+ module V156
25
25
  class Autofill
26
26
  EVENTS = {
27
27
  address_form_filled: 'addressFormFilled',
@@ -58,6 +58,6 @@ module Selenium
58
58
  end
59
59
 
60
60
  end # Autofill
61
- end # V153
61
+ end # V156
62
62
  end # DevTools
63
63
  end # Selenium
@@ -21,7 +21,7 @@
21
21
  # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
22
  module Selenium
23
23
  module DevTools
24
- module V152
24
+ module V156
25
25
  class BackgroundService
26
26
  EVENTS = {
27
27
  recording_state_changed: 'recordingStateChanged',
@@ -59,6 +59,6 @@ module Selenium
59
59
  end
60
60
 
61
61
  end # BackgroundService
62
- end # V152
62
+ end # V156
63
63
  end # DevTools
64
64
  end # Selenium