selenium-devtools 0.129.0 → 0.131.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/lib/selenium/devtools/{v128 → v130}/accessibility.rb +2 -2
  4. data/lib/selenium/devtools/{v128 → v130}/animation.rb +2 -2
  5. data/lib/selenium/devtools/{v128 → v130}/audits.rb +2 -2
  6. data/lib/selenium/devtools/{v127 → v130}/autofill.rb +2 -2
  7. data/lib/selenium/devtools/{v128 → v130}/background_service.rb +2 -2
  8. data/lib/selenium/devtools/v130/bluetooth_emulation.rb +60 -0
  9. data/lib/selenium/devtools/{v128 → v130}/browser.rb +2 -2
  10. data/lib/selenium/devtools/{v128 → v130}/cache_storage.rb +2 -2
  11. data/lib/selenium/devtools/{v128 → v130}/cast.rb +2 -2
  12. data/lib/selenium/devtools/{v128 → v130}/console.rb +2 -2
  13. data/lib/selenium/devtools/{v127 → v130}/css.rb +2 -2
  14. data/lib/selenium/devtools/{v127 → v130}/database.rb +2 -2
  15. data/lib/selenium/devtools/{v128 → v130}/debugger.rb +2 -2
  16. data/lib/selenium/devtools/{v128 → v130}/device_access.rb +2 -2
  17. data/lib/selenium/devtools/{v127 → v130}/device_orientation.rb +2 -2
  18. data/lib/selenium/devtools/{v128 → v130}/dom.rb +7 -2
  19. data/lib/selenium/devtools/{v127 → v130}/dom_debugger.rb +2 -2
  20. data/lib/selenium/devtools/{v127 → v130}/dom_snapshot.rb +2 -2
  21. data/lib/selenium/devtools/{v127 → v130}/dom_storage.rb +2 -2
  22. data/lib/selenium/devtools/{v128 → v130}/emulation.rb +2 -2
  23. data/lib/selenium/devtools/{v127 → v130}/event_breakpoints.rb +2 -2
  24. data/lib/selenium/devtools/{v127 → v130}/extensions.rb +29 -2
  25. data/lib/selenium/devtools/{v128 → v130}/fed_cm.rb +2 -2
  26. data/lib/selenium/devtools/{v127 → v130}/fetch.rb +2 -2
  27. data/lib/selenium/devtools/{v128 → v130}/file_system.rb +2 -2
  28. data/lib/selenium/devtools/{v127 → v130}/headless_experimental.rb +2 -2
  29. data/lib/selenium/devtools/{v128 → v130}/heap_profiler.rb +2 -2
  30. data/lib/selenium/devtools/{v127 → v130}/indexed_db.rb +2 -2
  31. data/lib/selenium/devtools/{v128 → v130}/input.rb +2 -2
  32. data/lib/selenium/devtools/{v127 → v130}/inspector.rb +2 -2
  33. data/lib/selenium/devtools/{v128 → v130}/io.rb +2 -2
  34. data/lib/selenium/devtools/{v128 → v130}/layer_tree.rb +2 -2
  35. data/lib/selenium/devtools/{v127 → v130}/log.rb +2 -2
  36. data/lib/selenium/devtools/{v127 → v130}/media.rb +2 -2
  37. data/lib/selenium/devtools/{v128 → v130}/memory.rb +6 -2
  38. data/lib/selenium/devtools/{v128 → v130}/network.rb +2 -2
  39. data/lib/selenium/devtools/{v128 → v130}/overlay.rb +2 -2
  40. data/lib/selenium/devtools/{v127 → v130}/page.rb +3 -2
  41. data/lib/selenium/devtools/{v127 → v130}/performance.rb +2 -2
  42. data/lib/selenium/devtools/{v128 → v130}/performance_timeline.rb +2 -2
  43. data/lib/selenium/devtools/{v127 → v130}/preload.rb +2 -2
  44. data/lib/selenium/devtools/{v127 → v130}/profiler.rb +2 -2
  45. data/lib/selenium/devtools/{v128 → v130}/pwa.rb +2 -2
  46. data/lib/selenium/devtools/{v128 → v130}/runtime.rb +2 -2
  47. data/lib/selenium/devtools/{v128 → v130}/schema.rb +2 -2
  48. data/lib/selenium/devtools/{v128 → v130}/security.rb +2 -2
  49. data/lib/selenium/devtools/{v127 → v130}/service_worker.rb +2 -2
  50. data/lib/selenium/devtools/{v128 → v130}/storage.rb +2 -2
  51. data/lib/selenium/devtools/{v127 → v130}/system_info.rb +2 -2
  52. data/lib/selenium/devtools/{v127 → v130}/target.rb +2 -2
  53. data/lib/selenium/devtools/{v128 → v130}/tethering.rb +2 -2
  54. data/lib/selenium/devtools/{v127 → v130}/tracing.rb +2 -2
  55. data/lib/selenium/devtools/{v127 → v130}/web_audio.rb +2 -2
  56. data/lib/selenium/devtools/{v128 → v130}/web_authn.rb +2 -2
  57. data/lib/selenium/devtools/{v128.rb → v130.rb} +4 -3
  58. data/lib/selenium/devtools/{v127 → v131}/accessibility.rb +2 -2
  59. data/lib/selenium/devtools/{v127 → v131}/animation.rb +2 -2
  60. data/lib/selenium/devtools/{v127 → v131}/audits.rb +2 -2
  61. data/lib/selenium/devtools/{v128 → v131}/autofill.rb +2 -2
  62. data/lib/selenium/devtools/{v127 → v131}/background_service.rb +2 -2
  63. data/lib/selenium/devtools/v131/bluetooth_emulation.rb +60 -0
  64. data/lib/selenium/devtools/{v127 → v131}/browser.rb +2 -2
  65. data/lib/selenium/devtools/{v127 → v131}/cache_storage.rb +2 -2
  66. data/lib/selenium/devtools/{v127 → v131}/cast.rb +2 -2
  67. data/lib/selenium/devtools/{v127 → v131}/console.rb +2 -2
  68. data/lib/selenium/devtools/{v128 → v131}/css.rb +2 -2
  69. data/lib/selenium/devtools/{v128 → v131}/database.rb +2 -2
  70. data/lib/selenium/devtools/{v127 → v131}/debugger.rb +10 -4
  71. data/lib/selenium/devtools/{v127 → v131}/device_access.rb +2 -2
  72. data/lib/selenium/devtools/{v128 → v131}/device_orientation.rb +2 -2
  73. data/lib/selenium/devtools/{v127 → v131}/dom.rb +7 -2
  74. data/lib/selenium/devtools/{v128 → v131}/dom_debugger.rb +2 -2
  75. data/lib/selenium/devtools/{v128 → v131}/dom_snapshot.rb +2 -2
  76. data/lib/selenium/devtools/{v128 → v131}/dom_storage.rb +2 -2
  77. data/lib/selenium/devtools/{v127 → v131}/emulation.rb +15 -2
  78. data/lib/selenium/devtools/{v128 → v131}/event_breakpoints.rb +2 -2
  79. data/lib/selenium/devtools/v131/extensions.rb +70 -0
  80. data/lib/selenium/devtools/{v127 → v131}/fed_cm.rb +2 -2
  81. data/lib/selenium/devtools/{v128 → v131}/fetch.rb +2 -2
  82. data/lib/selenium/devtools/{v128/extensions.rb → v131/file_system.rb} +8 -8
  83. data/lib/selenium/devtools/{v128 → v131}/headless_experimental.rb +2 -2
  84. data/lib/selenium/devtools/{v127 → v131}/heap_profiler.rb +2 -2
  85. data/lib/selenium/devtools/{v128 → v131}/indexed_db.rb +2 -2
  86. data/lib/selenium/devtools/{v127 → v131}/input.rb +2 -2
  87. data/lib/selenium/devtools/{v128 → v131}/inspector.rb +2 -2
  88. data/lib/selenium/devtools/{v127 → v131}/io.rb +2 -2
  89. data/lib/selenium/devtools/{v127 → v131}/layer_tree.rb +2 -2
  90. data/lib/selenium/devtools/{v128 → v131}/log.rb +2 -2
  91. data/lib/selenium/devtools/{v128 → v131}/media.rb +2 -2
  92. data/lib/selenium/devtools/{v127 → v131}/memory.rb +6 -2
  93. data/lib/selenium/devtools/{v127 → v131}/network.rb +3 -2
  94. data/lib/selenium/devtools/{v127 → v131}/overlay.rb +2 -2
  95. data/lib/selenium/devtools/{v128 → v131}/page.rb +3 -2
  96. data/lib/selenium/devtools/{v128 → v131}/performance.rb +2 -2
  97. data/lib/selenium/devtools/{v127 → v131}/performance_timeline.rb +2 -2
  98. data/lib/selenium/devtools/{v128 → v131}/preload.rb +2 -2
  99. data/lib/selenium/devtools/{v128 → v131}/profiler.rb +2 -2
  100. data/lib/selenium/devtools/{v127 → v131}/pwa.rb +9 -2
  101. data/lib/selenium/devtools/{v127 → v131}/runtime.rb +2 -2
  102. data/lib/selenium/devtools/{v127 → v131}/schema.rb +2 -2
  103. data/lib/selenium/devtools/{v127 → v131}/security.rb +2 -2
  104. data/lib/selenium/devtools/{v128 → v131}/service_worker.rb +2 -2
  105. data/lib/selenium/devtools/{v127 → v131}/storage.rb +2 -2
  106. data/lib/selenium/devtools/{v128 → v131}/system_info.rb +2 -2
  107. data/lib/selenium/devtools/{v128 → v131}/target.rb +2 -2
  108. data/lib/selenium/devtools/{v127 → v131}/tethering.rb +2 -2
  109. data/lib/selenium/devtools/{v128 → v131}/tracing.rb +2 -2
  110. data/lib/selenium/devtools/{v128 → v131}/web_audio.rb +2 -2
  111. data/lib/selenium/devtools/{v127 → v131}/web_authn.rb +4 -2
  112. data/lib/selenium/devtools/{v127.rb → v131.rb} +5 -3
  113. data/lib/selenium/devtools/version.rb +1 -1
  114. data/selenium-devtools.gemspec +3 -2
  115. metadata +115 -111
