selenium-devtools 0.93.0 → 0.97.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/NOTICE +1 -1
  4. data/lib/selenium/devtools/README.md +7 -0
  5. data/lib/selenium/devtools/{v93 → v95}/accessibility.rb +9 -6
  6. data/lib/selenium/devtools/{v93 → v95}/animation.rb +2 -2
  7. data/lib/selenium/devtools/{v93 → v95}/application_cache.rb +2 -2
  8. data/lib/selenium/devtools/{v92 → v95}/audits.rb +2 -2
  9. data/lib/selenium/devtools/{v92 → v95}/background_service.rb +2 -2
  10. data/lib/selenium/devtools/{v92 → v95}/browser.rb +2 -2
  11. data/lib/selenium/devtools/{v93 → v95}/cache_storage.rb +2 -2
  12. data/lib/selenium/devtools/{v93 → v95}/cast.rb +2 -2
  13. data/lib/selenium/devtools/{v93 → v95}/console.rb +2 -2
  14. data/lib/selenium/devtools/{v93 → v95}/css.rb +2 -2
  15. data/lib/selenium/devtools/{v92 → v95}/database.rb +2 -2
  16. data/lib/selenium/devtools/{v93 → v95}/debugger.rb +2 -2
  17. data/lib/selenium/devtools/{v93 → v95}/device_orientation.rb +2 -2
  18. data/lib/selenium/devtools/{v93 → v95}/dom.rb +7 -2
  19. data/lib/selenium/devtools/{v92 → v95}/dom_debugger.rb +2 -2
  20. data/lib/selenium/devtools/{v93 → v95}/dom_snapshot.rb +2 -2
  21. data/lib/selenium/devtools/{v92 → v95}/dom_storage.rb +2 -2
  22. data/lib/selenium/devtools/{v93 → v95}/emulation.rb +7 -2
  23. data/lib/selenium/devtools/{v92 → v95}/fetch.rb +14 -4
  24. data/lib/selenium/devtools/{v93 → v95}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v92 → v95}/heap_profiler.rb +2 -2
  26. data/lib/selenium/devtools/{v92 → v95}/indexed_db.rb +2 -2
  27. data/lib/selenium/devtools/{v92 → v95}/input.rb +11 -2
  28. data/lib/selenium/devtools/{v92 → v95}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v92 → v95}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v92 → v95}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v93 → v95}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v93 → v95}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v92 → v95}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v93 → v95}/network.rb +10 -3
  35. data/lib/selenium/devtools/{v93 → v95}/overlay.rb +2 -2
  36. data/lib/selenium/devtools/{v92 → v95}/page.rb +11 -2
  37. data/lib/selenium/devtools/{v92 → v95}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v93 → v95}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v92 → v95}/profiler.rb +2 -26
  40. data/lib/selenium/devtools/{v93 → v95}/runtime.rb +5 -4
  41. data/lib/selenium/devtools/{v93 → v95}/schema.rb +2 -2
  42. data/lib/selenium/devtools/{v92 → v95}/security.rb +2 -2
  43. data/lib/selenium/devtools/{v92 → v95}/service_worker.rb +2 -2
  44. data/lib/selenium/devtools/{v92 → v95}/storage.rb +2 -2
  45. data/lib/selenium/devtools/{v92 → v95}/system_info.rb +2 -2
  46. data/lib/selenium/devtools/{v93 → v95}/target.rb +8 -2
  47. data/lib/selenium/devtools/{v92 → v95}/tethering.rb +2 -2
  48. data/lib/selenium/devtools/{v92 → v95}/tracing.rb +2 -2
  49. data/lib/selenium/devtools/{v92 → v95}/web_audio.rb +2 -2
  50. data/lib/selenium/devtools/{v92 → v95}/web_authn.rb +2 -2
  51. data/lib/selenium/devtools/v95.rb +1 -0
  52. data/lib/selenium/devtools/{v92 → v96}/accessibility.rb +9 -6
  53. data/lib/selenium/devtools/{v92 → v96}/animation.rb +2 -2
  54. data/lib/selenium/devtools/{v93 → v96}/audits.rb +2 -2
  55. data/lib/selenium/devtools/{v93 → v96}/background_service.rb +2 -2
  56. data/lib/selenium/devtools/{v93 → v96}/browser.rb +2 -2
  57. data/lib/selenium/devtools/{v92 → v96}/cache_storage.rb +2 -2
  58. data/lib/selenium/devtools/{v92 → v96}/cast.rb +2 -2
  59. data/lib/selenium/devtools/{v92 → v96}/console.rb +2 -2
  60. data/lib/selenium/devtools/{v92 → v96}/css.rb +9 -2
  61. data/lib/selenium/devtools/{v93 → v96}/database.rb +2 -2
  62. data/lib/selenium/devtools/{v92 → v96}/debugger.rb +2 -2
  63. data/lib/selenium/devtools/{v92 → v96}/device_orientation.rb +2 -2
  64. data/lib/selenium/devtools/{v92 → v96}/dom.rb +13 -2
  65. data/lib/selenium/devtools/{v93 → v96}/dom_debugger.rb +2 -2
  66. data/lib/selenium/devtools/{v92 → v96}/dom_snapshot.rb +2 -2
  67. data/lib/selenium/devtools/{v93 → v96}/dom_storage.rb +2 -2
  68. data/lib/selenium/devtools/{v92 → v96}/emulation.rb +7 -2
  69. data/lib/selenium/devtools/{v93 → v96}/fetch.rb +14 -4
  70. data/lib/selenium/devtools/{v92 → v96}/headless_experimental.rb +2 -2
  71. data/lib/selenium/devtools/{v93 → v96}/heap_profiler.rb +2 -2
  72. data/lib/selenium/devtools/{v93 → v96}/indexed_db.rb +2 -2
  73. data/lib/selenium/devtools/{v93 → v96}/input.rb +11 -2
  74. data/lib/selenium/devtools/{v93 → v96}/inspector.rb +2 -2
  75. data/lib/selenium/devtools/{v93 → v96}/io.rb +2 -2
  76. data/lib/selenium/devtools/{v93 → v96}/layer_tree.rb +2 -2
  77. data/lib/selenium/devtools/{v92 → v96}/log.rb +2 -2
  78. data/lib/selenium/devtools/{v92 → v96}/media.rb +2 -2
  79. data/lib/selenium/devtools/{v93 → v96}/memory.rb +2 -2
  80. data/lib/selenium/devtools/{v92 → v96}/network.rb +14 -9
  81. data/lib/selenium/devtools/{v92 → v96}/overlay.rb +12 -2
  82. data/lib/selenium/devtools/{v93 → v96}/page.rb +11 -2
  83. data/lib/selenium/devtools/{v93 → v96}/performance.rb +2 -2
  84. data/lib/selenium/devtools/{v92 → v96}/performance_timeline.rb +2 -2
  85. data/lib/selenium/devtools/{v93 → v96}/profiler.rb +2 -26
  86. data/lib/selenium/devtools/{v92 → v96}/runtime.rb +8 -6
  87. data/lib/selenium/devtools/{v92 → v96}/schema.rb +2 -2
  88. data/lib/selenium/devtools/{v93 → v96}/security.rb +2 -2
  89. data/lib/selenium/devtools/{v93 → v96}/service_worker.rb +2 -2
  90. data/lib/selenium/devtools/{v93 → v96}/storage.rb +2 -2
  91. data/lib/selenium/devtools/{v93 → v96}/system_info.rb +2 -2
  92. data/lib/selenium/devtools/{v92 → v96}/target.rb +8 -2
  93. data/lib/selenium/devtools/{v93 → v96}/tethering.rb +2 -2
  94. data/lib/selenium/devtools/{v93 → v96}/tracing.rb +2 -2
  95. data/lib/selenium/devtools/{v93 → v96}/web_audio.rb +2 -2
  96. data/lib/selenium/devtools/{v93 → v96}/web_authn.rb +2 -2
  97. data/lib/selenium/devtools/v96.rb +1 -0
  98. data/lib/selenium/devtools/v97/accessibility.rb +76 -0
  99. data/lib/selenium/devtools/v97/animation.rb +94 -0
  100. data/lib/selenium/devtools/v97/audits.rb +62 -0
  101. data/lib/selenium/devtools/v97/background_service.rb +63 -0
  102. data/lib/selenium/devtools/v97/browser.rb +135 -0
  103. data/lib/selenium/devtools/v97/cache_storage.rb +69 -0
  104. data/lib/selenium/devtools/v97/cast.rb +66 -0
  105. data/lib/selenium/devtools/v97/console.rb +53 -0
  106. data/lib/selenium/devtools/v97/css.rb +182 -0
  107. data/lib/selenium/devtools/v97/database.rb +60 -0
  108. data/lib/selenium/devtools/v97/debugger.rb +220 -0
  109. data/lib/selenium/devtools/v97/device_orientation.rb +49 -0
  110. data/lib/selenium/devtools/v97/dom.rb +334 -0
  111. data/lib/selenium/devtools/v97/dom_debugger.rb +94 -0
  112. data/lib/selenium/devtools/v97/dom_snapshot.rb +63 -0
  113. data/lib/selenium/devtools/v97/dom_storage.rb +75 -0
  114. data/lib/selenium/devtools/v97/emulation.rb +197 -0
  115. data/lib/selenium/devtools/v97/event_breakpoints.rb +48 -0
  116. data/lib/selenium/devtools/v97/fetch.rb +103 -0
  117. data/lib/selenium/devtools/v97/headless_experimental.rb +57 -0
  118. data/lib/selenium/devtools/v97/heap_profiler.rb +105 -0
  119. data/lib/selenium/devtools/v97/indexed_db.rb +96 -0
  120. data/lib/selenium/devtools/v97/input.rb +168 -0
  121. data/lib/selenium/devtools/v97/inspector.rb +51 -0
  122. data/lib/selenium/devtools/v97/io.rb +55 -0
  123. data/lib/selenium/devtools/v97/layer_tree.rb +91 -0
  124. data/lib/selenium/devtools/v97/log.rb +62 -0
  125. data/lib/selenium/devtools/v97/media.rb +53 -0
  126. data/lib/selenium/devtools/v97/memory.rb +82 -0
  127. data/lib/selenium/devtools/v97/network.rb +262 -0
  128. data/lib/selenium/devtools/v97/overlay.rb +202 -0
  129. data/lib/selenium/devtools/v97/page.rb +393 -0
  130. data/lib/selenium/devtools/v97/performance.rb +59 -0
  131. data/lib/selenium/devtools/v97/performance_timeline.rb +46 -0
  132. data/lib/selenium/devtools/v97/profiler.rb +95 -0
  133. data/lib/selenium/devtools/v97/runtime.rb +194 -0
  134. data/lib/selenium/devtools/v97/schema.rb +42 -0
  135. data/lib/selenium/devtools/v97/security.rb +67 -0
  136. data/lib/selenium/devtools/v97/service_worker.rb +112 -0
  137. data/lib/selenium/devtools/v97/storage.rb +106 -0
  138. data/lib/selenium/devtools/v97/system_info.rb +46 -0
  139. data/lib/selenium/devtools/v97/target.rb +145 -0
  140. data/lib/selenium/devtools/v97/tethering.rb +51 -0
  141. data/lib/selenium/devtools/v97/tracing.rb +75 -0
  142. data/lib/selenium/devtools/v97/web_audio.rb +66 -0
  143. data/lib/selenium/devtools/v97/web_authn.rb +96 -0
  144. data/lib/selenium/devtools/v97.rb +1 -0
  145. data/lib/selenium/devtools/version.rb +1 -1
  146. data/selenium-devtools.gemspec +1 -1
  147. metadata +144 -97
  148. data/lib/selenium/devtools/v92/application_cache.rb +0 -60
  149. data/lib/selenium/devtools/v92.rb +0 -1
  150. data/lib/selenium/devtools/v93.rb +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31e4c8a44d4454182c42c7e5ab1bddd7fc1792982f034be887c2dc79d32301e5
