selenium-devtools 0.153.0 → 0.155.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 (126) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -0
  3. data/LICENSE +0 -0
  4. data/NOTICE +0 -0
  5. data/lib/selenium/devtools/{v151 → v154}/accessibility.rb +2 -2
  6. data/lib/selenium/devtools/{v152 → v154}/ads.rb +6 -2
  7. data/lib/selenium/devtools/{v152 → v154}/animation.rb +2 -2
  8. data/lib/selenium/devtools/{v151 → v154}/audits.rb +2 -2
  9. data/lib/selenium/devtools/{v151 → v154}/autofill.rb +2 -2
  10. data/lib/selenium/devtools/{v152 → v154}/background_service.rb +2 -2
  11. data/lib/selenium/devtools/{v152 → v154}/bluetooth_emulation.rb +2 -2
  12. data/lib/selenium/devtools/{v151 → v154}/browser.rb +14 -8
  13. data/lib/selenium/devtools/{v152 → v154}/cache_storage.rb +2 -2
  14. data/lib/selenium/devtools/{v151 → v154}/cast.rb +2 -2
  15. data/lib/selenium/devtools/{v152 → v154}/console.rb +2 -2
  16. data/lib/selenium/devtools/{v152 → v154}/crash_report_context.rb +2 -2
  17. data/lib/selenium/devtools/{v152 → v154}/css.rb +2 -2
  18. data/lib/selenium/devtools/{v152 → v154}/debugger.rb +5 -4
  19. data/lib/selenium/devtools/{v152 → v154}/device_access.rb +2 -2
  20. data/lib/selenium/devtools/{v151 → v154}/device_orientation.rb +2 -2
  21. data/lib/selenium/devtools/{v152 → v154}/digital_credentials.rb +2 -2
  22. data/lib/selenium/devtools/{v151 → v154}/dom.rb +8 -2
  23. data/lib/selenium/devtools/{v152 → v154}/dom_debugger.rb +2 -2
  24. data/lib/selenium/devtools/{v152 → v154}/dom_snapshot.rb +2 -2
  25. data/lib/selenium/devtools/{v151 → v154}/dom_storage.rb +2 -2
  26. data/lib/selenium/devtools/{v152 → v154}/emulation.rb +12 -2
  27. data/lib/selenium/devtools/{v151 → v154}/event_breakpoints.rb +2 -2
  28. data/lib/selenium/devtools/{v152 → v154}/extensions.rb +2 -2
  29. data/lib/selenium/devtools/{v152 → v154}/fed_cm.rb +2 -2
  30. data/lib/selenium/devtools/{v151 → v154}/fetch.rb +2 -2
  31. data/lib/selenium/devtools/{v152 → v154}/file_system.rb +2 -2
  32. data/lib/selenium/devtools/{v151 → v154}/headless_experimental.rb +2 -2
  33. data/lib/selenium/devtools/{v152 → v154}/heap_profiler.rb +2 -2
  34. data/lib/selenium/devtools/{v151 → v154}/indexed_db.rb +2 -2
  35. data/lib/selenium/devtools/{v152 → v154}/input.rb +2 -2
  36. data/lib/selenium/devtools/{v151 → v154}/inspector.rb +2 -2
  37. data/lib/selenium/devtools/{v152 → v154}/io.rb +2 -2
  38. data/lib/selenium/devtools/{v152 → v154}/layer_tree.rb +2 -2
  39. data/lib/selenium/devtools/{v151 → v154}/log.rb +2 -2
  40. data/lib/selenium/devtools/{v151 → v154}/media.rb +2 -2
  41. data/lib/selenium/devtools/{v152 → v154}/memory.rb +2 -2
  42. data/lib/selenium/devtools/{v152 → v154}/network.rb +2 -39
  43. data/lib/selenium/devtools/{v151 → v154}/overlay.rb +2 -2
  44. data/lib/selenium/devtools/{v152 → v154}/page.rb +18 -4
  45. data/lib/selenium/devtools/{v151 → v154}/performance.rb +2 -2
  46. data/lib/selenium/devtools/{v151 → v154}/performance_timeline.rb +2 -2
  47. data/lib/selenium/devtools/{v151 → v154}/preload.rb +2 -2
  48. data/lib/selenium/devtools/{v151 → v154}/profiler.rb +2 -2
  49. data/lib/selenium/devtools/{v151 → v154}/pwa.rb +2 -2
  50. data/lib/selenium/devtools/{v151 → v154}/runtime.rb +2 -2
  51. data/lib/selenium/devtools/{v152 → v154}/schema.rb +2 -2
  52. data/lib/selenium/devtools/{v151 → v154}/security.rb +2 -2
  53. data/lib/selenium/devtools/{v151 → v154}/service_worker.rb +2 -2
  54. data/lib/selenium/devtools/{v151 → v154}/smart_card_emulation.rb +2 -2
  55. data/lib/selenium/devtools/{v152 → v154}/storage.rb +2 -43
  56. data/lib/selenium/devtools/{v151 → v154}/system_info.rb +2 -2
  57. data/lib/selenium/devtools/{v152 → v154}/target.rb +2 -2
  58. data/lib/selenium/devtools/{v152 → v154}/tethering.rb +2 -2
  59. data/lib/selenium/devtools/{v151 → v154}/tracing.rb +2 -2
  60. data/lib/selenium/devtools/{v151 → v154}/web_audio.rb +2 -2
  61. data/lib/selenium/devtools/{v152 → v154}/web_authn.rb +2 -2
  62. data/lib/selenium/devtools/{v151 → v154}/web_mcp.rb +2 -2
  63. data/lib/selenium/devtools/{v152.rb → v154.rb} +3 -3
  64. data/lib/selenium/devtools/{v152 → v155}/accessibility.rb +2 -2
  65. data/lib/selenium/devtools/{v151 → v155}/ads.rb +6 -2
  66. data/lib/selenium/devtools/{v151 → v155}/animation.rb +2 -2
  67. data/lib/selenium/devtools/{v152 → v155}/audits.rb +2 -2
  68. data/lib/selenium/devtools/{v152 → v155}/autofill.rb +2 -2
  69. data/lib/selenium/devtools/{v151 → v155}/background_service.rb +2 -2
  70. data/lib/selenium/devtools/{v151 → v155}/bluetooth_emulation.rb +2 -2
  71. data/lib/selenium/devtools/{v152 → v155}/browser.rb +16 -2
  72. data/lib/selenium/devtools/{v151 → v155}/cache_storage.rb +2 -2
  73. data/lib/selenium/devtools/{v152 → v155}/cast.rb +2 -2
  74. data/lib/selenium/devtools/{v151 → v155}/console.rb +2 -2
  75. data/lib/selenium/devtools/{v151 → v155}/crash_report_context.rb +2 -2
  76. data/lib/selenium/devtools/{v151 → v155}/css.rb +2 -2
  77. data/lib/selenium/devtools/{v151 → v155}/debugger.rb +5 -4
  78. data/lib/selenium/devtools/{v151 → v155}/device_access.rb +2 -2
  79. data/lib/selenium/devtools/{v152 → v155}/device_orientation.rb +2 -2
  80. data/lib/selenium/devtools/v155/digital_credentials.rb +47 -0
  81. data/lib/selenium/devtools/{v152 → v155}/dom.rb +27 -2
  82. data/lib/selenium/devtools/{v151 → v155}/dom_debugger.rb +2 -2
  83. data/lib/selenium/devtools/{v151 → v155}/dom_snapshot.rb +2 -2
  84. data/lib/selenium/devtools/{v152 → v155}/dom_storage.rb +2 -2
  85. data/lib/selenium/devtools/{v151 → v155}/emulation.rb +15 -4
  86. data/lib/selenium/devtools/{v152 → v155}/event_breakpoints.rb +2 -2
  87. data/lib/selenium/devtools/{v151 → v155}/extensions.rb +2 -2
  88. data/lib/selenium/devtools/{v151 → v155}/fed_cm.rb +2 -2
  89. data/lib/selenium/devtools/{v152 → v155}/fetch.rb +2 -2
  90. data/lib/selenium/devtools/{v151 → v155}/file_system.rb +2 -2
  91. data/lib/selenium/devtools/{v152 → v155}/headless_experimental.rb +2 -2
  92. data/lib/selenium/devtools/{v151 → v155}/heap_profiler.rb +2 -2
  93. data/lib/selenium/devtools/{v152 → v155}/indexed_db.rb +2 -2
  94. data/lib/selenium/devtools/{v151 → v155}/input.rb +2 -2
  95. data/lib/selenium/devtools/{v152 → v155}/inspector.rb +2 -2
  96. data/lib/selenium/devtools/{v151 → v155}/io.rb +2 -2
  97. data/lib/selenium/devtools/{v151 → v155}/layer_tree.rb +2 -2
  98. data/lib/selenium/devtools/{v152 → v155}/log.rb +2 -2
  99. data/lib/selenium/devtools/{v152 → v155}/media.rb +2 -2
  100. data/lib/selenium/devtools/{v151 → v155}/memory.rb +2 -2
  101. data/lib/selenium/devtools/{v151 → v155}/network.rb +2 -39
  102. data/lib/selenium/devtools/{v152 → v155}/overlay.rb +2 -2
  103. data/lib/selenium/devtools/{v151 → v155}/page.rb +18 -4
  104. data/lib/selenium/devtools/{v152 → v155}/performance.rb +2 -2
  105. data/lib/selenium/devtools/{v152 → v155}/performance_timeline.rb +2 -2
  106. data/lib/selenium/devtools/{v152 → v155}/preload.rb +2 -2
  107. data/lib/selenium/devtools/{v152 → v155}/profiler.rb +2 -2
  108. data/lib/selenium/devtools/{v152 → v155}/pwa.rb +2 -2
  109. data/lib/selenium/devtools/{v152 → v155}/runtime.rb +2 -2
  110. data/lib/selenium/devtools/{v151 → v155}/schema.rb +2 -2
  111. data/lib/selenium/devtools/{v152 → v155}/security.rb +2 -2
  112. data/lib/selenium/devtools/{v152 → v155}/service_worker.rb +2 -2
  113. data/lib/selenium/devtools/{v152 → v155}/smart_card_emulation.rb +2 -2
  114. data/lib/selenium/devtools/{v151 → v155}/storage.rb +2 -69
  115. data/lib/selenium/devtools/{v152 → v155}/system_info.rb +2 -2
  116. data/lib/selenium/devtools/{v151 → v155}/target.rb +2 -2
  117. data/lib/selenium/devtools/{v151 → v155}/tethering.rb +2 -2
  118. data/lib/selenium/devtools/{v152 → v155}/tracing.rb +2 -2
  119. data/lib/selenium/devtools/{v152 → v155}/web_audio.rb +2 -2
  120. data/lib/selenium/devtools/{v151 → v155}/web_authn.rb +7 -4
  121. data/lib/selenium/devtools/{v152 → v155}/web_mcp.rb +2 -2
  122. data/lib/selenium/devtools/{v151.rb → v155.rb} +4 -3
  123. data/lib/selenium/devtools/version.rb +1 -1
  124. data/lib/selenium/devtools.rb +0 -0
  125. data/selenium-devtools.gemspec +0 -0
  126. metadata +121 -123