@@ -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 V128
23
+ module V131
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 # V128
58
+ end # V131
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 V127
23
+ module V131
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -137,9 +137,15 @@ module Selenium
137
137
  maxDepth: max_depth)
138
138
  end
139
139
 
140
- def set_blackbox_patterns(patterns:)
140
+ def set_blackbox_execution_contexts(unique_ids:)
141
+ @devtools.send_cmd('Debugger.setBlackboxExecutionContexts',
142
+ uniqueIds: unique_ids)
143
+ end
144
+
145
+ def set_blackbox_patterns(patterns:, skip_anonymous: nil)
141
146
  @devtools.send_cmd('Debugger.setBlackboxPatterns',
142
- patterns: patterns)
147
+ patterns: patterns,
148
+ skipAnonymous: skip_anonymous)
143
149
  end
144
150
 
145
151
  def set_blackboxed_ranges(script_id:, positions:)
@@ -227,6 +233,6 @@ module Selenium
227
233
  end
228
234
 
229
235
  end # Debugger
230
- end # V127
236
+ end # V131
231
237
  end # DevTools
232
238
  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 V127
23
+ module V131
24
24
  class DeviceAccess
25
25
  EVENTS = {
26
26
  device_request_prompted: 'deviceRequestPrompted',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # DeviceAccess
58
- end # V127
58
+ end # V131
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 V128
23
+ module V131
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 # V128
47
+ end # V131
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 V127
23
+ module V131
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -34,6 +34,7 @@ module Selenium
34
34
  inline_style_invalidated: 'inlineStyleInvalidated',
35
35
  pseudo_element_added: 'pseudoElementAdded',
36
36
  top_layer_elements_updated: 'topLayerElementsUpdated',
37
+ scrollable_flag_updated: 'scrollableFlagUpdated',
37
38
  pseudo_element_removed: 'pseudoElementRemoved',
38
39
  set_child_nodes: 'setChildNodes',
39
40
  shadow_root_popped: 'shadowRootPopped',
@@ -297,6 +298,10 @@ module Selenium
297
298
  objectId: object_id)
