selenium-devtools 0.93.0 → 0.94.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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v92 → v94}/accessibility.rb +8 -6
  3. data/lib/selenium/devtools/{v92 → v94}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v92 → v94}/application_cache.rb +2 -2
  5. data/lib/selenium/devtools/{v92 → v94}/audits.rb +2 -2
  6. data/lib/selenium/devtools/{v92 → v94}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v92 → v94}/browser.rb +2 -2
  8. data/lib/selenium/devtools/{v92 → v94}/cache_storage.rb +2 -2
  9. data/lib/selenium/devtools/{v92 → v94}/cast.rb +2 -2
  10. data/lib/selenium/devtools/{v92 → v94}/console.rb +2 -2
  11. data/lib/selenium/devtools/{v92 → v94}/css.rb +9 -2
  12. data/lib/selenium/devtools/{v92 → v94}/database.rb +2 -2
  13. data/lib/selenium/devtools/{v92 → v94}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v92 → v94}/device_orientation.rb +2 -2
  15. data/lib/selenium/devtools/{v92 → v94}/dom.rb +13 -2
  16. data/lib/selenium/devtools/{v92 → v94}/dom_debugger.rb +2 -2
  17. data/lib/selenium/devtools/{v92 → v94}/dom_snapshot.rb +2 -2
  18. data/lib/selenium/devtools/{v92 → v94}/dom_storage.rb +2 -2
  19. data/lib/selenium/devtools/{v92 → v94}/emulation.rb +2 -2
  20. data/lib/selenium/devtools/{v92 → v94}/fetch.rb +5 -4
  21. data/lib/selenium/devtools/{v92 → v94}/headless_experimental.rb +2 -2
  22. data/lib/selenium/devtools/{v92 → v94}/heap_profiler.rb +2 -2
  23. data/lib/selenium/devtools/{v92 → v94}/indexed_db.rb +2 -2
  24. data/lib/selenium/devtools/{v92 → v94}/input.rb +11 -2
  25. data/lib/selenium/devtools/{v92 → v94}/inspector.rb +2 -2
  26. data/lib/selenium/devtools/{v92 → v94}/io.rb +2 -2
  27. data/lib/selenium/devtools/{v92 → v94}/layer_tree.rb +2 -2
  28. data/lib/selenium/devtools/{v92 → v94}/log.rb +2 -2
  29. data/lib/selenium/devtools/{v92 → v94}/media.rb +2 -2
  30. data/lib/selenium/devtools/{v92 → v94}/memory.rb +2 -2
  31. data/lib/selenium/devtools/{v92 → v94}/network.rb +7 -9
  32. data/lib/selenium/devtools/{v92 → v94}/overlay.rb +7 -2
  33. data/lib/selenium/devtools/{v92 → v94}/page.rb +7 -2
  34. data/lib/selenium/devtools/{v92 → v94}/performance.rb +2 -2
  35. data/lib/selenium/devtools/{v92 → v94}/performance_timeline.rb +2 -2
  36. data/lib/selenium/devtools/{v92 → v94}/profiler.rb +2 -2
  37. data/lib/selenium/devtools/{v92 → v94}/runtime.rb +5 -4
  38. data/lib/selenium/devtools/{v92 → v94}/schema.rb +2 -2
  39. data/lib/selenium/devtools/{v92 → v94}/security.rb +2 -2
  40. data/lib/selenium/devtools/{v92 → v94}/service_worker.rb +2 -2
  41. data/lib/selenium/devtools/{v92 → v94}/storage.rb +2 -2
  42. data/lib/selenium/devtools/{v92 → v94}/system_info.rb +2 -2
  43. data/lib/selenium/devtools/{v92 → v94}/target.rb +2 -2
  44. data/lib/selenium/devtools/{v92 → v94}/tethering.rb +2 -2
  45. data/lib/selenium/devtools/{v92 → v94}/tracing.rb +2 -2
  46. data/lib/selenium/devtools/{v92 → v94}/web_audio.rb +2 -2
  47. data/lib/selenium/devtools/{v92 → v94}/web_authn.rb +2 -2
  48. data/lib/selenium/devtools/v94.rb +1 -0
  49. data/lib/selenium/devtools/version.rb +1 -1
  50. metadata +49 -49
  51. data/lib/selenium/devtools/v92.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: 296200acaca7f4d0d1aa62cfd1779279908eb17c696ac0f2f20e4d03acc34b67