4
- data.tar.gz: 34e4b431e69cd95eaa8fb3f5ae95e58125f92e01e2b2d192c7b9b0e893085896
3
+ metadata.gz: e2462bdbd80456ba690d6266f717366db8b1b3864f18488e32c1e44eb713d52d
4
+ data.tar.gz: 974b71a57390c71708b8d5c8e2fc4c3225c03fbd1707d2fc6b93e06b31c0dcdc
5
5
  SHA512:
6
- metadata.gz: efa09ff01b0ba9c4a95c604317c008cb40702a99aa84f81861d73559a3e5d909b9db88944b70a76d7afb61a930e1e3e3c141c059dcd9f9a5078dd5cc146db1ba
7
- data.tar.gz: b1dd8a591b8ee977950c78bdf3986cc8043e47684c435dfe11f7779329d856b25c8f6813f957d631c57be05400a4dfe3ac37fa23db29ccc8db20e7ea273970bc
6
+ metadata.gz: e9525d30794d49cf6accd57088bb2f8ce71e2d2fe70770dbb20c7edb0eab0156838a57695ff66a5f06af71a96b34989ad9e6228e645acc7368920c7aeb6ae326
7
+ data.tar.gz: ff178325610d8f096f991ed006fc26527bbe664f30e77ba1381fe059458220f35147aeade898ffa19441b50c4484988d1155526422bb22b95c94066eafbc1238
data/LICENSE CHANGED
@@ -187,7 +187,7 @@
187
187
  same "printed page" as the copyright notice for easier