298
299
  end
299
300
 
301
+ def get_detached_dom_nodes
302
+ @devtools.send_cmd('DOM.getDetachedDomNodes')
303
+ end
304
+
300
305
  def set_inspected_node(node_id:)
301
306
  @devtools.send_cmd('DOM.setInspectedNode',
302
307
  nodeId: node_id)
@@ -349,6 +354,6 @@ module Selenium
349
354
  end
350
355
 
351
356
  end # DOM
352
- end # V127
357
+ end # V131
353
358
  end # DevTools
354
359
  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 V128
23
+ module V131
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 # V128
92
+ end # V131
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 V128
23
+ module V131
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 # V128
61
+ end # V131
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 V128
23
+ module V131
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 # V128
73
+ end # V131
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 V127
23
+ module V131
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -150,6 +150,19 @@ module Selenium
150
150
  reading: reading)
151
151
  end
152
152
 
153
+ def set_pressure_source_override_enabled(enabled:, source:, metadata: nil)
154
+ @devtools.send_cmd('Emulation.setPressureSourceOverrideEnabled',
155
+ enabled: enabled,
156
+ source: source,
157
+ metadata: metadata)
158
+ end
159
+
160
+ def set_pressure_state_override(source:, state:)
161
+ @devtools.send_cmd('Emulation.setPressureStateOverride',
162
+ source: source,
163
+ state: state)
164
+ end
165
+
153
166
  def set_idle_override(is_user_active:, is_screen_unlocked:)