4
+ data.tar.gz: 915fcf686376de6a55a0b8d0f8d88a7034f58d36fb3bdf9e75f5f162911d22b6
5
5
  SHA512:
6
- metadata.gz: efa09ff01b0ba9c4a95c604317c008cb40702a99aa84f81861d73559a3e5d909b9db88944b70a76d7afb61a930e1e3e3c141c059dcd9f9a5078dd5cc146db1ba
7
- data.tar.gz: b1dd8a591b8ee977950c78bdf3986cc8043e47684c435dfe11f7779329d856b25c8f6813f957d631c57be05400a4dfe3ac37fa23db29ccc8db20e7ea273970bc
6
+ metadata.gz: 85b96941715d7afce84a5c8c0986c3bf9a271fff77d07af73acbc479d17fae82a0b647483faaf52fd8fbac19a62bdb7cbe504640d6acc0e6d41fb117778dd62e
7
+ data.tar.gz: c4a7a6c84c7b697d6e429e27b5a7a9d3ab4be5e1870ff4739153cdd9534112e8a8ced3104028a96ee57f36ef7755167e323d2fd896582864ae1696e0175f0ba8
@@ -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 V94
24
24
  class Accessibility
25
25
 
26
26
  def initialize(devtools)
@@ -48,14 +48,16 @@ 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(max_depth: nil, frame_id: nil)
52
52
  @devtools.send_cmd('Accessibility.getFullAXTree',
53
- max_depth: max_depth)
53
+ max_depth: max_depth,
54
+ frameId: frame_id)
54
55
  end
55
56
 
56
- def get_child_ax_nodes(id:)
57
+ def get_child_ax_nodes(id:, frame_id: nil)
57
58
  @devtools.send_cmd('Accessibility.getChildAXNodes',
58
- id: id)
59
+ id: id,
60
+ frameId: frame_id)
59
61
  end
60
62
 
61
63
  def query_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, accessible_name: nil, role: nil)
@@ -68,6 +70,6 @@ module Selenium
68
70
  end
69
71
 
70
72
  end # Accessibility
71
- end # V92
73
+ end # V94
72
74
  end # DevTools
73
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 V92
23
+ module V94
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 # V92
92
+ end # V94
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 V92
23
+ module V94
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 # V92
58
+ end # V94
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 V94
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 # V94
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 V94
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 # V94
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 V94
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 # V94
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 V92
23
+ module V94
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 # V92
67
+ end # V94
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 V92
23
+ module V94
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 # V92
64
+ end # V94
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 V92
23
+ module V94
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 # V92
51
+ end # V94
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 V94
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 # V92
180
+ end # V94
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 V92
23
+ module V94
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 # V94
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 V94
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 # V92
218
+ end # V94
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 V92
23
+ module V94
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 # V92
47
+ end # V94
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 V92
23
+ module V94
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -317,7 +317,18 @@ 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
+
326
+ def get_querying_descendants_for_container(node_id:)
327
+ @devtools.send_cmd('DOM.getQueryingDescendantsForContainer',
328
+ nodeId: node_id)
329
+ end
330
+
320
331
  end # DOM
321
- end # V92
332
+ end # V94
322
333
  end # DevTools