@@ -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 V154
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 # V152
54
+ end # V154
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 V152
24
+ module V154
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 # V152
90
+ end # V154
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 V151
24
+ module V154
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 # V151
61
+ end # V154
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 V151
24
+ module V154
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 # V151
52
+ end # V154
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 V152
24
+ module V154
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 # V152
85
+ end # V154
86
86
  end # DevTools
87
87
  end # Selenium
@@ -21,14 +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 V154
25
25
  class Network
26
26
  EVENTS = {
27
27
  data_received: 'dataReceived',
28
28
  event_source_message_received: 'eventSourceMessageReceived',
29
29
  loading_failed: 'loadingFailed',
30
30
  loading_finished: 'loadingFinished',
31
- request_intercepted: 'requestIntercepted',
32
31
  request_served_from_cache: 'requestServedFromCache',
33
32
  request_will_be_sent: 'requestWillBeSent',
34
33
  resource_changed_priority: 'resourceChangedPriority',
@@ -79,15 +78,6 @@ module Selenium
79
78
  @devtools.callbacks["Network.#{event}"] << block
80
79
  end
81
80
 
82
- def set_accepted_encodings(encodings:)
83
- @devtools.send_cmd('Network.setAcceptedEncodings',
84
- encodings: encodings)
85
- end
86
-
87
- def clear_accepted_encodings_override
88
- @devtools.send_cmd('Network.clearAcceptedEncodingsOverride')
89
- end
90
-
91
81
  def can_clear_browser_cache
92
82
  @devtools.send_cmd('Network.canClearBrowserCache')
93
83
  end
@@ -108,18 +98,6 @@ module Selenium
108
98
  @devtools.send_cmd('Network.clearBrowserCookies')
109
99
  end
110
100
 
111
- def continue_intercepted_request(interception_id:, error_reason: nil, raw_response: nil, url: nil, method: nil, post_data: nil, headers: nil, auth_challenge_response: nil)
112
- @devtools.send_cmd('Network.continueInterceptedRequest',
113
- interceptionId: interception_id,
114
- errorReason: error_reason,
115
- rawResponse: raw_response,
116
- url: url,
117
- method: method,
118
- postData: post_data,
119
- headers: headers,
120
- authChallengeResponse: auth_challenge_response)
121
- end
122
-
123
101
  def delete_cookies(name:, url: nil, domain: nil, path: nil, partition_key: nil)
124
102
  @devtools.send_cmd('Network.deleteCookies',
125
103
  name: name,
@@ -200,16 +178,6 @@ module Selenium
200
178
  requestId: request_id)
201
179
  end
202
180
 
203
- def get_response_body_for_interception(interception_id:)
204
- @devtools.send_cmd('Network.getResponseBodyForInterception',
205
- interceptionId: interception_id)
206
- end
207
-
208
- def take_response_body_for_interception_as_stream(interception_id:)
209
- @devtools.send_cmd('Network.takeResponseBodyForInterceptionAsStream',
210
- interceptionId: interception_id)
211
- end
212
-
213
181
  def replay_xhr(request_id:)
214
182
  @devtools.send_cmd('Network.replayXHR',
215
183
  requestId: request_id)
@@ -271,11 +239,6 @@ module Selenium
271
239
  enabled: enabled)
