selenium-devtools 0.150.0 → 0.151.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 (176) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/v149/accessibility.rb +2 -1
  3. data/lib/selenium/devtools/v149/animation.rb +2 -1
  4. data/lib/selenium/devtools/v149/audits.rb +2 -1
  5. data/lib/selenium/devtools/v149/autofill.rb +2 -1
  6. data/lib/selenium/devtools/v149/background_service.rb +2 -1
  7. data/lib/selenium/devtools/v149/bluetooth_emulation.rb +2 -1
  8. data/lib/selenium/devtools/v149/browser.rb +2 -1
  9. data/lib/selenium/devtools/v149/cache_storage.rb +2 -1
  10. data/lib/selenium/devtools/v149/cast.rb +2 -1
  11. data/lib/selenium/devtools/v149/console.rb +2 -1
  12. data/lib/selenium/devtools/v149/crash_report_context.rb +2 -1
  13. data/lib/selenium/devtools/v149/css.rb +2 -1
  14. data/lib/selenium/devtools/v149/debugger.rb +2 -1
  15. data/lib/selenium/devtools/v149/device_access.rb +2 -1
  16. data/lib/selenium/devtools/v149/device_orientation.rb +2 -1
  17. data/lib/selenium/devtools/v149/dom.rb +2 -1
  18. data/lib/selenium/devtools/v149/dom_debugger.rb +2 -1
  19. data/lib/selenium/devtools/v149/dom_snapshot.rb +2 -1
  20. data/lib/selenium/devtools/v149/dom_storage.rb +2 -1
  21. data/lib/selenium/devtools/v149/emulation.rb +2 -1
  22. data/lib/selenium/devtools/v149/event_breakpoints.rb +2 -1
  23. data/lib/selenium/devtools/v149/extensions.rb +2 -1
  24. data/lib/selenium/devtools/v149/fed_cm.rb +2 -1
  25. data/lib/selenium/devtools/v149/fetch.rb +2 -1
  26. data/lib/selenium/devtools/v149/file_system.rb +2 -1
  27. data/lib/selenium/devtools/v149/headless_experimental.rb +2 -1
  28. data/lib/selenium/devtools/v149/heap_profiler.rb +2 -1
  29. data/lib/selenium/devtools/v149/indexed_db.rb +2 -1
  30. data/lib/selenium/devtools/v149/input.rb +2 -1
  31. data/lib/selenium/devtools/v149/inspector.rb +2 -1
  32. data/lib/selenium/devtools/v149/io.rb +2 -1
  33. data/lib/selenium/devtools/v149/layer_tree.rb +2 -1
  34. data/lib/selenium/devtools/v149/log.rb +2 -1
  35. data/lib/selenium/devtools/v149/media.rb +2 -1
  36. data/lib/selenium/devtools/v149/memory.rb +2 -1
  37. data/lib/selenium/devtools/v149/network.rb +2 -1
  38. data/lib/selenium/devtools/v149/overlay.rb +2 -1
  39. data/lib/selenium/devtools/v149/page.rb +2 -1
  40. data/lib/selenium/devtools/v149/performance.rb +2 -1
  41. data/lib/selenium/devtools/v149/performance_timeline.rb +2 -1
  42. data/lib/selenium/devtools/v149/preload.rb +2 -1
  43. data/lib/selenium/devtools/v149/profiler.rb +2 -1
  44. data/lib/selenium/devtools/v149/pwa.rb +2 -1
  45. data/lib/selenium/devtools/v149/runtime.rb +2 -1
  46. data/lib/selenium/devtools/v149/schema.rb +2 -1
  47. data/lib/selenium/devtools/v149/security.rb +2 -1
  48. data/lib/selenium/devtools/v149/service_worker.rb +2 -1
  49. data/lib/selenium/devtools/v149/smart_card_emulation.rb +2 -1
  50. data/lib/selenium/devtools/v149/storage.rb +2 -1
  51. data/lib/selenium/devtools/v149/system_info.rb +2 -1
  52. data/lib/selenium/devtools/v149/target.rb +2 -1
  53. data/lib/selenium/devtools/v149/tethering.rb +2 -1
  54. data/lib/selenium/devtools/v149/tracing.rb +2 -1
  55. data/lib/selenium/devtools/v149/web_audio.rb +2 -1
  56. data/lib/selenium/devtools/v149/web_authn.rb +2 -1
  57. data/lib/selenium/devtools/v149/web_mcp.rb +2 -1
  58. data/lib/selenium/devtools/v149.rb +2 -1
  59. data/lib/selenium/devtools/v150/accessibility.rb +2 -1
  60. data/lib/selenium/devtools/v150/ads.rb +2 -1
  61. data/lib/selenium/devtools/v150/animation.rb +2 -1
  62. data/lib/selenium/devtools/v150/audits.rb +2 -1
  63. data/lib/selenium/devtools/v150/autofill.rb +2 -1
  64. data/lib/selenium/devtools/v150/background_service.rb +2 -1
  65. data/lib/selenium/devtools/v150/bluetooth_emulation.rb +2 -1
  66. data/lib/selenium/devtools/v150/browser.rb +2 -1
  67. data/lib/selenium/devtools/v150/cache_storage.rb +2 -1
  68. data/lib/selenium/devtools/v150/cast.rb +2 -1
  69. data/lib/selenium/devtools/v150/console.rb +2 -1
  70. data/lib/selenium/devtools/v150/crash_report_context.rb +2 -1
  71. data/lib/selenium/devtools/v150/css.rb +2 -1
  72. data/lib/selenium/devtools/v150/debugger.rb +2 -1
  73. data/lib/selenium/devtools/v150/device_access.rb +2 -1
  74. data/lib/selenium/devtools/v150/device_orientation.rb +2 -1
  75. data/lib/selenium/devtools/v150/dom.rb +2 -1
  76. data/lib/selenium/devtools/v150/dom_debugger.rb +2 -1
  77. data/lib/selenium/devtools/v150/dom_snapshot.rb +2 -1
  78. data/lib/selenium/devtools/v150/dom_storage.rb +2 -1
  79. data/lib/selenium/devtools/v150/emulation.rb +2 -1
  80. data/lib/selenium/devtools/v150/event_breakpoints.rb +2 -1
  81. data/lib/selenium/devtools/v150/extensions.rb +2 -1
  82. data/lib/selenium/devtools/v150/fed_cm.rb +2 -1
  83. data/lib/selenium/devtools/v150/fetch.rb +2 -1
  84. data/lib/selenium/devtools/v150/file_system.rb +2 -1
  85. data/lib/selenium/devtools/v150/headless_experimental.rb +2 -1
  86. data/lib/selenium/devtools/v150/heap_profiler.rb +2 -1
  87. data/lib/selenium/devtools/v150/indexed_db.rb +2 -1
  88. data/lib/selenium/devtools/v150/input.rb +2 -1
  89. data/lib/selenium/devtools/v150/inspector.rb +2 -1
  90. data/lib/selenium/devtools/v150/io.rb +2 -1
  91. data/lib/selenium/devtools/v150/layer_tree.rb +2 -1
  92. data/lib/selenium/devtools/v150/log.rb +2 -1
  93. data/lib/selenium/devtools/v150/media.rb +2 -1
  94. data/lib/selenium/devtools/v150/memory.rb +2 -1
  95. data/lib/selenium/devtools/v150/network.rb +2 -1
  96. data/lib/selenium/devtools/v150/overlay.rb +2 -1
  97. data/lib/selenium/devtools/v150/page.rb +2 -1
  98. data/lib/selenium/devtools/v150/performance.rb +2 -1
  99. data/lib/selenium/devtools/v150/performance_timeline.rb +2 -1
  100. data/lib/selenium/devtools/v150/preload.rb +2 -1
  101. data/lib/selenium/devtools/v150/profiler.rb +2 -1
  102. data/lib/selenium/devtools/v150/pwa.rb +2 -1
  103. data/lib/selenium/devtools/v150/runtime.rb +2 -1
  104. data/lib/selenium/devtools/v150/schema.rb +2 -1
  105. data/lib/selenium/devtools/v150/security.rb +2 -1
  106. data/lib/selenium/devtools/v150/service_worker.rb +2 -1
  107. data/lib/selenium/devtools/v150/smart_card_emulation.rb +2 -1
  108. data/lib/selenium/devtools/v150/storage.rb +2 -1
  109. data/lib/selenium/devtools/v150/system_info.rb +2 -1
  110. data/lib/selenium/devtools/v150/target.rb +2 -1
  111. data/lib/selenium/devtools/v150/tethering.rb +2 -1
  112. data/lib/selenium/devtools/v150/tracing.rb +2 -1
  113. data/lib/selenium/devtools/v150/web_audio.rb +2 -1
  114. data/lib/selenium/devtools/v150/web_authn.rb +2 -1
  115. data/lib/selenium/devtools/v150/web_mcp.rb +2 -1
  116. data/lib/selenium/devtools/v150.rb +2 -1
  117. data/lib/selenium/devtools/{v148 → v151}/accessibility.rb +4 -3
  118. data/lib/selenium/devtools/v151/ads.rb +43 -0
  119. data/lib/selenium/devtools/{v148 → v151}/animation.rb +4 -3
  120. data/lib/selenium/devtools/{v148 → v151}/audits.rb +4 -3
  121. data/lib/selenium/devtools/{v148 → v151}/autofill.rb +4 -3
  122. data/lib/selenium/devtools/{v148 → v151}/background_service.rb +4 -3
  123. data/lib/selenium/devtools/{v148 → v151}/bluetooth_emulation.rb +4 -3
  124. data/lib/selenium/devtools/{v148 → v151}/browser.rb +4 -3
  125. data/lib/selenium/devtools/{v148 → v151}/cache_storage.rb +4 -3
  126. data/lib/selenium/devtools/{v148 → v151}/cast.rb +4 -3
  127. data/lib/selenium/devtools/{v148 → v151}/console.rb +4 -3
  128. data/lib/selenium/devtools/{v148 → v151}/crash_report_context.rb +4 -3
  129. data/lib/selenium/devtools/{v148 → v151}/css.rb +11 -3
  130. data/lib/selenium/devtools/{v148 → v151}/debugger.rb +4 -3
  131. data/lib/selenium/devtools/{v148 → v151}/device_access.rb +4 -3
  132. data/lib/selenium/devtools/{v148 → v151}/device_orientation.rb +4 -3
  133. data/lib/selenium/devtools/{v148 → v151}/dom.rb +7 -5
  134. data/lib/selenium/devtools/{v148 → v151}/dom_debugger.rb +4 -3
  135. data/lib/selenium/devtools/{v148 → v151}/dom_snapshot.rb +4 -3
  136. data/lib/selenium/devtools/{v148 → v151}/dom_storage.rb +4 -3
  137. data/lib/selenium/devtools/{v148 → v151}/emulation.rb +4 -10
  138. data/lib/selenium/devtools/{v148 → v151}/event_breakpoints.rb +4 -3
  139. data/lib/selenium/devtools/{v148 → v151}/extensions.rb +4 -3
  140. data/lib/selenium/devtools/{v148 → v151}/fed_cm.rb +4 -3
  141. data/lib/selenium/devtools/{v148 → v151}/fetch.rb +4 -3
  142. data/lib/selenium/devtools/{v148 → v151}/file_system.rb +4 -3
  143. data/lib/selenium/devtools/{v148 → v151}/headless_experimental.rb +4 -3
  144. data/lib/selenium/devtools/{v148 → v151}/heap_profiler.rb +4 -3
  145. data/lib/selenium/devtools/{v148 → v151}/indexed_db.rb +4 -3
  146. data/lib/selenium/devtools/{v148 → v151}/input.rb +4 -3
  147. data/lib/selenium/devtools/{v148 → v151}/inspector.rb +4 -3
  148. data/lib/selenium/devtools/{v148 → v151}/io.rb +4 -3
  149. data/lib/selenium/devtools/{v148 → v151}/layer_tree.rb +4 -3
  150. data/lib/selenium/devtools/{v148 → v151}/log.rb +4 -3
  151. data/lib/selenium/devtools/{v148 → v151}/media.rb +4 -3
  152. data/lib/selenium/devtools/{v148 → v151}/memory.rb +4 -3
  153. data/lib/selenium/devtools/{v148 → v151}/network.rb +13 -8
  154. data/lib/selenium/devtools/{v148 → v151}/overlay.rb +9 -3
  155. data/lib/selenium/devtools/{v148 → v151}/page.rb +7 -5
  156. data/lib/selenium/devtools/{v148 → v151}/performance.rb +4 -3
  157. data/lib/selenium/devtools/{v148 → v151}/performance_timeline.rb +4 -3
  158. data/lib/selenium/devtools/{v148 → v151}/preload.rb +4 -3
  159. data/lib/selenium/devtools/{v148 → v151}/profiler.rb +4 -3
  160. data/lib/selenium/devtools/{v148 → v151}/pwa.rb +4 -3
  161. data/lib/selenium/devtools/{v148 → v151}/runtime.rb +4 -3
  162. data/lib/selenium/devtools/{v148 → v151}/schema.rb +4 -3
  163. data/lib/selenium/devtools/{v148 → v151}/security.rb +4 -3
  164. data/lib/selenium/devtools/{v148 → v151}/service_worker.rb +4 -3
  165. data/lib/selenium/devtools/{v148 → v151}/smart_card_emulation.rb +4 -3
  166. data/lib/selenium/devtools/{v148 → v151}/storage.rb +4 -3
  167. data/lib/selenium/devtools/{v148 → v151}/system_info.rb +4 -3
  168. data/lib/selenium/devtools/{v148 → v151}/target.rb +4 -3
  169. data/lib/selenium/devtools/{v148 → v151}/tethering.rb +4 -3
  170. data/lib/selenium/devtools/{v148 → v151}/tracing.rb +8 -5
  171. data/lib/selenium/devtools/{v148 → v151}/web_audio.rb +4 -3
  172. data/lib/selenium/devtools/{v148 → v151}/web_authn.rb +4 -3
  173. data/lib/selenium/devtools/{v148 → v151}/web_mcp.rb +16 -3
  174. data/lib/selenium/devtools/{v148.rb → v151.rb} +6 -4
  175. data/lib/selenium/devtools/version.rb +1 -1
  176. metadata +60 -59