323
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 V94
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 # V94
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 V92
23
+ module V94
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 # V92
61
+ end # V94
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 V94
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 # V94
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 V92
23
+ module V94
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 # V92
190
+ end # V94
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 V92
23
+ module V94
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:)
@@ -88,6 +89,6 @@ module Selenium
88
89
  end
89
90
 
90
91
  end # Fetch
91
- end # V92
92
+ end # V94
92
93
  end # DevTools
93
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 V92
23
+ module V94
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 # V92
55
+ end # V94
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 V94
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 # V94
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 V94
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 # V94
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 V94
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 # V94
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 V94
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 # V94
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 V94
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 # V94
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 V94
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 # V94
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 V92
23
+ module V94
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 # V92
60
+ end # V94
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 V94
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 # V92
51
+ end # V94
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 V94
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 # V94
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 V92
23
+ module V94
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -46,6 +46,10 @@ module Selenium
46
46
  request_will_be_sent_extra_info: 'requestWillBeSentExtraInfo',
47
47
  response_received_extra_info: 'responseReceivedExtraInfo',
48
48
  trust_token_operation_done: 'trustTokenOperationDone',
49
+ subresource_web_bundle_metadata_received: 'subresourceWebBundleMetadataReceived',
50
+ subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
51
+ subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
52
+ subresource_web_bundle_inner_response_error: 'subresourceWebBundleInnerResponseError',
49
53
  }.freeze
50
54
 
51
55
  def initialize(devtools)
@@ -210,12 +214,6 @@ module Selenium
210
214
  cookies: cookies)
211
215
  end
212
216
 
213
- def set_data_size_limits_for_test(max_total_size:, max_resource_size:)
214
- @devtools.send_cmd('Network.setDataSizeLimitsForTest',
215
- maxTotalSize: max_total_size,
216
- maxResourceSize: max_resource_size)
217
- end
218
-
219
217
  def set_extra_http_headers(headers:)
220
218
  @devtools.send_cmd('Network.setExtraHTTPHeaders',
221
219
  headers: headers)
@@ -244,7 +242,7 @@ module Selenium
244
242
  frameId: frame_id)
245
243
  end
246
244
 
247
- def load_network_resource(frame_id:, url:, options:)
245
+ def load_network_resource(frame_id: nil, url:, options:)
248
246
  @devtools.send_cmd('Network.loadNetworkResource',
249
247
  frameId: frame_id,
250
248
  url: url,
@@ -252,6 +250,6 @@ module Selenium
252
250
  end
253
251
 
254
252
  end # Network
255
- end # V92
253
+ end # V94
256
254
  end # DevTools
257
255
  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 V94
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -151,6 +151,11 @@ module Selenium
151
151
  scrollSnapHighlightConfigs: scroll_snap_highlight_configs)
152
152
  end
153
153
 
154
+ def set_show_container_query_overlays(container_query_highlight_configs:)
155
+ @devtools.send_cmd('Overlay.setShowContainerQueryOverlays',
156
+ containerQueryHighlightConfigs: container_query_highlight_configs)
157
+ end
158
+
154
159
  def set_show_paint_rects(result:)
155
160
  @devtools.send_cmd('Overlay.setShowPaintRects',
156
161
  result: result)
@@ -187,6 +192,6 @@ module Selenium
187
192
  end
188
193
 
189
194
  end # Overlay
190
- end # V92
195
+ end # V94
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 V94
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -250,6 +250,11 @@ module Selenium
250
250
  frameId: frame_id)
251
251
  end
252
252
 
253
+ def get_origin_trials(frame_id:)
254
+ @devtools.send_cmd('Page.getOriginTrials',
255
+ frameId: frame_id)
256
+ end
257
+
253
258
  def set_device_metrics_override(width:, height:, device_scale_factor:, mobile:, scale: nil, screen_width: nil, screen_height: nil, position_x: nil, position_y: nil, dont_set_visible_size: nil, screen_orientation: nil, viewport: nil)
