selenium-devtools 0.92.0 → 0.93.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 (98) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v90 → v93}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v91 → v93}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v91 → v93}/application_cache.rb +2 -2
  5. data/lib/selenium/devtools/{v90 → v93}/audits.rb +2 -2
  6. data/lib/selenium/devtools/{v90 → v93}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v91 → v93}/browser.rb +2 -2
  8. data/lib/selenium/devtools/{v91 → v93}/cache_storage.rb +2 -2
  9. data/lib/selenium/devtools/{v91 → v93}/cast.rb +2 -2
  10. data/lib/selenium/devtools/{v91 → v93}/console.rb +2 -2
  11. data/lib/selenium/devtools/{v90 → v93}/css.rb +9 -2
  12. data/lib/selenium/devtools/{v90 → v93}/database.rb +2 -2
  13. data/lib/selenium/devtools/{v91 → v93}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v91 → v93}/device_orientation.rb +2 -2
  15. data/lib/selenium/devtools/{v90 → v93}/dom.rb +8 -2
  16. data/lib/selenium/devtools/{v90 → v93}/dom_debugger.rb +2 -2
  17. data/lib/selenium/devtools/{v91 → v93}/dom_snapshot.rb +6 -4
  18. data/lib/selenium/devtools/{v90 → v93}/dom_storage.rb +2 -2
  19. data/lib/selenium/devtools/{v91 → v93}/emulation.rb +2 -2
  20. data/lib/selenium/devtools/{v91 → v93}/fetch.rb +2 -2
  21. data/lib/selenium/devtools/{v91 → v93}/headless_experimental.rb +2 -2
  22. data/lib/selenium/devtools/{v90 → v93}/heap_profiler.rb +8 -6
  23. data/lib/selenium/devtools/{v90 → v93}/indexed_db.rb +2 -2
  24. data/lib/selenium/devtools/{v91 → v93}/input.rb +2 -2
  25. data/lib/selenium/devtools/{v90 → v93}/inspector.rb +2 -2
  26. data/lib/selenium/devtools/{v90 → v93}/io.rb +2 -2
  27. data/lib/selenium/devtools/{v90 → v93}/layer_tree.rb +2 -2
  28. data/lib/selenium/devtools/{v91 → v93}/log.rb +2 -2
  29. data/lib/selenium/devtools/{v91 → v93}/media.rb +2 -2
  30. data/lib/selenium/devtools/{v90 → v93}/memory.rb +2 -2
  31. data/lib/selenium/devtools/{v91 → v93}/network.rb +6 -8
  32. data/lib/selenium/devtools/{v91 → v93}/overlay.rb +7 -2
  33. data/lib/selenium/devtools/{v91 → v93}/page.rb +6 -4
  34. data/lib/selenium/devtools/{v90 → v93}/performance.rb +2 -2
  35. data/lib/selenium/devtools/{v91 → v93}/performance_timeline.rb +2 -2
  36. data/lib/selenium/devtools/{v91 → v93}/profiler.rb +2 -2
  37. data/lib/selenium/devtools/{v91 → v93}/runtime.rb +5 -4
  38. data/lib/selenium/devtools/{v91 → v93}/schema.rb +2 -2
  39. data/lib/selenium/devtools/{v90 → v93}/security.rb +2 -2
  40. data/lib/selenium/devtools/{v90 → v93}/service_worker.rb +2 -2
  41. data/lib/selenium/devtools/{v91 → v93}/storage.rb +2 -2
  42. data/lib/selenium/devtools/{v90 → v93}/system_info.rb +2 -2
  43. data/lib/selenium/devtools/{v90 → v93}/target.rb +2 -2
  44. data/lib/selenium/devtools/{v90 → v93}/tethering.rb +2 -2
  45. data/lib/selenium/devtools/{v91 → v93}/tracing.rb +2 -2
  46. data/lib/selenium/devtools/{v90 → v93}/web_audio.rb +2 -2
  47. data/lib/selenium/devtools/{v90 → v93}/web_authn.rb +2 -2
  48. data/lib/selenium/devtools/v93.rb +1 -0
  49. data/lib/selenium/devtools/version.rb +1 -1
  50. metadata +49 -96
  51. data/lib/selenium/devtools/v90/animation.rb +0 -94
  52. data/lib/selenium/devtools/v90/application_cache.rb +0 -60
  53. data/lib/selenium/devtools/v90/browser.rb +0 -124
  54. data/lib/selenium/devtools/v90/cache_storage.rb +0 -69
  55. data/lib/selenium/devtools/v90/cast.rb +0 -66
  56. data/lib/selenium/devtools/v90/console.rb +0 -53
  57. data/lib/selenium/devtools/v90/debugger.rb +0 -220
  58. data/lib/selenium/devtools/v90/device_orientation.rb +0 -49
  59. data/lib/selenium/devtools/v90/dom_snapshot.rb +0 -61
  60. data/lib/selenium/devtools/v90/emulation.rb +0 -192
  61. data/lib/selenium/devtools/v90/fetch.rb +0 -93
  62. data/lib/selenium/devtools/v90/headless_experimental.rb +0 -57
  63. data/lib/selenium/devtools/v90/input.rb +0 -142
  64. data/lib/selenium/devtools/v90/log.rb +0 -62
  65. data/lib/selenium/devtools/v90/media.rb +0 -53
  66. data/lib/selenium/devtools/v90/network.rb +0 -248
  67. data/lib/selenium/devtools/v90/overlay.rb +0 -187
  68. data/lib/selenium/devtools/v90/page.rb +0 -377
  69. data/lib/selenium/devtools/v90/performance_timeline.rb +0 -46
  70. data/lib/selenium/devtools/v90/profiler.rb +0 -119
  71. data/lib/selenium/devtools/v90/runtime.rb +0 -192
  72. data/lib/selenium/devtools/v90/schema.rb +0 -42
  73. data/lib/selenium/devtools/v90/storage.rb +0 -101
  74. data/lib/selenium/devtools/v90/tracing.rb +0 -74
  75. data/lib/selenium/devtools/v90.rb +0 -1
  76. data/lib/selenium/devtools/v91/accessibility.rb +0 -73
  77. data/lib/selenium/devtools/v91/audits.rb +0 -62
  78. data/lib/selenium/devtools/v91/background_service.rb +0 -63
  79. data/lib/selenium/devtools/v91/css.rb +0 -175
  80. data/lib/selenium/devtools/v91/database.rb +0 -60
  81. data/lib/selenium/devtools/v91/dom.rb +0 -323
  82. data/lib/selenium/devtools/v91/dom_debugger.rb +0 -94
  83. data/lib/selenium/devtools/v91/dom_storage.rb +0 -75
  84. data/lib/selenium/devtools/v91/heap_profiler.rb +0 -103
  85. data/lib/selenium/devtools/v91/indexed_db.rb +0 -96
  86. data/lib/selenium/devtools/v91/inspector.rb +0 -51
  87. data/lib/selenium/devtools/v91/io.rb +0 -55
  88. data/lib/selenium/devtools/v91/layer_tree.rb +0 -91
  89. data/lib/selenium/devtools/v91/memory.rb +0 -82
  90. data/lib/selenium/devtools/v91/performance.rb +0 -59
  91. data/lib/selenium/devtools/v91/security.rb +0 -67
  92. data/lib/selenium/devtools/v91/service_worker.rb +0 -112
  93. data/lib/selenium/devtools/v91/system_info.rb +0 -46
  94. data/lib/selenium/devtools/v91/target.rb +0 -139
  95. data/lib/selenium/devtools/v91/tethering.rb +0 -51
  96. data/lib/selenium/devtools/v91/web_audio.rb +0 -66
  97. data/lib/selenium/devtools/v91/web_authn.rb +0 -96
  98. data/lib/selenium/devtools/v91.rb +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07a1779a4b87d9f03ef6382f5066689f8d0912fc7ba8834205a217540640f049