154
167
  @devtools.send_cmd('Emulation.setIdleOverride',
155
168
  isUserActive: is_user_active,
@@ -229,6 +242,6 @@ module Selenium
229
242
  end
230
243
 
231
244
  end # Emulation
232
- end # V127
245
+ end # V131
233
246
  end # DevTools
234
247
  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 V128
23
+ module V131
24
24
  class EventBreakpoints
25
25
 
26
26
  def initialize(devtools)
@@ -47,6 +47,6 @@ module Selenium
47
47
  end
48
48
 
49
49
  end # EventBreakpoints
50
- end # V128
50
+ end # V131
51
51
  end # DevTools
52
52
  end # Selenium
@@ -0,0 +1,70 @@
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
+ # This file is automatically generated. Any changes will be lost!
21
+ module Selenium
22
+ module DevTools
23
+ module V131
24
+ class Extensions
25
+
26
+ def initialize(devtools)
27
+ @devtools = devtools
28
+ end
29
+
30
+ def on(event, &block)
31
+ event = EVENTS[event] if event.is_a?(Symbol)
32
+ @devtools.callbacks["Extensions.#{event}"] << block
33
+ end
34
+
35
+ def load_unpacked(path:)
36
+ @devtools.send_cmd('Extensions.loadUnpacked',
37
+ path: path)
38
+ end
39
+
40
+ def get_storage_items(id:, storage_area:, keys: nil)
41
+ @devtools.send_cmd('Extensions.getStorageItems',
42
+ id: id,
43
+ storageArea: storage_area,
44
+ keys: keys)
45
+ end
46
+
47
+ def remove_storage_items(id:, storage_area:, keys:)
48
+ @devtools.send_cmd('Extensions.removeStorageItems',
49
+ id: id,
50
+ storageArea: storage_area,
51
+ keys: keys)
52
+ end
53
+
54
+ def clear_storage_items(id:, storage_area:)
55
+ @devtools.send_cmd('Extensions.clearStorageItems',
56
+ id: id,
57
+ storageArea: storage_area)
58
+ end
59
+
60
+ def set_storage_items(id:, storage_area:, values:)
61
+ @devtools.send_cmd('Extensions.setStorageItems',
62
+ id: id,
63
+ storageArea: storage_area,
64
+ values: values)
65
+ end
66
+
67
+ end # Extensions
68
+ end # V131
69
+ end # DevTools
70
+ 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 V127
23
+ module V131
24
24
  class FedCm
25
25
  EVENTS = {
26
26
  dialog_shown: 'dialogShown',
@@ -75,6 +75,6 @@ module Selenium
75
75
  end
76
76
 
77
77
  end # FedCm
78
- end # V127
78
+ end # V131
79
79
  end # DevTools
80
80
  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 V128
23
+ module V131
24
24
  class Fetch
25
25
  EVENTS = {
26
26
  request_paused: 'requestPaused',
@@ -98,6 +98,6 @@ module Selenium
98
98
  end
99
99
 
100
100
  end # Fetch
101
- end # V128
101
+ end # V131
102
102
  end # DevTools
103
103
  end # Selenium
@@ -20,8 +20,8 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V128
24
- class Extensions
23
+ module V131
24
+ class FileSystem
25
25
 
26
26
  def initialize(devtools)
27
27
  @devtools = devtools
@@ -29,15 +29,15 @@ module Selenium
29
29
 
30
30
  def on(event, &block)
31
31
  event = EVENTS[event] if event.is_a?(Symbol)
32
- @devtools.callbacks["Extensions.#{event}"] << block
32
+ @devtools.callbacks["FileSystem.#{event}"] << block
33
33
  end
34
34
 
35
- def load_unpacked(path:)
36
- @devtools.send_cmd('Extensions.loadUnpacked',
37
- path: path)
35
+ def get_directory(bucket_file_system_locator:)
36
+ @devtools.send_cmd('FileSystem.getDirectory',
37
+ bucketFileSystemLocator: bucket_file_system_locator)
38
38
  end
39
39
 
40
- end # Extensions
41
- end # V128
40
+ end # FileSystem
41
+ end # V131
42
42
  end # DevTools
43
43
  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 V128
23
+ module V131
24
24
  class HeadlessExperimental
25
25
 
26
26
  def initialize(devtools)
@@ -49,6 +49,6 @@ module Selenium
49
49
  end
50
50
 
51
51
  end # HeadlessExperimental
52
- end # V128
52
+ end # V131
53
53
  end # DevTools
54
54
  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 V127
23
+ module V131
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -104,6 +104,6 @@ module Selenium
104
104
  end
105
105
 
106
106
  end # HeapProfiler
107
- end # V127
107
+ end # V131
108
108
  end # DevTools
109
109
  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 V128
23
+ module V131
24
24
  class IndexedDB
25
25
 
26
26
  def initialize(devtools)
@@ -105,6 +105,6 @@ module Selenium
105
105
  end
106
106
 
107
107
  end # IndexedDB
108
- end # V128
108
+ end # V131
109
109
  end # DevTools
110
110
  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 V127
23
+ module V131
24
24
  class Input
25
25
  EVENTS = {
26
26
  drag_intercepted: 'dragIntercepted',
@@ -167,6 +167,6 @@ module Selenium
167
167
  end
168
168
 
169
169
  end # Input
170
- end # V127
170
+ end # V131
171
171
  end # DevTools
172
172
  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 V128
23
+ module V131
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 # V128
49
+ end # V131
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 V127
23
+ module V131
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 # V127
53
+ end # V131
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 V127
23
+ module V131
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 # V127
89
+ end # V131
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 V128
23
+ module V131
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 # V128
60
+ end # V131
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 V128
23
+ module V131
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 # V128
51
+ end # V131
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 V127
23
+ module V131
24
24
  class Memory
25
25
 
26
26
  def initialize(devtools)
@@ -36,6 +36,10 @@ module Selenium
36
36
  @devtools.send_cmd('Memory.getDOMCounters')
37
37
  end
38
38
 
39
+ def get_dom_counters_for_leak_detection
40
+ @devtools.send_cmd('Memory.getDOMCountersForLeakDetection')
41
+ end
42
+
39
43
  def prepare_for_leak_detection
40
44
  @devtools.send_cmd('Memory.prepareForLeakDetection')
41
45
  end
@@ -77,6 +81,6 @@ module Selenium
77
81
  end
78
82
 
79
83
  end # Memory
80
- end # V127
84
+ end # V131
81
85
  end # DevTools
82
86
  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 V127
23
+ module V131
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -47,6 +47,7 @@ module Selenium
47
47
  response_received_extra_info: 'responseReceivedExtraInfo',
48
48
  response_received_early_hints: 'responseReceivedEarlyHints',
49
49
  trust_token_operation_done: 'trustTokenOperationDone',
50
+ policy_updated: 'policyUpdated',
50
51
  subresource_web_bundle_metadata_received: 'subresourceWebBundleMetadataReceived',
51
52
  subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
52
53
  subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
@@ -269,6 +270,6 @@ module Selenium
269
270
  end
270
271
 
271
272
  end # Network
272
- end # V127
273
+ end # V131
273
274
  end # DevTools
274
275
  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 V127
23
+ module V131
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -202,6 +202,6 @@ module Selenium
202
202
  end
203
203
 
204
204
  end # Overlay
205
- end # V127
205
+ end # V131
206
206
  end # DevTools
207
207
  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 V128
23
+ module V131
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -28,6 +28,7 @@ module Selenium
28
28
  frame_attached: 'frameAttached',
29
29
  frame_cleared_scheduled_navigation: 'frameClearedScheduledNavigation',
30
30
  frame_detached: 'frameDetached',
31
+ frame_subtree_will_be_detached: 'frameSubtreeWillBeDetached',
31
32
  frame_navigated: 'frameNavigated',
32
33
  document_opened: 'documentOpened',
33
34
  frame_resized: 'frameResized',
@@ -405,6 +406,6 @@ module Selenium
405
406
  end
406
407
 
407
408
  end # Page
408
- end # V128
409
+ end # V131
409
410
  end # DevTools
410
411
  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 V128
23
+ module V131
24
24
  class Performance
25
25
  EVENTS = {
26
26
  metrics: 'metrics',
@@ -54,6 +54,6 @@ module Selenium
54
54
  end
55
55
 
56
56
  end # Performance
57
- end # V128
57
+ end # V131
58
58
  end # DevTools
59
59
  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 V127
23
+ module V131
24
24
  class PerformanceTimeline
25
25
  EVENTS = {
26
26
  timeline_event_added: 'timelineEventAdded',
@@ -41,6 +41,6 @@ module Selenium
41
41
  end
42
42
 
43
43
  end # PerformanceTimeline
44
- end # V127
44
+ end # V131
45
45
  end # DevTools
46
46
  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 V128
23
+ module V131
24
24
  class Preload
25
25
  EVENTS = {
26
26
  rule_set_updated: 'ruleSetUpdated',
@@ -49,6 +49,6 @@ module Selenium
49
49
  end
50
50
 
51
51
  end # Preload
52
- end # V128
52
+ end # V131
53
53
  end # DevTools
54
54
  end # Selenium