selenium-devtools 0.150.0 → 0.152.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 (178) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/v150/accessibility.rb +2 -1
  3. data/lib/selenium/devtools/v150/ads.rb +2 -1
  4. data/lib/selenium/devtools/v150/animation.rb +2 -1
  5. data/lib/selenium/devtools/v150/audits.rb +2 -1
  6. data/lib/selenium/devtools/v150/autofill.rb +2 -1
  7. data/lib/selenium/devtools/v150/background_service.rb +2 -1
  8. data/lib/selenium/devtools/v150/bluetooth_emulation.rb +2 -1
  9. data/lib/selenium/devtools/v150/browser.rb +2 -1
  10. data/lib/selenium/devtools/v150/cache_storage.rb +2 -1
  11. data/lib/selenium/devtools/v150/cast.rb +2 -1
  12. data/lib/selenium/devtools/v150/console.rb +2 -1
  13. data/lib/selenium/devtools/v150/crash_report_context.rb +2 -1
  14. data/lib/selenium/devtools/v150/css.rb +2 -1
  15. data/lib/selenium/devtools/v150/debugger.rb +2 -1
  16. data/lib/selenium/devtools/v150/device_access.rb +2 -1
  17. data/lib/selenium/devtools/v150/device_orientation.rb +2 -1
  18. data/lib/selenium/devtools/v150/dom.rb +2 -1
  19. data/lib/selenium/devtools/v150/dom_debugger.rb +2 -1
  20. data/lib/selenium/devtools/v150/dom_snapshot.rb +2 -1
  21. data/lib/selenium/devtools/v150/dom_storage.rb +2 -1
  22. data/lib/selenium/devtools/v150/emulation.rb +2 -1
  23. data/lib/selenium/devtools/v150/event_breakpoints.rb +2 -1
  24. data/lib/selenium/devtools/v150/extensions.rb +2 -1
  25. data/lib/selenium/devtools/v150/fed_cm.rb +2 -1
  26. data/lib/selenium/devtools/v150/fetch.rb +2 -1
  27. data/lib/selenium/devtools/v150/file_system.rb +2 -1
  28. data/lib/selenium/devtools/v150/headless_experimental.rb +2 -1
  29. data/lib/selenium/devtools/v150/heap_profiler.rb +2 -1
  30. data/lib/selenium/devtools/v150/indexed_db.rb +2 -1
  31. data/lib/selenium/devtools/v150/input.rb +2 -1
  32. data/lib/selenium/devtools/v150/inspector.rb +2 -1
  33. data/lib/selenium/devtools/v150/io.rb +2 -1
  34. data/lib/selenium/devtools/v150/layer_tree.rb +2 -1
  35. data/lib/selenium/devtools/v150/log.rb +2 -1
  36. data/lib/selenium/devtools/v150/media.rb +2 -1
  37. data/lib/selenium/devtools/v150/memory.rb +2 -1
  38. data/lib/selenium/devtools/v150/network.rb +2 -1
  39. data/lib/selenium/devtools/v150/overlay.rb +2 -1
  40. data/lib/selenium/devtools/v150/page.rb +2 -1
  41. data/lib/selenium/devtools/v150/performance.rb +2 -1
  42. data/lib/selenium/devtools/v150/performance_timeline.rb +2 -1
  43. data/lib/selenium/devtools/v150/preload.rb +2 -1
  44. data/lib/selenium/devtools/v150/profiler.rb +2 -1
  45. data/lib/selenium/devtools/v150/pwa.rb +2 -1
  46. data/lib/selenium/devtools/v150/runtime.rb +2 -1
  47. data/lib/selenium/devtools/v150/schema.rb +2 -1
  48. data/lib/selenium/devtools/v150/security.rb +2 -1
  49. data/lib/selenium/devtools/v150/service_worker.rb +2 -1
  50. data/lib/selenium/devtools/v150/smart_card_emulation.rb +2 -1
  51. data/lib/selenium/devtools/v150/storage.rb +2 -1
  52. data/lib/selenium/devtools/v150/system_info.rb +2 -1
  53. data/lib/selenium/devtools/v150/target.rb +2 -1
  54. data/lib/selenium/devtools/v150/tethering.rb +2 -1
  55. data/lib/selenium/devtools/v150/tracing.rb +2 -1
  56. data/lib/selenium/devtools/v150/web_audio.rb +2 -1
  57. data/lib/selenium/devtools/v150/web_authn.rb +2 -1
  58. data/lib/selenium/devtools/v150/web_mcp.rb +2 -1
  59. data/lib/selenium/devtools/v150.rb +2 -1
  60. data/lib/selenium/devtools/{v148 → v151}/accessibility.rb +4 -3
  61. data/lib/selenium/devtools/v151/ads.rb +43 -0
  62. data/lib/selenium/devtools/{v148 → v151}/animation.rb +4 -3
  63. data/lib/selenium/devtools/{v149 → v151}/audits.rb +4 -3
  64. data/lib/selenium/devtools/{v148 → v151}/autofill.rb +4 -3
  65. data/lib/selenium/devtools/{v149 → v151}/background_service.rb +4 -3
  66. data/lib/selenium/devtools/{v149 → v151}/bluetooth_emulation.rb +4 -3
  67. data/lib/selenium/devtools/{v148 → v151}/browser.rb +4 -3
  68. data/lib/selenium/devtools/{v149 → v151}/cache_storage.rb +4 -3
  69. data/lib/selenium/devtools/{v148 → v151}/cast.rb +4 -3
  70. data/lib/selenium/devtools/{v149 → v151}/console.rb +4 -3
  71. data/lib/selenium/devtools/{v148 → v151}/crash_report_context.rb +4 -3
  72. data/lib/selenium/devtools/{v148 → v151}/css.rb +11 -3
  73. data/lib/selenium/devtools/{v149 → v151}/debugger.rb +4 -3
  74. data/lib/selenium/devtools/{v149 → v151}/device_access.rb +4 -3
  75. data/lib/selenium/devtools/{v149 → v151}/device_orientation.rb +4 -3
  76. data/lib/selenium/devtools/{v149 → v151}/dom.rb +7 -5
  77. data/lib/selenium/devtools/{v149 → v151}/dom_debugger.rb +4 -3
  78. data/lib/selenium/devtools/{v149 → v151}/dom_snapshot.rb +4 -3
  79. data/lib/selenium/devtools/{v148 → v151}/dom_storage.rb +4 -3
  80. data/lib/selenium/devtools/{v149 → v151}/emulation.rb +4 -10
  81. data/lib/selenium/devtools/{v149 → v151}/event_breakpoints.rb +4 -3
  82. data/lib/selenium/devtools/{v148 → v151}/extensions.rb +4 -3
  83. data/lib/selenium/devtools/{v149 → v151}/fed_cm.rb +4 -3
  84. data/lib/selenium/devtools/{v149 → v151}/fetch.rb +4 -3
  85. data/lib/selenium/devtools/{v149 → v151}/file_system.rb +4 -3
  86. data/lib/selenium/devtools/{v148 → v151}/headless_experimental.rb +4 -3
  87. data/lib/selenium/devtools/{v148 → v151}/heap_profiler.rb +4 -3
  88. data/lib/selenium/devtools/{v148 → v151}/indexed_db.rb +4 -3
  89. data/lib/selenium/devtools/{v149 → v151}/input.rb +4 -3
  90. data/lib/selenium/devtools/{v149 → v151}/inspector.rb +4 -3
  91. data/lib/selenium/devtools/{v148 → v151}/io.rb +4 -3
  92. data/lib/selenium/devtools/{v148 → v151}/layer_tree.rb +4 -3
  93. data/lib/selenium/devtools/{v148 → v151}/log.rb +4 -3
  94. data/lib/selenium/devtools/{v148 → v151}/media.rb +4 -3
  95. data/lib/selenium/devtools/{v148 → v151}/memory.rb +4 -3
  96. data/lib/selenium/devtools/{v149 → v151}/network.rb +4 -3
  97. data/lib/selenium/devtools/{v148 → v151}/overlay.rb +9 -3
  98. data/lib/selenium/devtools/{v149 → v151}/page.rb +7 -5
  99. data/lib/selenium/devtools/{v149 → v151}/performance.rb +4 -3
  100. data/lib/selenium/devtools/{v148 → v151}/performance_timeline.rb +4 -3
  101. data/lib/selenium/devtools/{v148 → v151}/preload.rb +4 -3
  102. data/lib/selenium/devtools/{v149 → v151}/profiler.rb +4 -3
  103. data/lib/selenium/devtools/{v149 → v151}/pwa.rb +4 -3
  104. data/lib/selenium/devtools/{v149 → v151}/runtime.rb +4 -3
  105. data/lib/selenium/devtools/{v149 → v151}/schema.rb +4 -3
  106. data/lib/selenium/devtools/{v148 → v151}/security.rb +4 -3
  107. data/lib/selenium/devtools/{v148 → v151}/service_worker.rb +4 -3
  108. data/lib/selenium/devtools/{v148 → v151}/smart_card_emulation.rb +4 -3
  109. data/lib/selenium/devtools/{v149 → v151}/storage.rb +4 -3
  110. data/lib/selenium/devtools/{v148 → v151}/system_info.rb +4 -3
  111. data/lib/selenium/devtools/{v149 → v151}/target.rb +4 -3
  112. data/lib/selenium/devtools/{v148 → v151}/tethering.rb +4 -3
  113. data/lib/selenium/devtools/{v148 → v151}/tracing.rb +8 -5
  114. data/lib/selenium/devtools/{v148 → v151}/web_audio.rb +4 -3
  115. data/lib/selenium/devtools/{v149 → v151}/web_authn.rb +4 -3
  116. data/lib/selenium/devtools/{v149 → v151}/web_mcp.rb +4 -3
  117. data/lib/selenium/devtools/{v148.rb → v151.rb} +6 -4
  118. data/lib/selenium/devtools/{v149 → v152}/accessibility.rb +4 -3
  119. data/lib/selenium/devtools/v152/ads.rb +43 -0
  120. data/lib/selenium/devtools/{v149 → v152}/animation.rb +4 -3
  121. data/lib/selenium/devtools/{v148 → v152}/audits.rb +4 -3
  122. data/lib/selenium/devtools/{v149 → v152}/autofill.rb +4 -3
  123. data/lib/selenium/devtools/{v148 → v152}/background_service.rb +4 -3
  124. data/lib/selenium/devtools/{v148 → v152}/bluetooth_emulation.rb +4 -3
  125. data/lib/selenium/devtools/{v149 → v152}/browser.rb +4 -11
  126. data/lib/selenium/devtools/{v148 → v152}/cache_storage.rb +4 -3
  127. data/lib/selenium/devtools/{v149 → v152}/cast.rb +4 -3
  128. data/lib/selenium/devtools/{v148 → v152}/console.rb +4 -3
  129. data/lib/selenium/devtools/{v149 → v152}/crash_report_context.rb +4 -3
  130. data/lib/selenium/devtools/{v149 → v152}/css.rb +11 -3
  131. data/lib/selenium/devtools/{v148 → v152}/debugger.rb +4 -3
  132. data/lib/selenium/devtools/{v148 → v152}/device_access.rb +4 -3
  133. data/lib/selenium/devtools/{v148 → v152}/device_orientation.rb +4 -3
  134. data/lib/selenium/devtools/v152/digital_credentials.rb +47 -0
  135. data/lib/selenium/devtools/{v148 → v152}/dom.rb +7 -5
  136. data/lib/selenium/devtools/{v148 → v152}/dom_debugger.rb +4 -3
  137. data/lib/selenium/devtools/{v148 → v152}/dom_snapshot.rb +4 -3
  138. data/lib/selenium/devtools/{v149 → v152}/dom_storage.rb +4 -3
  139. data/lib/selenium/devtools/{v148 → v152}/emulation.rb +4 -10
  140. data/lib/selenium/devtools/{v148 → v152}/event_breakpoints.rb +4 -3
  141. data/lib/selenium/devtools/{v149 → v152}/extensions.rb +4 -3
  142. data/lib/selenium/devtools/{v148 → v152}/fed_cm.rb +4 -3
  143. data/lib/selenium/devtools/{v148 → v152}/fetch.rb +4 -3
  144. data/lib/selenium/devtools/{v148 → v152}/file_system.rb +4 -3
  145. data/lib/selenium/devtools/{v149 → v152}/headless_experimental.rb +4 -3
  146. data/lib/selenium/devtools/{v149 → v152}/heap_profiler.rb +4 -3
  147. data/lib/selenium/devtools/{v149 → v152}/indexed_db.rb +4 -3
  148. data/lib/selenium/devtools/{v148 → v152}/input.rb +4 -3
  149. data/lib/selenium/devtools/{v148 → v152}/inspector.rb +4 -3
  150. data/lib/selenium/devtools/{v149 → v152}/io.rb +4 -3
  151. data/lib/selenium/devtools/{v149 → v152}/layer_tree.rb +4 -3
  152. data/lib/selenium/devtools/{v149 → v152}/log.rb +4 -3
  153. data/lib/selenium/devtools/{v149 → v152}/media.rb +4 -3
  154. data/lib/selenium/devtools/{v149 → v152}/memory.rb +4 -3
  155. data/lib/selenium/devtools/{v148 → v152}/network.rb +13 -8
  156. data/lib/selenium/devtools/{v149 → v152}/overlay.rb +9 -3
  157. data/lib/selenium/devtools/{v148 → v152}/page.rb +7 -5
  158. data/lib/selenium/devtools/{v148 → v152}/performance.rb +4 -3
  159. data/lib/selenium/devtools/{v149 → v152}/performance_timeline.rb +4 -3
  160. data/lib/selenium/devtools/{v149 → v152}/preload.rb +4 -3
  161. data/lib/selenium/devtools/{v148 → v152}/profiler.rb +4 -3
  162. data/lib/selenium/devtools/{v148 → v152}/pwa.rb +4 -3
  163. data/lib/selenium/devtools/{v148 → v152}/runtime.rb +4 -3
  164. data/lib/selenium/devtools/{v148 → v152}/schema.rb +4 -3
  165. data/lib/selenium/devtools/{v149 → v152}/security.rb +4 -3
  166. data/lib/selenium/devtools/{v149 → v152}/service_worker.rb +4 -3
  167. data/lib/selenium/devtools/{v149 → v152}/smart_card_emulation.rb +4 -3
  168. data/lib/selenium/devtools/{v148 → v152}/storage.rb +4 -29
  169. data/lib/selenium/devtools/{v149 → v152}/system_info.rb +4 -3
  170. data/lib/selenium/devtools/{v148 → v152}/target.rb +4 -3
  171. data/lib/selenium/devtools/{v149 → v152}/tethering.rb +4 -3
  172. data/lib/selenium/devtools/{v149 → v152}/tracing.rb +8 -5
  173. data/lib/selenium/devtools/{v149 → v152}/web_audio.rb +4 -3
  174. data/lib/selenium/devtools/{v148 → v152}/web_authn.rb +9 -5
  175. data/lib/selenium/devtools/{v148 → v152}/web_mcp.rb +16 -3
  176. data/lib/selenium/devtools/{v149.rb → v152.rb} +7 -4
  177. data/lib/selenium/devtools/version.rb +1 -1
  178. metadata +119 -116
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V151
24
25
  class Tethering