@@ -17,7 +17,8 @@
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
24
  module V150
@@ -17,7 +17,8 @@
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
24
  module V150
@@ -17,7 +17,8 @@
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
24
  module V150
@@ -17,7 +17,8 @@
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
24
  module V150
@@ -17,7 +17,8 @@
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
24
  module V150
@@ -17,7 +17,8 @@
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
23
  Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v150/*", &method(:require))
23
24
 
@@ -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 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 # V148
90
+ end # V151
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 V151
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 # V151
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 V148
24
+ module V151
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 # V148
94
+ end # V151
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 V151
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 # V151
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 V148
24
+ module V151
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 # V148
61
+ end # V151
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 V151
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 # V151
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 V151
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 # V151
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 V148
24
+ module V151
24
25
  class Browser
25
26
  EVENTS = {
26
27
  download_will_begin: 'downloadWillBegin',
@@ -151,6 +152,6 @@ module Selenium
151
152
  end
152
153
 
153
154
  end # Browser
154
- end # V148
155
+ end # V151
155
156
  end # DevTools
156
157
  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 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 # V151
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 V151
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 # V148
70
+ end # V151
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 V151
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 # V151
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 V148
24
+ module V151
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 # V148
41
+ end # V151
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 V148
24
+ module V151
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 # V148
266
+ end # V151
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 V151
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 # V151
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 V151
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 # V151
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 V151
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 # V151
48
49
  end # DevTools
49
50
  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 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 # V151
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 V151
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 # V151
93
94
  end # DevTools
94
95
  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 DOMSnapshot
25
26
 
26
27
  def initialize(devtools)
@@ -58,6 +59,6 @@ module Selenium
58
59
  end
59
60
 
60
61
  end # DOMSnapshot
61
- end # V148
62
+ end # V151
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 V151
24
25
  class DOMStorage
25
26
  EVENTS = {
26
27
  dom_storage_item_added: 'domStorageItemAdded',
@@ -70,6 +71,6 @@ module Selenium
70
71
  end
71
72
 
72
73
  end # DOMStorage
73
- end # V148
74
+ end # V151
74
75
  end # DevTools
75
76
  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 Emulation
25
26
  EVENTS = {
26
27
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -189,13 +190,6 @@ module Selenium
189
190
  state: state)
190
191
  end
191
192
 
192
- def set_pressure_data_override(source:, state:, own_contribution_estimate: nil)
193
- @devtools.send_cmd('Emulation.setPressureDataOverride',
194
- source: source,
195
- state: state,
196
- ownContributionEstimate: own_contribution_estimate)
197
- end
198
-
199
193
  def set_idle_override(is_user_active:, is_screen_unlocked:)
200
194
  @devtools.send_cmd('Emulation.setIdleOverride',
201
195
  isUserActive: is_user_active,
@@ -328,6 +322,6 @@ module Selenium
328
322
  end
329
323
 
330
324
  end # Emulation
331
- end # V148
325
+ end # V151
332
326
  end # DevTools
333
327
  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 EventBreakpoints
25
26
 
26
27
  def initialize(devtools)
@@ -47,6 +48,6 @@ module Selenium
47
48
  end
48
49
 
49
50
  end # EventBreakpoints
50
- end # V148
51
+ end # V151
51
52
  end # DevTools
52
53
  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 Extensions
25
26
 
26
27
  def initialize(devtools)
@@ -81,6 +82,6 @@ module Selenium
81
82
  end
82
83
 
83
84
  end # Extensions
84
- end # V148
85
+ end # V151
85
86
  end # DevTools
86
87
  end # Selenium