272
240
  end
273
241
 
274
- def set_request_interception(patterns:)
275
- @devtools.send_cmd('Network.setRequestInterception',
276
- patterns: patterns)
277
- end
278
-
279
242
  def set_user_agent_override(user_agent:, accept_language: nil, platform: nil, user_agent_metadata: nil)
280
243
  @devtools.send_cmd('Network.setUserAgentOverride',
281
244
  userAgent: user_agent,
@@ -327,6 +290,6 @@ module Selenium
327
290
  end
328
291
 
329
292
  end # Network
330
- end # V152
293
+ end # V154
331
294
  end # DevTools
332
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 V151
24
+ module V154
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 # V151
218
+ end # V154
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 V152
24
+ module V154
25
25
  class Page
26
26
  EVENTS = {
27
27
  dom_content_event_fired: 'domContentEventFired',
@@ -334,13 +334,27 @@ 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)
346
+ end
347
+
348
+ def start_screen_recording(audio: nil, max_width: nil, max_height: nil, frame_rate: nil)
349
+ @devtools.send_cmd('Page.startScreenRecording',
350
+ audio: audio,
351
+ maxWidth: max_width,
352
+ maxHeight: max_height,
353
+ frameRate: frame_rate)
354
+ end
355
+
356
+ def stop_screen_recording
357
+ @devtools.send_cmd('Page.stopScreenRecording')
344
358
  end
345
359
 
346
360
  def stop_loading
@@ -416,6 +430,6 @@ module Selenium
416
430
  end
417
431
 
418
432
  end # Page
419
- end # V152
433
+ end # V154
420
434
  end # DevTools
421
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 V151
24
+ module V154
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 # V151
58
+ end # V154
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 V151
24
+ module V154
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 # V151
45
+ end # V154
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 V151
24
+ module V154
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 # V151
53
+ end # V154
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 V151
24
+ module V154
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 # V151
82
+ end # V154
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 V151
24
+ module V154
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 # V151
77
+ end # V154
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 V151
24
+ module V154
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 # V151
201
+ end # V154
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 V152
24
+ module V154
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 # V152
41
+ end # V154
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 V151
24
+ module V154
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 # V151
66
+ end # V154
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 V151
24
+ module V154
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 # V151
106
+ end # V154
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 V151
24
+ module V154
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 # V151
123
+ end # V154
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 V154
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 # V154
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 V151
24
+ module V154
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 # V151
50
+ end # V154
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 V154
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 # V154
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 V152
24
+ module V154
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 # V152
50
+ end # V154
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 V151
24
+ module V154
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 # V151
80
+ end # V154
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 V151
24
+ module V154
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 # V151
65
+ end # V154
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 V152
24
+ module V154
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 # V152
121
+ end # V154
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 V151
24
+ module V154
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 # V151
63
+ end # V154
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__))}/v154/*", &method(:require))
24
24
 
25
25
  module Selenium
26
26
  module DevTools
27
- module V152
27
+ module V154
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 # V154
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 V152
24
+ module V155
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 # V152
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 V151
24
+ module V155
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 # V151
45
+ end # V155
42
46
  end # DevTools
43
47
  end # Selenium