188
188
  identification within third-party archives.
189
189
 
190
- Copyright 2021 Software Freedom Conservancy (SFC)
190
+ Copyright 2022 Software Freedom Conservancy (SFC)
191
191
 
192
192
  Licensed under the Apache License, Version 2.0 (the "License");
193
193
  you may not use this file except in compliance with the License.
data/NOTICE CHANGED
@@ -1,2 +1,2 @@
1
- Copyright 2011-2021 Software Freedom Conservancy
1
+ Copyright 2011-2022 Software Freedom Conservancy
2
2
  Copyright 2004-2011 Selenium committers
@@ -0,0 +1,7 @@
1
+ ### Adding support for new Chromium DevTools Protocol to the Ruby bindings
2
+
3
+ * Add latest version number to //rb/BUILD.bazel
4
+ * Update //rb/lib/selenium/devtools/version.rb with latest version number
5
+
6
+ ### Releasing selenium-devtools gem
7
+
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class Accessibility
25
25
 
26
26
  def initialize(devtools)
@@ -48,14 +48,17 @@ module Selenium
48
48
  fetchRelatives: fetch_relatives)
49
49
  end
50
50
 
51
- def get_full_ax_tree(max_depth: nil)
51
+ def get_full_ax_tree(depth: nil, max_depth: nil, frame_id: nil)
52
52
  @devtools.send_cmd('Accessibility.getFullAXTree',
53
- max_depth: max_depth)
53
+ depth: depth,
54
+ max_depth: max_depth,
55
+ frameId: frame_id)
54
56
  end