25
26
  EVENTS = {
26
27
  accepted: 'accepted',
@@ -46,6 +47,6 @@ module Selenium
46
47
  end
47
48
 
48
49
  end # Tethering
49
- end # V148
50
+ end # V151
50
51
  end # DevTools
51
52
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V151
24
25
  class Tracing
25
26
  EVENTS = {
26
27
  buffer_usage: 'bufferUsage',
@@ -60,7 +61,7 @@ module Selenium
60
61
  levelOfDetail: level_of_detail)
61
62
  end
62
63
 
63
- def start(categories: nil, options: nil, buffer_usage_reporting_interval: nil, transfer_mode: nil, stream_format: nil, stream_compression: nil, trace_config: nil, perfetto_config: nil, tracing_backend: nil)
64
+ def start(categories: nil, options: nil, buffer_usage_reporting_interval: nil, transfer_mode: nil, stream_format: nil, stream_compression: nil, trace_config: nil, perfetto_config: nil, tracing_backend: nil, screenshot_max_size: nil, screenshot_max_count: nil)
64
65
  @devtools.send_cmd('Tracing.start',
65
66
  categories: categories,
66
67
  options: options,
@@ -70,10 +71,12 @@ module Selenium
70
71
  streamCompression: stream_compression,
71
72
  traceConfig: trace_config,
72
73
  perfettoConfig: perfetto_config,
73
- tracingBackend: tracing_backend)
74
+ tracingBackend: tracing_backend,
75
+ screenshotMaxSize: screenshot_max_size,
76
+ screenshotMaxCount: screenshot_max_count)
74
77
  end