4
- data.tar.gz: e0e27f76be82584a1e1537197a9d6041bae10edeb1417ac3a3e5f6cd83eb6448
3
+ metadata.gz: 31e4c8a44d4454182c42c7e5ab1bddd7fc1792982f034be887c2dc79d32301e5
4
+ data.tar.gz: 34e4b431e69cd95eaa8fb3f5ae95e58125f92e01e2b2d192c7b9b0e893085896
5
5
  SHA512:
6
- metadata.gz: 7045dab94694748ff52c0e446c7b573edf40b947a9f3bb02a270408dd6f22373e5af4d0a4fa7663cf02ae66d5e2be4ad4da53a2255bece8a84cd54b68670b18b
7
- data.tar.gz: 875c29b0468cc22cc4c5e2fd914297d1787094431da6b6ff15ab69cda3a3253fe9ab0db4f6fbcb72e22fbc668829cd5ecff53b4364856fc731010b54fa3e3605
6
+ metadata.gz: efa09ff01b0ba9c4a95c604317c008cb40702a99aa84f81861d73559a3e5d909b9db88944b70a76d7afb61a930e1e3e3c141c059dcd9f9a5078dd5cc146db1ba
7
+ data.tar.gz: b1dd8a591b8ee977950c78bdf3986cc8043e47684c435dfe11f7779329d856b25c8f6813f957d631c57be05400a4dfe3ac37fa23db29ccc8db20e7ea273970bc
@@ -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 V90
23
+ module V93
24
24
  class Accessibility
25
25
 
26
26
  def initialize(devtools)
@@ -68,6 +68,6 @@ module Selenium
68
68
  end
69
69
 
70
70
  end # Accessibility
71
- end # V90
71
+ end # V93
72
72
  end # DevTools
73
73
  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 V91