55
57
 
56
- def get_child_ax_nodes(id:)
58
+ def get_child_ax_nodes(id:, frame_id: nil)
57
59
  @devtools.send_cmd('Accessibility.getChildAXNodes',
58
- id: id)
60
+ id: id,
61
+ frameId: frame_id)
59
62
  end
60
63
 
61
64
  def query_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, accessible_name: nil, role: nil)
@@ -68,6 +71,6 @@ module Selenium
68
71
  end
69
72
 
70
73
  end # Accessibility
71
- end # V93
74
+ end # V95
72
75
  end # DevTools
73
76
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class Animation
25
25
  EVENTS = {
26
26
  animation_canceled: 'animationCanceled',
@@ -89,6 +89,6 @@ module Selenium
89
89
  end
90
90
 
91
91
  end # Animation
92
- end # V93
92
+ end # V95
93
93
  end # DevTools
94
94
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class ApplicationCache
25
25
  EVENTS = {
26
26
  application_cache_status_updated: 'applicationCacheStatusUpdated',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # ApplicationCache
58
- end # V93
58
+ end # V95
59
59
  end # DevTools
60
60
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class Audits
25
25
  EVENTS = {
26
26
  issue_added: 'issueAdded',
@@ -57,6 +57,6 @@ module Selenium
57
57
  end
58
58
 
59
59
  end # Audits
60
- end # V92
60
+ end # V95
61
61
  end # DevTools
62
62
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class BackgroundService
25
25
  EVENTS = {
26
26
  recording_state_changed: 'recordingStateChanged',
@@ -58,6 +58,6 @@ module Selenium
58
58
  end
59
59
 
60
60
  end # BackgroundService
61
- end # V92
61
+ end # V95
62
62
  end # DevTools
63
63
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -130,6 +130,6 @@ module Selenium
130
130
  end
131
131
 
132
132
  end # Browser
133
- end # V92
133
+ end # V95
134
134
  end # DevTools
135
135
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class CacheStorage
25
25
 
26
26
  def initialize(devtools)
@@ -64,6 +64,6 @@ module Selenium
64
64
  end
65
65
 
66
66
  end # CacheStorage
67
- end # V93
67
+ end # V95
68
68
  end # DevTools
69
69
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class Cast
25
25
  EVENTS = {
26
26
  sinks_updated: 'sinksUpdated',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # Cast
64
- end # V93
64
+ end # V95
65
65
  end # DevTools
66
66
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class Console
25
25
  EVENTS = {
26
26
  message_added: 'messageAdded',
@@ -48,6 +48,6 @@ module Selenium
48
48
  end
49
49
 
50
50
  end # Console
51
- end # V93
51
+ end # V95
52
52
  end # DevTools
53
53
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -177,6 +177,6 @@ module Selenium
177
177
  end
178
178
 
179
179
  end # CSS
180
- end # V93
180
+ end # V95
181
181
  end # DevTools
182
182
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class Database
25
25
  EVENTS = {
26
26
  add_database: 'addDatabase',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # Database
58
- end # V92
58
+ end # V95
59
59
  end # DevTools
60
60
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -215,6 +215,6 @@ module Selenium
215
215
  end
216
216
 
217
217
  end # Debugger
218
- end # V93
218
+ end # V95
219
219
  end # DevTools
220
220
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class DeviceOrientation
25
25
 
26
26
  def initialize(devtools)
@@ -44,6 +44,6 @@ module Selenium
44
44
  end
45
45
 
46
46
  end # DeviceOrientation
47
- end # V93
47
+ end # V95
48
48
  end # DevTools
49
49
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -323,7 +323,12 @@ module Selenium
323
323
  containerName: container_name)
324
324
  end
325
325
 
326
+ def get_querying_descendants_for_container(node_id:)
327
+ @devtools.send_cmd('DOM.getQueryingDescendantsForContainer',
328
+ nodeId: node_id)
329
+ end
330
+
326
331
  end # DOM
327
- end # V93
332
+ end # V95
328
333
  end # DevTools
329
334
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class DOMDebugger
25
25
 
26
26
  def initialize(devtools)
@@ -89,6 +89,6 @@ module Selenium
89
89
  end
90
90
 
91
91
  end # DOMDebugger
92
- end # V92
92
+ end # V95
93
93
  end # DevTools
94
94
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class DOMSnapshot
25
25
 
26
26
  def initialize(devtools)
@@ -58,6 +58,6 @@ module Selenium
58
58
  end
59
59
 
60
60
  end # DOMSnapshot
61
- end # V93
61
+ end # V95
62
62
  end # DevTools
63
63
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class DOMStorage
25
25
  EVENTS = {
26
26
  dom_storage_item_added: 'domStorageItemAdded',
@@ -70,6 +70,6 @@ module Selenium
70
70
  end
71
71
 
72
72
  end # DOMStorage
73
- end # V92
73
+ end # V95
74
74
  end # DevTools
75
75
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -56,6 +56,11 @@ module Selenium
56
56
  enabled: enabled)
57
57
  end
58
58
 
59
+ def set_auto_dark_mode_override(enabled: nil)
60
+ @devtools.send_cmd('Emulation.setAutoDarkModeOverride',
61
+ enabled: enabled)
62
+ end
63
+
59
64
  def set_cpu_throttling_rate(rate:)
60
65
  @devtools.send_cmd('Emulation.setCPUThrottlingRate',
61
66
  rate: rate)
@@ -187,6 +192,6 @@ module Selenium
187
192
  end
188
193
 
189
194
  end # Emulation
190
- end # V93
195
+ end # V95
191
196
  end # DevTools
192
197
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class Fetch
25
25
  EVENTS = {
26
26
  request_paused: 'requestPaused',
@@ -62,13 +62,14 @@ module Selenium
62
62
  responsePhrase: response_phrase)
63
63
  end
64
64
 
65
- def continue_request(request_id:, url: nil, method: nil, post_data: nil, headers: nil)
65
+ def continue_request(request_id:, url: nil, method: nil, post_data: nil, headers: nil, intercept_response: nil)
66
66
  @devtools.send_cmd('Fetch.continueRequest',
67
67
  requestId: request_id,
68
68
  url: url,
69
69
  method: method,
70
70
  postData: post_data,
71
- headers: headers)
71
+ headers: headers,
72
+ interceptResponse: intercept_response)
72
73
  end
73
74
 
74
75
  def continue_with_auth(request_id:, auth_challenge_response:)
@@ -77,6 +78,15 @@ module Selenium
77
78
  authChallengeResponse: auth_challenge_response)
78
79
  end
79
80
 
81
+ def continue_response(request_id:, response_code: nil, response_phrase: nil, response_headers: nil, binary_response_headers: nil)
82
+ @devtools.send_cmd('Fetch.continueResponse',
83
+ requestId: request_id,
84
+ responseCode: response_code,
85
+ responsePhrase: response_phrase,
86
+ responseHeaders: response_headers,
87
+ binaryResponseHeaders: binary_response_headers)
88
+ end
89
+
80
90
  def get_response_body(request_id:)
81
91
  @devtools.send_cmd('Fetch.getResponseBody',
82
92
  requestId: request_id)
@@ -88,6 +98,6 @@ module Selenium
88
98
  end
89
99
 
90
100
  end # Fetch
91
- end # V92
101
+ end # V95
92
102
  end # DevTools
93
103
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class HeadlessExperimental
25
25
  EVENTS = {
26
26
  needs_begin_frames_changed: 'needsBeginFramesChanged',
@@ -52,6 +52,6 @@ module Selenium
52
52
  end
53
53
 
54
54
  end # HeadlessExperimental
55
- end # V93
55
+ end # V95
56
56
  end # DevTools
57
57
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -100,6 +100,6 @@ module Selenium
100
100
  end
101
101
 
102
102
  end # HeapProfiler
103
- end # V92
103
+ end # V95
104
104
  end # DevTools
105
105
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class IndexedDB
25
25
 
26
26
  def initialize(devtools)
@@ -91,6 +91,6 @@ module Selenium
91
91
  end
92
92
 
93
93
  end # IndexedDB
94
- end # V92
94
+ end # V95
95
95
  end # DevTools
96
96
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class Input
25
25
  EVENTS = {
26
26
  drag_intercepted: 'dragIntercepted',
@@ -68,6 +68,15 @@ module Selenium
68
68
  text: text)
69
69
  end
70
70
 
71
+ def ime_set_composition(text:, selection_start:, selection_end:, replacement_start: nil, replacement_end: nil)
72
+ @devtools.send_cmd('Input.imeSetComposition',
73
+ text: text,
74
+ selectionStart: selection_start,
75
+ selectionEnd: selection_end,
76
+ replacementStart: replacement_start,
77
+ replacementEnd: replacement_end)
78
+ end
79
+
71
80
  def dispatch_mouse_event(type:, x:, y:, modifiers: nil, timestamp: nil, button: nil, buttons: nil, click_count: nil, force: nil, tangential_pressure: nil, tilt_x: nil, tilt_y: nil, twist: nil, delta_x: nil, delta_y: nil, pointer_type: nil)
72
81
  @devtools.send_cmd('Input.dispatchMouseEvent',
73
82
  type: type,
@@ -154,6 +163,6 @@ module Selenium
154
163
  end
155
164
 
156
165
  end # Input
157
- end # V92
166
+ end # V95
158
167
  end # DevTools
159
168
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class Inspector
25
25
  EVENTS = {
26
26
  detached: 'detached',
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # Inspector
49
- end # V92
49
+ end # V95
50
50
  end # DevTools
51
51
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class IO
25
25
 
26
26
  def initialize(devtools)
@@ -50,6 +50,6 @@ module Selenium
50
50
  end
51
51
 
52
52
  end # IO
53
- end # V92
53
+ end # V95
54
54
  end # DevTools
55
55
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class LayerTree
25
25
  EVENTS = {
26
26
  layer_painted: 'layerPainted',
@@ -86,6 +86,6 @@ module Selenium
86
86
  end
87
87
 
88
88
  end # LayerTree
89
- end # V92
89
+ end # V95
90
90
  end # DevTools
91
91
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class Log
25
25
  EVENTS = {
26
26
  entry_added: 'entryAdded',
@@ -57,6 +57,6 @@ module Selenium
57
57
  end
58
58
 
59
59
  end # Log
60
- end # V93
60
+ end # V95
61
61
  end # DevTools
62
62
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class Media
25
25
  EVENTS = {
26
26
  player_properties_changed: 'playerPropertiesChanged',
@@ -48,6 +48,6 @@ module Selenium
48
48
  end
49
49
 
50
50
  end # Media
51
- end # V93
51
+ end # V95
52
52
  end # DevTools
53
53
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V92
23
+ module V95
24
24
  class Memory
25
25
 
26
26
  def initialize(devtools)
@@ -77,6 +77,6 @@ module Selenium
77
77
  end
78
78
 
79
79
  end # Memory
80
- end # V92
80
+ end # V95
81
81
  end # DevTools
82
82
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V93
23
+ module V95
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -50,6 +50,8 @@ module Selenium
50
50
  subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
51
51
  subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
52
52
  subresource_web_bundle_inner_response_error: 'subresourceWebBundleInnerResponseError',
53
+ reporting_api_report_added: 'reportingApiReportAdded',
54
+ reporting_api_report_updated: 'reportingApiReportUpdated',
53
55
  }.freeze
54
56
 
55
57
  def initialize(devtools)
@@ -242,7 +244,12 @@ module Selenium
242
244
  frameId: frame_id)
243
245
  end
244
246
 
245
- def load_network_resource(frame_id:, url:, options:)
247
+ def enable_reporting_api(enable:)
248
+ @devtools.send_cmd('Network.enableReportingApi',
249
+ enable: enable)
250
+ end
251
+
252
+ def load_network_resource(frame_id: nil, url:, options:)
246
253
  @devtools.send_cmd('Network.loadNetworkResource',
247
254
  frameId: frame_id,
248
255
  url: url,
@@ -250,6 +257,6 @@ module Selenium
250
257
  end
251
258
 
252
259
  end # Network
253
- end # V93
260
+ end # V95
254
261
  end # DevTools
255
262
  end # Selenium