75
78
 
76
79
  end # Tracing
77
- end # V148
80
+ end # V151
78
81
  end # DevTools
79
82
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V151
24
25
  class WebAudio
25
26
  EVENTS = {
26
27
  context_created: 'contextCreated',
@@ -61,6 +62,6 @@ module Selenium
61
62
  end
62
63
 
63
64
  end # WebAudio
64
- end # V148
65
+ end # V151
65
66
  end # DevTools
66
67
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V149
24
+ module V151
24
25
  class WebAuthn
25
26
  EVENTS = {
26
27
  credential_added: 'credentialAdded',
@@ -114,6 +115,6 @@ module Selenium
114
115
  end
115
116
 
116
117
  end # WebAuthn
117
- end # V149
118
+ end # V151
118
119
  end # DevTools
119
120
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V149
24
+ module V151
24
25
  class WebMCP
25
26
  EVENTS = {
26
27
  tools_added: 'toolsAdded',
@@ -59,6 +60,6 @@ module Selenium
59
60
  end
60
61
 
61
62
  end # WebMCP
62
- end # V149
63
+ end # V151
63
64
  end # DevTools
64
65
  end # Selenium
@@ -17,15 +17,17 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
 
22
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v148/*", &method(:require))
23
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v151/*", &method(:require))
23
24
 
24
25
  module Selenium
25
26
  module DevTools
26
- module V148
27
+ module V151
27
28
  METHODS_TO_CLASSES = {
28
29
  accessibility: 'Accessibility',
30
+ ads: 'Ads',
29
31
  animation: 'Animation',
30
32
  audits: 'Audits',
31
33
  autofill: 'Autofill',
@@ -82,6 +84,6 @@ module Selenium
82
84
  runtime: 'Runtime',
83
85
  schema: 'Schema',
84
86
  }.freeze
85
- end # V148
87
+ end # V151
86
88
  end # DevTools
87
89
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V149
24
+ module V152
24
25
  class Accessibility
25
26
  EVENTS = {
26
27
  load_complete: 'loadComplete',
@@ -86,6 +87,6 @@ module Selenium
86
87
  end
87
88
 
88
89
  end # Accessibility
89
- end # V149
90
+ end # V152
90
91
  end # DevTools
91
92
  end # Selenium
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Licensed to the Software Freedom Conservancy (SFC) under one
4
+ # or more contributor license agreements. See the NOTICE file
5
+ # distributed with this work for additional information
6
+ # regarding copyright ownership. The SFC licenses this file
7
+ # to you under the Apache License, Version 2.0 (the
8
+ # "License"); you may not use this file except in compliance
9
+ # with the License. You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing,
14
+ # software distributed under the License is distributed on an
15
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ # KIND, either express or implied. See the License for the
17
+ # specific language governing permissions and limitations
18
+ # under the License.
19
+
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
+ module Selenium
23
+ module DevTools
24
+ module V152
25
+ class Ads
26
+
27
+ def initialize(devtools)
28
+ @devtools = devtools
29
+ end
30
+
31
+ def on(event, &block)
32
+ event = EVENTS[event] if event.is_a?(Symbol)
33
+ @devtools.callbacks["Ads.#{event}"] << block
34
+ end
35
+
36
+ def get_ad_metrics
37
+ @devtools.send_cmd('Ads.getAdMetrics')
38
+ end
39
+
40
+ end # Ads
41
+ end # V152
42
+ end # DevTools
43
+ end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V149
24
+ module V152
24
25
  class Animation
25
26
  EVENTS = {
26
27
  animation_canceled: 'animationCanceled',
@@ -90,6 +91,6 @@ module Selenium
90
91
  end
91
92
 
92
93
  end # Animation
93
- end # V149
94
+ end # V152
94
95
  end # DevTools
95
96
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class Audits
25
26
  EVENTS = {
26
27
  issue_added: 'issueAdded',
@@ -56,6 +57,6 @@ module Selenium
56
57
  end
57
58
 
58
59
  end # Audits
59
- end # V148
60
+ end # V152
60
61
  end # DevTools
61
62
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V149
24
+ module V152
24
25
  class Autofill
25
26
  EVENTS = {
26
27
  address_form_filled: 'addressFormFilled',
@@ -57,6 +58,6 @@ module Selenium
57
58
  end
58
59
 
59
60
  end # Autofill
60
- end # V149
61
+ end # V152
61
62
  end # DevTools
62
63
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class BackgroundService
25
26
  EVENTS = {
26
27
  recording_state_changed: 'recordingStateChanged',
@@ -58,6 +59,6 @@ module Selenium
58
59
  end
59
60
 
60
61
  end # BackgroundService
61
- end # V148
62
+ end # V152
62
63
  end # DevTools
63
64
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class BluetoothEmulation
25
26
  EVENTS = {
26
27
  gatt_operation_received: 'gattOperationReceived',
@@ -128,6 +129,6 @@ module Selenium
128
129
  end
129
130
 
130
131
  end # BluetoothEmulation
131
- end # V148
132
+ end # V152
132
133
  end # DevTools
133
134
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V149
24
+ module V152
24
25
  class Browser
25
26
  EVENTS = {
26
27
  download_will_begin: 'downloadWillBegin',
@@ -142,15 +143,7 @@ module Selenium
142
143
  url: url)
143
144
  end
144
145
 
145
- def add_privacy_sandbox_coordinator_key_config(api:, coordinator_origin:, key_config:, browser_context_id: nil)
146
- @devtools.send_cmd('Browser.addPrivacySandboxCoordinatorKeyConfig',
147
- api: api,
148
- coordinatorOrigin: coordinator_origin,
149
- keyConfig: key_config,
150
- browserContextId: browser_context_id)
151
- end
152
-
153
146
  end # Browser
154
- end # V149
147
+ end # V152
155
148
  end # DevTools
156
149
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class CacheStorage
25
26
 
26
27
  def initialize(devtools)
@@ -66,6 +67,6 @@ module Selenium
66
67
  end
67
68
 
68
69
  end # CacheStorage
69
- end # V148
70
+ end # V152
70
71
  end # DevTools
71
72
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V149
24
+ module V152
24
25
  class Cast
25
26
  EVENTS = {
26
27
  sinks_updated: 'sinksUpdated',
@@ -66,6 +67,6 @@ module Selenium
66
67
  end
67
68
 
68
69
  end # Cast
69
- end # V149
70
+ end # V152
70
71
  end # DevTools
71
72
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class Console
25
26
  EVENTS = {
26
27
  message_added: 'messageAdded',
@@ -48,6 +49,6 @@ module Selenium
48
49
  end
49
50
 
50
51
  end # Console
51
- end # V148
52
+ end # V152
52
53
  end # DevTools
53
54
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V149
24
+ module V152
24
25
  class CrashReportContext
25
26
 
26
27
  def initialize(devtools)
@@ -37,6 +38,6 @@ module Selenium
37
38
  end
38
39
 
39
40
  end # CrashReportContext
40
- end # V149
41
+ end # V152
41
42
  end # DevTools
42
43
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V149
24
+ module V152
24
25
  class CSS
25
26
  EVENTS = {
26
27
  fonts_updated: 'fontsUpdated',
@@ -197,6 +198,13 @@ module Selenium
197
198
  text: text)
198
199
  end
199
200
 
201
+ def set_container_query_condition_text(style_sheet_id:, range:, text:)
202
+ @devtools.send_cmd('CSS.setContainerQueryConditionText',
203
+ styleSheetId: style_sheet_id,
204
+ range: range,
205
+ text: text)
206
+ end
207
+
200
208
  def set_supports_text(style_sheet_id:, range:, text:)
201
209
  @devtools.send_cmd('CSS.setSupportsText',
202
210
  styleSheetId: style_sheet_id,
@@ -255,6 +263,6 @@ module Selenium
255
263
  end
256
264
 
257
265
  end # CSS
258
- end # V149
266
+ end # V152
259
267
  end # DevTools
260
268
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class Debugger
25
26
  EVENTS = {
26
27
  breakpoint_resolved: 'breakpointResolved',
@@ -233,6 +234,6 @@ module Selenium
233
234
  end
234
235
 
235
236
  end # Debugger
236
- end # V148
237
+ end # V152
237
238
  end # DevTools
238
239
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class DeviceAccess
25
26
  EVENTS = {
26
27
  device_request_prompted: 'deviceRequestPrompted',
@@ -55,6 +56,6 @@ module Selenium
55
56
  end
56
57
 
57
58
  end # DeviceAccess
58
- end # V148
59
+ end # V152
59
60
  end # DevTools
60
61
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class DeviceOrientation
25
26
 
26
27
  def initialize(devtools)
@@ -44,6 +45,6 @@ module Selenium
44
45
  end
45
46
 
46
47
  end # DeviceOrientation
47
- end # V148
48
+ end # V152
48
49
  end # DevTools
49
50
  end # Selenium
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Licensed to the Software Freedom Conservancy (SFC) under one
4
+ # or more contributor license agreements. See the NOTICE file
5
+ # distributed with this work for additional information
6
+ # regarding copyright ownership. The SFC licenses this file
7
+ # to you under the Apache License, Version 2.0 (the
8
+ # "License"); you may not use this file except in compliance
9
+ # with the License. You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing,
14
+ # software distributed under the License is distributed on an
15
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ # KIND, either express or implied. See the License for the
17
+ # specific language governing permissions and limitations
18
+ # under the License.
19
+
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
22
+ module Selenium
23
+ module DevTools
24
+ module V152
25
+ class DigitalCredentials
26
+
27
+ def initialize(devtools)
28
+ @devtools = devtools
29
+ end
30
+
31
+ def on(event, &block)
32
+ event = EVENTS[event] if event.is_a?(Symbol)
33
+ @devtools.callbacks["DigitalCredentials.#{event}"] << block
34
+ end
35
+
36
+ def set_virtual_wallet_behavior(action:, protocol: nil, response: nil, frame_id: nil)
37
+ @devtools.send_cmd('DigitalCredentials.setVirtualWalletBehavior',
38
+ action: action,
39
+ protocol: protocol,
40
+ response: response,
41
+ frameId: frame_id)
42
+ end
43
+
44
+ end # DigitalCredentials
45
+ end # V152
46
+ end # DevTools
47
+ end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class DOM
25
26
  EVENTS = {
26
27
  attribute_modified: 'attributeModified',
@@ -359,13 +360,14 @@ module Selenium
359
360
  anchorSpecifier: anchor_specifier)
360
361
  end
361
362
 
362
- def force_show_popover(node_id:, enable:)
363
+ def force_show_popover(node_id:, enable:, invoker_node_id: nil)
363
364
  @devtools.send_cmd('DOM.forceShowPopover',
364
365
  nodeId: node_id,
365
- enable: enable)
366
+ enable: enable,
367
+ invokerNodeId: invoker_node_id)
366
368
  end
367
369
 
368
370
  end # DOM
369
- end # V148
371
+ end # V152
370
372
  end # DevTools
371
373
  end # Selenium
@@ -17,10 +17,11 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- # This file is automatically generated. Any changes will be lost!
20
+ # DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
21
+ # Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
21
22
  module Selenium
22
23
  module DevTools
23
- module V148
24
+ module V152
24
25
  class DOMDebugger
25
26
 
26
27
  def initialize(devtools)
@@ -89,6 +90,6 @@ module Selenium
89
90
  end
90
91
 
91
92
  end # DOMDebugger
92
- end # V148
93
+ end # V152
93
94
  end # DevTools
94
95
  end # Selenium