23
+ module V93
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 # V91
92
+ end # V93
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 V91
23
+ module V93
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 # V91
58
+ end # V93
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 V90
23
+ module V93
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 # V90
60
+ end # V93
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 V90
23
+ module V93
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 # V90
61
+ end # V93
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 V91
23
+ module V93
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 # V91
133
+ end # V93
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 V91
23
+ module V93
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 # V91
67
+ end # V93
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 V91
23
+ module V93
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 # V91
64
+ end # V93
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 V91
23
+ module V93
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 # V91
51
+ end # V93
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 V90
23
+ module V93
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -134,6 +134,13 @@ module Selenium
134
134
  text: text)
135
135
  end
136
136
 
137
+ def set_container_query_text(style_sheet_id:, range:, text:)
138
+ @devtools.send_cmd('CSS.setContainerQueryText',
139
+ styleSheetId: style_sheet_id,
140
+ range: range,
141
+ text: text)
142
+ end
143
+
137
144
  def set_rule_selector(style_sheet_id:, range:, selector:)
138
145
  @devtools.send_cmd('CSS.setRuleSelector',
139
146
  styleSheetId: style_sheet_id,
@@ -170,6 +177,6 @@ module Selenium
170
177
  end
171
178
 
172
179
  end # CSS
173
- end # V90
180
+ end # V93
174
181
  end # DevTools
175
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 V90
23
+ module V93
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 # V90
58
+ end # V93
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 V91
23
+ module V93
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 # V91
218
+ end # V93
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 V91
23
+ module V93
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 # V91
47
+ end # V93
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 V90
23
+ module V93
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -317,7 +317,13 @@ module Selenium
317
317
  frameId: frame_id)
318
318
  end
319
319
 
320
+ def get_container_for_node(node_id:, container_name: nil)
321
+ @devtools.send_cmd('DOM.getContainerForNode',
322
+ nodeId: node_id,
323
+ containerName: container_name)
324
+ end
325
+
320
326
  end # DOM
321
- end # V90
327
+ end # V93
322
328
  end # DevTools
323
329
  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 V90
23
+ module V93
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 # V90
92
+ end # V93
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 V91
23
+ module V93
24
24
  class DOMSnapshot
25
25
 
26
26
  def initialize(devtools)
@@ -48,14 +48,16 @@ module Selenium
48
48
  includeUserAgentShadowTree: include_user_agent_shadow_tree)
49
49
  end
50
50
 
51
- def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil)
51
+ def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil, include_blended_background_colors: nil, include_text_color_opacities: nil)
52
52
  @devtools.send_cmd('DOMSnapshot.captureSnapshot',
53
53
  computedStyles: computed_styles,
54
54
  includePaintOrder: include_paint_order,
55
- includeDOMRects: include_dom_rects)
55
+ includeDOMRects: include_dom_rects,
56
+ includeBlendedBackgroundColors: include_blended_background_colors,
57
+ includeTextColorOpacities: include_text_color_opacities)
56
58
  end
57
59
 
58
60
  end # DOMSnapshot
59
- end # V91
61
+ end # V93
60
62
  end # DevTools
61
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 V90
23
+ module V93
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 # V90
73
+ end # V93
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 V91
23
+ module V93
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -187,6 +187,6 @@ module Selenium
187
187
  end
188
188
 
189
189
  end # Emulation
190
- end # V91
190
+ end # V93
191
191
  end # DevTools
192
192
  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 V91
23
+ module V93
24
24
  class Fetch
25
25
  EVENTS = {
26
26
  request_paused: 'requestPaused',
@@ -88,6 +88,6 @@ module Selenium
88
88
  end
89
89
 
90
90
  end # Fetch
91
- end # V91
91
+ end # V93
92
92
  end # DevTools
93
93
  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 V91
23
+ module V93
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 # V91
55
+ end # V93
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 V90
23
+ module V93
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -85,19 +85,21 @@ module Selenium
85
85
  @devtools.send_cmd('HeapProfiler.stopSampling')
86
86
  end
87
87
 
88
- def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil)
88
+ def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
89
89
  @devtools.send_cmd('HeapProfiler.stopTrackingHeapObjects',
90
90
  reportProgress: report_progress,
91
- treatGlobalObjectsAsRoots: treat_global_objects_as_roots)
91
+ treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
92
+ captureNumericValue: capture_numeric_value)
92
93
  end
93
94
 
94
- def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil)
95
+ def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
95
96
  @devtools.send_cmd('HeapProfiler.takeHeapSnapshot',
96
97
  reportProgress: report_progress,
97
- treatGlobalObjectsAsRoots: treat_global_objects_as_roots)
98
+ treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
99
+ captureNumericValue: capture_numeric_value)
98
100
  end
99
101
 
100
102
  end # HeapProfiler
101
- end # V90
103
+ end # V93
102
104
  end # DevTools
103
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 V90
23
+ module V93
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 # V90
94
+ end # V93
95
95
  end # DevTools
96
96
  end # Selenium