254
259
  @devtools.send_cmd('Page.setDeviceMetricsOverride',
255
260
  width: width,
@@ -379,6 +384,6 @@ module Selenium
379
384
  end
380
385
 
381
386
  end # Page
382
- end # V92
387
+ end # V94
383
388
  end # DevTools
384
389
  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 V94
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 # V92
57
+ end # V94
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 V92
23
+ module V94
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 # V92
44
+ end # V94
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 V92
23
+ module V94
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -114,6 +114,6 @@ module Selenium
114
114
  end
115
115
 
116
116
  end # Profiler
117
- end # V92
117
+ end # V94
118
118
  end # DevTools
119
119
  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 V94
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -49,7 +49,7 @@ module Selenium
49
49
  generatePreview: generate_preview)
50
50
  end
51
51
 
52
- def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil)
52
+ def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil, throw_on_side_effect: nil)
53
53
  @devtools.send_cmd('Runtime.callFunctionOn',
54
54
  functionDeclaration: function_declaration,
55
55
  objectId: object_id,
@@ -60,7 +60,8 @@ module Selenium
60
60
  userGesture: user_gesture,
61
61
  awaitPromise: await_promise,
62
62
  executionContextId: execution_context_id,
63
- objectGroup: object_group)
63
+ objectGroup: object_group,
64
+ throwOnSideEffect: throw_on_side_effect)
64
65
  end
65
66
 
66
67
  def compile_script(expression:, source_url:, persist_script:, execution_context_id: nil)
@@ -187,6 +188,6 @@ module Selenium
187
188
  end
188
189
 
189
190
  end # Runtime
190
- end # V92
191
+ end # V94
191
192
  end # DevTools
192
193
  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 V94
24
24
  class Schema
25
25
 
26
26
  def initialize(devtools)
@@ -37,6 +37,6 @@ module Selenium
37
37
  end
38
38
 
39
39
  end # Schema
40
- end # V92
40
+ end # V94
41
41
  end # DevTools
42
42
  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 V94
24
24
  class Security
25
25
  EVENTS = {
26
26
  certificate_error: 'certificateError',
@@ -62,6 +62,6 @@ module Selenium
62
62
  end
63
63
 
64
64
  end # Security
65
- end # V92
65
+ end # V94
66
66
  end # DevTools
67
67
  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 V94
24
24
  class ServiceWorker
25
25
  EVENTS = {
26
26
  worker_error_reported: 'workerErrorReported',
@@ -107,6 +107,6 @@ module Selenium
107
107
  end
108
108
 
109
109
  end # ServiceWorker
110
- end # V92
110
+ end # V94
111
111
  end # DevTools
112
112
  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 V94
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -101,6 +101,6 @@ module Selenium
101
101
  end
102
102
 
103
103
  end # Storage
104
- end # V92
104
+ end # V94
105
105
  end # DevTools
106
106
  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 V94
24
24
  class SystemInfo
25
25
 
26
26
  def initialize(devtools)
@@ -41,6 +41,6 @@ module Selenium
41
41
  end
42
42
 
43
43
  end # SystemInfo
44
- end # V92
44
+ end # V94
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 V92
23
+ module V94
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -134,6 +134,6 @@ module Selenium
134
134
  end
135
135
 
136
136
  end # Target
137
- end # V92
137
+ end # V94
138
138
  end # DevTools
139
139
  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 V94
24
24
  class Tethering
25
25
  EVENTS = {
26
26
  accepted: 'accepted',
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # Tethering
49
- end # V92
49
+ end # V94
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 V94
24
24
  class Tracing
25
25
  EVENTS = {
26
26
  buffer_usage: 'bufferUsage',
@@ -70,6 +70,6 @@ module Selenium
70
70
  end
71
71
 
72
72
  end # Tracing
73
- end # V92
73
+ end # V94
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 V92
23
+ module V94
24
24
  class WebAudio
25
25
  EVENTS = {
26
26
  context_created: 'contextCreated',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # WebAudio
64
- end # V92
64
+ end # V94
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 V92
23
+ module V94
24
24
  class WebAuthn
25
25
 
26
26
  def initialize(devtools)
@@ -91,6 +91,6 @@ module Selenium
91
91
  end
92
92
 
93
93
  end # WebAuthn
94
- end # V92
94
+ end # V94
95
95
  end # DevTools
96
96
  end # Selenium
@@ -0,0 +1 @@
1
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v94/*", &method(:require))
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module DevTools
22
- VERSION = '0.93.0'
22
+ VERSION = '0.94.0'
23
23
  end # DevTools
24
24
  end # Selenium
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-devtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.0
4
+ version: 0.94.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-09-01 00:00:00.000000000 Z
13
+ date: 2021-09-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: websocket
@@ -87,53 +87,6 @@ files:
87
87
  - lib/selenium/devtools/v85/tracing.rb
88
88
  - lib/selenium/devtools/v85/web_audio.rb
89
89
  - lib/selenium/devtools/v85/web_authn.rb
90
- - lib/selenium/devtools/v92.rb
91
- - lib/selenium/devtools/v92/accessibility.rb
92
- - lib/selenium/devtools/v92/animation.rb
93
- - lib/selenium/devtools/v92/application_cache.rb
94
- - lib/selenium/devtools/v92/audits.rb
95
- - lib/selenium/devtools/v92/background_service.rb
96
- - lib/selenium/devtools/v92/browser.rb
97
- - lib/selenium/devtools/v92/cache_storage.rb
98
- - lib/selenium/devtools/v92/cast.rb
99
- - lib/selenium/devtools/v92/console.rb
100
- - lib/selenium/devtools/v92/css.rb
101
- - lib/selenium/devtools/v92/database.rb
102
- - lib/selenium/devtools/v92/debugger.rb
103
- - lib/selenium/devtools/v92/device_orientation.rb
104
- - lib/selenium/devtools/v92/dom.rb
105
- - lib/selenium/devtools/v92/dom_debugger.rb
106
- - lib/selenium/devtools/v92/dom_snapshot.rb
107
- - lib/selenium/devtools/v92/dom_storage.rb
108
- - lib/selenium/devtools/v92/emulation.rb
109
- - lib/selenium/devtools/v92/fetch.rb
110
- - lib/selenium/devtools/v92/headless_experimental.rb
111
- - lib/selenium/devtools/v92/heap_profiler.rb
112
- - lib/selenium/devtools/v92/indexed_db.rb
113
- - lib/selenium/devtools/v92/input.rb
114
- - lib/selenium/devtools/v92/inspector.rb
115
- - lib/selenium/devtools/v92/io.rb
116
- - lib/selenium/devtools/v92/layer_tree.rb
117
- - lib/selenium/devtools/v92/log.rb
118
- - lib/selenium/devtools/v92/media.rb
119
- - lib/selenium/devtools/v92/memory.rb
120
- - lib/selenium/devtools/v92/network.rb
121
- - lib/selenium/devtools/v92/overlay.rb
122
- - lib/selenium/devtools/v92/page.rb
123
- - lib/selenium/devtools/v92/performance.rb
124
- - lib/selenium/devtools/v92/performance_timeline.rb
125
- - lib/selenium/devtools/v92/profiler.rb
126
- - lib/selenium/devtools/v92/runtime.rb
127
- - lib/selenium/devtools/v92/schema.rb
128
- - lib/selenium/devtools/v92/security.rb
129
- - lib/selenium/devtools/v92/service_worker.rb
130
- - lib/selenium/devtools/v92/storage.rb
131
- - lib/selenium/devtools/v92/system_info.rb
132
- - lib/selenium/devtools/v92/target.rb
133
- - lib/selenium/devtools/v92/tethering.rb
134
- - lib/selenium/devtools/v92/tracing.rb
135
- - lib/selenium/devtools/v92/web_audio.rb
136
- - lib/selenium/devtools/v92/web_authn.rb
137
90
  - lib/selenium/devtools/v93.rb
138
91
  - lib/selenium/devtools/v93/accessibility.rb
139
92
  - lib/selenium/devtools/v93/animation.rb
@@ -181,6 +134,53 @@ files:
181
134
  - lib/selenium/devtools/v93/tracing.rb
182
135
  - lib/selenium/devtools/v93/web_audio.rb
183
136
  - lib/selenium/devtools/v93/web_authn.rb
137
+ - lib/selenium/devtools/v94.rb
138
+ - lib/selenium/devtools/v94/accessibility.rb
139
+ - lib/selenium/devtools/v94/animation.rb
140
+ - lib/selenium/devtools/v94/application_cache.rb
141
+ - lib/selenium/devtools/v94/audits.rb
142
+ - lib/selenium/devtools/v94/background_service.rb
143
+ - lib/selenium/devtools/v94/browser.rb
144
+ - lib/selenium/devtools/v94/cache_storage.rb
145
+ - lib/selenium/devtools/v94/cast.rb
146
+ - lib/selenium/devtools/v94/console.rb
147
+ - lib/selenium/devtools/v94/css.rb
148
+ - lib/selenium/devtools/v94/database.rb
149
+ - lib/selenium/devtools/v94/debugger.rb
150
+ - lib/selenium/devtools/v94/device_orientation.rb
151
+ - lib/selenium/devtools/v94/dom.rb
152
+ - lib/selenium/devtools/v94/dom_debugger.rb
153
+ - lib/selenium/devtools/v94/dom_snapshot.rb
154
+ - lib/selenium/devtools/v94/dom_storage.rb
155
+ - lib/selenium/devtools/v94/emulation.rb
156
+ - lib/selenium/devtools/v94/fetch.rb
157
+ - lib/selenium/devtools/v94/headless_experimental.rb
158
+ - lib/selenium/devtools/v94/heap_profiler.rb
159
+ - lib/selenium/devtools/v94/indexed_db.rb
160
+ - lib/selenium/devtools/v94/input.rb
161
+ - lib/selenium/devtools/v94/inspector.rb
162
+ - lib/selenium/devtools/v94/io.rb
163
+ - lib/selenium/devtools/v94/layer_tree.rb
164
+ - lib/selenium/devtools/v94/log.rb
165
+ - lib/selenium/devtools/v94/media.rb
166
+ - lib/selenium/devtools/v94/memory.rb
167
+ - lib/selenium/devtools/v94/network.rb
168
+ - lib/selenium/devtools/v94/overlay.rb
169
+ - lib/selenium/devtools/v94/page.rb
170
+ - lib/selenium/devtools/v94/performance.rb
171
+ - lib/selenium/devtools/v94/performance_timeline.rb
172
+ - lib/selenium/devtools/v94/profiler.rb
173
+ - lib/selenium/devtools/v94/runtime.rb
174
+ - lib/selenium/devtools/v94/schema.rb
175
+ - lib/selenium/devtools/v94/security.rb
176
+ - lib/selenium/devtools/v94/service_worker.rb
177
+ - lib/selenium/devtools/v94/storage.rb
178
+ - lib/selenium/devtools/v94/system_info.rb
179
+ - lib/selenium/devtools/v94/target.rb
180
+ - lib/selenium/devtools/v94/tethering.rb
181
+ - lib/selenium/devtools/v94/tracing.rb
182
+ - lib/selenium/devtools/v94/web_audio.rb
183
+ - lib/selenium/devtools/v94/web_authn.rb
184
184
  - lib/selenium/devtools/version.rb
185
185
  - selenium-devtools.gemspec
186
186
  homepage: https://selenium.dev
@@ -1 +0,0 @@
1
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v92/*", &method(:require))