selenium-devtools 0.123.0 → 0.124.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v121 → v124}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v121 → v124}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v121 → v124}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v121 → v124}/autofill.rb +2 -2
  6. data/lib/selenium/devtools/{v121 → v124}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v121 → v124}/browser.rb +2 -2
  8. data/lib/selenium/devtools/{v121 → v124}/cache_storage.rb +2 -2
  9. data/lib/selenium/devtools/{v121 → v124}/cast.rb +2 -2
  10. data/lib/selenium/devtools/{v121 → v124}/console.rb +2 -2
  11. data/lib/selenium/devtools/{v121 → v124}/css.rb +14 -6
  12. data/lib/selenium/devtools/{v121 → v124}/database.rb +2 -2
  13. data/lib/selenium/devtools/{v121 → v124}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v121 → v124}/device_access.rb +2 -2
  15. data/lib/selenium/devtools/{v121 → v124}/device_orientation.rb +2 -2
  16. data/lib/selenium/devtools/{v121 → v124}/dom.rb +2 -2
  17. data/lib/selenium/devtools/{v121 → v124}/dom_debugger.rb +2 -2
  18. data/lib/selenium/devtools/{v121 → v124}/dom_snapshot.rb +2 -2
  19. data/lib/selenium/devtools/{v121 → v124}/dom_storage.rb +2 -2
  20. data/lib/selenium/devtools/{v121 → v124}/emulation.rb +2 -2
  21. data/lib/selenium/devtools/{v121 → v124}/event_breakpoints.rb +2 -2
  22. data/lib/selenium/devtools/{v121 → v124}/fed_cm.rb +9 -2
  23. data/lib/selenium/devtools/{v121 → v124}/fetch.rb +2 -2
  24. data/lib/selenium/devtools/{v121 → v124}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v121 → v124}/heap_profiler.rb +2 -2
  26. data/lib/selenium/devtools/{v121 → v124}/indexed_db.rb +2 -2
  27. data/lib/selenium/devtools/{v121 → v124}/input.rb +2 -2
  28. data/lib/selenium/devtools/{v121 → v124}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v121 → v124}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v121 → v124}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v121 → v124}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v121 → v124}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v121 → v124}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v121 → v124}/network.rb +15 -6
  35. data/lib/selenium/devtools/{v121 → v124}/overlay.rb +2 -2
  36. data/lib/selenium/devtools/{v121 → v124}/page.rb +2 -2
  37. data/lib/selenium/devtools/{v121 → v124}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v121 → v124}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v121 → v124}/preload.rb +2 -2
  40. data/lib/selenium/devtools/{v121 → v124}/profiler.rb +2 -2
  41. data/lib/selenium/devtools/{v121 → v124}/runtime.rb +2 -2
  42. data/lib/selenium/devtools/{v121 → v124}/schema.rb +2 -2
  43. data/lib/selenium/devtools/{v121 → v124}/security.rb +2 -2
  44. data/lib/selenium/devtools/{v121 → v124}/service_worker.rb +2 -2
  45. data/lib/selenium/devtools/{v121 → v124}/storage.rb +14 -2
  46. data/lib/selenium/devtools/{v121 → v124}/system_info.rb +2 -2
  47. data/lib/selenium/devtools/{v121 → v124}/target.rb +2 -2
  48. data/lib/selenium/devtools/{v121 → v124}/tethering.rb +2 -2
  49. data/lib/selenium/devtools/{v121 → v124}/tracing.rb +2 -2
  50. data/lib/selenium/devtools/{v121 → v124}/web_audio.rb +2 -2
  51. data/lib/selenium/devtools/{v121 → v124}/web_authn.rb +10 -2
  52. data/lib/selenium/devtools/{v121.rb → v124.rb} +3 -3
  53. data/lib/selenium/devtools/version.rb +1 -1
  54. metadata +56 -56
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58e747281f6462d10982fe9666a77db962075c170737777071aa738ec7d10e77
4
- data.tar.gz: f65d1c610d308d846c6520da2cdef605762159a2b03fce2bb006d581864943af
3
+ metadata.gz: 8087aa17a059d859faad09579a9813adb49c4410541f8cc48b49e7dded29f7b5
4
+ data.tar.gz: 6e7214d875c0ba7adeb3d8b0b1e2bdbf1d1805c84b7e7ba349f0b069731c0967
5
5
  SHA512:
6
- metadata.gz: e565728fe3d242b1c9699c5e9139749cf4719e48cea45a489883f9babb65fed63a2a8c203714af39cea04a4ad1458d7a4d01bcc73b6d4b26c89aad526d242c8f
7
- data.tar.gz: af41323d66a999bb9c0aa37479c034b40a7a25e5c362466569c39ce1e1cceb514ccd0fcf41d46c778c1d9c90b9bc6d455a6c368680375eb4f16fca9f468848c7
6
+ metadata.gz: c70abddeb80971cf2b7ee06802347b6012882dcded4c904fb09613528e251703f4c1cfd8479b0e640af1860b11e70f3ef611253f8df064475781afe81b1a2067
7
+ data.tar.gz: aabe89b07ce42fd0bd61680386947fae19c057f6fd47ec05a0550aa988bb862a0816a3cdcec68c1edff09a602dba22741ae008fcf791b641278701481b9557a9
@@ -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 V121
23
+ module V124
24
24
  class Accessibility
25
25
  EVENTS = {
26
26
  load_complete: 'loadComplete',
@@ -86,6 +86,6 @@ module Selenium
86
86
  end
87
87
 
88
88
  end # Accessibility
89
- end # V121
89
+ end # V124
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 V121
23
+ module V124
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 # V121
92
+ end # V124
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 V121
23
+ module V124
24
24
  class Audits
25
25
  EVENTS = {
26
26
  issue_added: 'issueAdded',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # Audits
64
- end # V121
64
+ end # V124
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 V121
23
+ module V124
24
24
  class Autofill
25
25
  EVENTS = {
26
26
  address_form_filled: 'addressFormFilled',
@@ -56,6 +56,6 @@ module Selenium
56
56
  end
57
57
 
58
58
  end # Autofill
59
- end # V121
59
+ end # V124
60
60
  end # DevTools
61
61
  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 V121
23
+ module V124
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 # V121
61
+ end # V124
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 V121
23
+ module V124
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -135,6 +135,6 @@ module Selenium
135
135
  end
136
136
 
137
137
  end # Browser
138
- end # V121
138
+ end # V124
139
139
  end # DevTools
140
140
  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 V121
23
+ module V124
24
24
  class CacheStorage
25
25
 
26
26
  def initialize(devtools)
@@ -66,6 +66,6 @@ module Selenium
66
66
  end
67
67
 
68
68
  end # CacheStorage
69
- end # V121
69
+ end # V124
70
70
  end # DevTools
71
71
  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 V121
23
+ module V124
24
24
  class Cast
25
25
  EVENTS = {
26
26
  sinks_updated: 'sinksUpdated',
@@ -66,6 +66,6 @@ module Selenium
66
66
  end
67
67
 
68
68
  end # Cast
69
- end # V121
69
+ end # V124
70
70
  end # DevTools
71
71
  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 V121
23
+ module V124
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 # V121
51
+ end # V124
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 V121
23
+ module V124
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -39,11 +39,12 @@ module Selenium
39
39
  @devtools.callbacks["CSS.#{event}"] << block
40
40
  end
41
41
 
42
- def add_rule(style_sheet_id:, rule_text:, location:)
42
+ def add_rule(style_sheet_id:, rule_text:, location:, node_for_property_syntax_validation: nil)
43
43
  @devtools.send_cmd('CSS.addRule',
44
44
  styleSheetId: style_sheet_id,
45
45
  ruleText: rule_text,
46
- location: location)
46
+ location: location,
47
+ nodeForPropertySyntaxValidation: node_for_property_syntax_validation)
47
48
  end
48
49
 
49
50
  def collect_class_names(style_sheet_id:)
@@ -109,6 +110,12 @@ module Selenium
109
110
  nodeId: node_id)
110
111
  end
111
112
 
113
+ def get_location_for_selector(style_sheet_id:, selector_text:)
114
+ @devtools.send_cmd('CSS.getLocationForSelector',
115
+ styleSheetId: style_sheet_id,
116
+ selectorText: selector_text)
117
+ end
118
+
112
119
  def track_computed_style_updates(properties_to_track:)
113
120
  @devtools.send_cmd('CSS.trackComputedStyleUpdates',
114
121
  propertiesToTrack: properties_to_track)
@@ -180,9 +187,10 @@ module Selenium
180
187
  text: text)
181
188
  end
182
189
 
183
- def set_style_texts(edits:)
190
+ def set_style_texts(edits:, node_for_property_syntax_validation: nil)
184
191
  @devtools.send_cmd('CSS.setStyleTexts',
185
- edits: edits)
192
+ edits: edits,
193
+ nodeForPropertySyntaxValidation: node_for_property_syntax_validation)
186
194
  end
187
195
 
188
196
  def start_rule_usage_tracking
@@ -203,6 +211,6 @@ module Selenium
203
211
  end
204
212
 
205
213
  end # CSS
206
- end # V121
214
+ end # V124
207
215
  end # DevTools
208
216
  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 V121
23
+ module V124
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 # V121
58
+ end # V124
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 V121
23
+ module V124
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -227,6 +227,6 @@ module Selenium
227
227
  end
228
228
 
229
229
  end # Debugger
230
- end # V121
230
+ end # V124
231
231
  end # DevTools
232
232
  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 V121
23
+ module V124
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 # V121
58
+ end # V124
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 V121
23
+ module V124
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 # V121
47
+ end # V124
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 V121
23
+ module V124
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -337,6 +337,6 @@ module Selenium
337
337
  end
338
338
 
339
339
  end # DOM
340
- end # V121
340
+ end # V124
341
341
  end # DevTools
342
342
  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 V121
23
+ module V124
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 # V121
92
+ end # V124
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 V121
23
+ module V124
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 # V121
61
+ end # V124
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 V121
23
+ module V124
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 # V121
73
+ end # V124
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 V121
23
+ module V124
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -220,6 +220,6 @@ module Selenium
220
220
  end
221
221
 
222
222
  end # Emulation
223
- end # V121
223
+ end # V124
224
224
  end # DevTools
225
225
  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 V121
23
+ module V124
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 # V121
50
+ end # V124
51
51
  end # DevTools
52
52
  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 V121
23
+ module V124
24
24
  class FedCm
25
25
  EVENTS = {
26
26
  dialog_shown: 'dialogShown',
@@ -57,6 +57,13 @@ module Selenium
57
57
  dialogButton: dialog_button)
58
58
  end
59
59
 
60
+ def open_url(dialog_id:, account_index:, account_url_type:)
61
+ @devtools.send_cmd('FedCm.openUrl',
62
+ dialogId: dialog_id,
63
+ accountIndex: account_index,
64
+ accountUrlType: account_url_type)
65
+ end
66
+
60
67
  def dismiss_dialog(dialog_id:, trigger_cooldown: nil)
61
68
  @devtools.send_cmd('FedCm.dismissDialog',
62
69
  dialogId: dialog_id,
@@ -68,6 +75,6 @@ module Selenium
68
75
  end
69
76
 
70
77
  end # FedCm
71
- end # V121
78
+ end # V124
72
79
  end # DevTools
73
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 V121
23
+ module V124
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 # V121
101
+ end # V124
102
102
  end # DevTools
103
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 V121
23
+ module V124
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 # V121
52
+ end # V124
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 V121
23
+ module V124
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 # V121
107
+ end # V124
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 V121
23
+ module V124
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 # V121
108
+ end # V124
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 V121
23
+ module V124
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 # V121
170
+ end # V124
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 V121
23
+ module V124
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 # V121
49
+ end # V124
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 V121
23
+ module V124
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 # V121
53
+ end # V124
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 V121
23
+ module V124
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 # V121
89
+ end # V124
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 V121
23
+ module V124
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 # V121
60
+ end # V124
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 V121
23
+ module V124
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 # V121
51
+ end # V124
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 V121
23
+ module V124
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 # V121
80
+ end # V124
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 V121
23
+ module V124
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -105,25 +105,29 @@ module Selenium
105
105
  authChallengeResponse: auth_challenge_response)
106
106
  end
107
107
 
108
- def delete_cookies(name:, url: nil, domain: nil, path: nil)
108
+ def delete_cookies(name:, url: nil, domain: nil, path: nil, partition_key: nil)
109
109
  @devtools.send_cmd('Network.deleteCookies',
110
110
  name: name,
111
111
  url: url,
112
112
  domain: domain,
113
- path: path)
113
+ path: path,
114
+ partitionKey: partition_key)
114
115
  end
115
116
 
116
117
  def disable
117
118
  @devtools.send_cmd('Network.disable')
118
119
  end
119
120
 
120
- def emulate_network_conditions(offline:, latency:, download_throughput:, upload_throughput:, connection_type: nil)
121
+ def emulate_network_conditions(offline:, latency:, download_throughput:, upload_throughput:, connection_type: nil, packet_loss: nil, packet_queue_length: nil, packet_reordering: nil)
121
122
  @devtools.send_cmd('Network.emulateNetworkConditions',
122
123
  offline: offline,
123
124
  latency: latency,
124
125
  downloadThroughput: download_throughput,
125
126
  uploadThroughput: upload_throughput,
126
- connectionType: connection_type)
127
+ connectionType: connection_type,
128
+ packetLoss: packet_loss,
129
+ packetQueueLength: packet_queue_length,
130
+ packetReordering: packet_reordering)
127
131
  end
128
132
 
129
133
  def enable(max_total_buffer_size: nil, max_resource_buffer_size: nil, max_post_data_size: nil)
@@ -241,6 +245,11 @@ module Selenium
241
245
  userAgentMetadata: user_agent_metadata)
242
246
  end
243
247
 
248
+ def stream_resource_content(request_id:)
249
+ @devtools.send_cmd('Network.streamResourceContent',
250
+ requestId: request_id)
251
+ end
252
+
244
253
  def get_security_isolation_status(frame_id: nil)
245
254
  @devtools.send_cmd('Network.getSecurityIsolationStatus',
246
255
  frameId: frame_id)
@@ -259,6 +268,6 @@ module Selenium
259
268
  end
260
269
 
261
270
  end # Network
262
- end # V121
271
+ end # V124
263
272
  end # DevTools
264
273
  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 V121
23
+ module V124
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 # V121
205
+ end # V124
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 V121
23
+ module V124
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -403,6 +403,6 @@ module Selenium
403
403
  end
404
404
 
405
405
  end # Page
406
- end # V121
406
+ end # V124
407
407
  end # DevTools
408
408
  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 V121
23
+ module V124
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 # V121
57
+ end # V124
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 V121
23
+ module V124
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 # V121
44
+ end # V124
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 V121
23
+ module V124
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 # V121
52
+ end # V124
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 V121
23
+ module V124
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -78,6 +78,6 @@ module Selenium
78
78
  end
79
79
 
80
80
  end # Profiler
81
- end # V121
81
+ end # V124
82
82
  end # DevTools
83
83
  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 V121
23
+ module V124
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -197,6 +197,6 @@ module Selenium
197
197
  end
198
198
 
199
199
  end # Runtime
200
- end # V121
200
+ end # V124
201
201
  end # DevTools
202
202
  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 V121
23
+ module V124
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 # V121
40
+ end # V124
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 V121
23
+ module V124
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 # V121
65
+ end # V124
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 V121
23
+ module V124
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 # V121
110
+ end # V124
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 V121
23
+ module V124
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -28,10 +28,13 @@ module Selenium
28
28
  indexed_db_content_updated: 'indexedDBContentUpdated',
29
29
  indexed_db_list_updated: 'indexedDBListUpdated',
30
30
  interest_group_accessed: 'interestGroupAccessed',
31
+ interest_group_auction_event_occurred: 'interestGroupAuctionEventOccurred',
32
+ interest_group_auction_network_request_created: 'interestGroupAuctionNetworkRequestCreated',
31
33
  shared_storage_accessed: 'sharedStorageAccessed',
32
34
  storage_bucket_created_or_updated: 'storageBucketCreatedOrUpdated',
33
35
  storage_bucket_deleted: 'storageBucketDeleted',
34
36
  attribution_reporting_source_registered: 'attributionReportingSourceRegistered',
37
+ attribution_reporting_trigger_registered: 'attributionReportingTriggerRegistered',
35
38
  }.freeze
36
39
 
37
40
  def initialize(devtools)
@@ -147,6 +150,11 @@ module Selenium
147
150
  enable: enable)
148
151
  end
149
152
 
153
+ def set_interest_group_auction_tracking(enable:)
154
+ @devtools.send_cmd('Storage.setInterestGroupAuctionTracking',
155
+ enable: enable)
156
+ end
157
+
150
158
  def get_shared_storage_metadata(owner_origin:)
151
159
  @devtools.send_cmd('Storage.getSharedStorageMetadata',
152
160
  ownerOrigin: owner_origin)
@@ -211,7 +219,11 @@ module Selenium
211
219
  enable: enable)
212
220
  end
213
221
 
222
+ def get_related_website_sets
223
+ @devtools.send_cmd('Storage.getRelatedWebsiteSets')
224
+ end
225
+
214
226
  end # Storage
215
- end # V121
227
+ end # V124
216
228
  end # DevTools
217
229
  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 V121
23
+ module V124
24
24
  class SystemInfo
25
25
 
26
26
  def initialize(devtools)
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # SystemInfo
49
- end # V121
49
+ end # V124
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 V121
23
+ module V124
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -146,6 +146,6 @@ module Selenium
146
146
  end
147
147
 
148
148
  end # Target
149
- end # V121
149
+ end # V124
150
150
  end # DevTools
151
151
  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 V121
23
+ module V124
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 # V121
49
+ end # V124
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 V121
23
+ module V124
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 # V121
73
+ end # V124
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 V121
23
+ module V124
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 # V121
64
+ end # V124
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 V121
23
+ module V124
24
24
  class WebAuthn
25
25
  EVENTS = {
26
26
  credential_added: 'credentialAdded',
@@ -103,7 +103,15 @@ module Selenium
103
103
  enabled: enabled)
104
104
  end
105
105
 
106
+ def set_credential_properties(authenticator_id:, credential_id:, backup_eligibility: nil, backup_state: nil)
107
+ @devtools.send_cmd('WebAuthn.setCredentialProperties',
108
+ authenticatorId: authenticator_id,
109
+ credentialId: credential_id,
110
+ backupEligibility: backup_eligibility,
111
+ backupState: backup_state)
112
+ end
113
+
106
114
  end # WebAuthn
107
- end # V121
115
+ end # V124
108
116
  end # DevTools
109
117
  end # Selenium
@@ -19,11 +19,11 @@
19
19
 
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
 
22
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v121/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v124/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V121
26
+ module V124
27
27
  METHODS_TO_CLASSES = {
28
28
  accessibility: 'Accessibility',
29
29
  animation: 'Animation',
@@ -76,6 +76,6 @@ module Selenium
76
76
  runtime: 'Runtime',
77
77
  schema: 'Schema',
78
78
  }.freeze
79
- end # V121
79
+ end # V124
80
80
  end # DevTools
81
81
  end # Selenium
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module DevTools
22
- VERSION = '0.123.0'
22
+ VERSION = '0.124.0'
23
23
  end # DevTools
24
24
  end # Selenium
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-devtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.123.0
4
+ version: 0.124.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
8
8
  - Titus Fortner
9
9
  - Thomas Walpole
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-03-27 00:00:00.000000000 Z
13
+ date: 2024-04-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: selenium-webdriver
@@ -41,57 +41,6 @@ files:
41
41
  - LICENSE
42
42
  - NOTICE
43
43
  - lib/selenium/devtools.rb
44
- - lib/selenium/devtools/v121.rb
45
- - lib/selenium/devtools/v121/accessibility.rb
46
- - lib/selenium/devtools/v121/animation.rb
47
- - lib/selenium/devtools/v121/audits.rb
48
- - lib/selenium/devtools/v121/autofill.rb
49
- - lib/selenium/devtools/v121/background_service.rb
50
- - lib/selenium/devtools/v121/browser.rb
51
- - lib/selenium/devtools/v121/cache_storage.rb
52
- - lib/selenium/devtools/v121/cast.rb
53
- - lib/selenium/devtools/v121/console.rb
54
- - lib/selenium/devtools/v121/css.rb
55
- - lib/selenium/devtools/v121/database.rb
56
- - lib/selenium/devtools/v121/debugger.rb
57
- - lib/selenium/devtools/v121/device_access.rb
58
- - lib/selenium/devtools/v121/device_orientation.rb
59
- - lib/selenium/devtools/v121/dom.rb
60
- - lib/selenium/devtools/v121/dom_debugger.rb
61
- - lib/selenium/devtools/v121/dom_snapshot.rb
62
- - lib/selenium/devtools/v121/dom_storage.rb
63
- - lib/selenium/devtools/v121/emulation.rb
64
- - lib/selenium/devtools/v121/event_breakpoints.rb
65
- - lib/selenium/devtools/v121/fed_cm.rb
66
- - lib/selenium/devtools/v121/fetch.rb
67
- - lib/selenium/devtools/v121/headless_experimental.rb
68
- - lib/selenium/devtools/v121/heap_profiler.rb
69
- - lib/selenium/devtools/v121/indexed_db.rb
70
- - lib/selenium/devtools/v121/input.rb
71
- - lib/selenium/devtools/v121/inspector.rb
72
- - lib/selenium/devtools/v121/io.rb
73
- - lib/selenium/devtools/v121/layer_tree.rb
74
- - lib/selenium/devtools/v121/log.rb
75
- - lib/selenium/devtools/v121/media.rb
76
- - lib/selenium/devtools/v121/memory.rb
77
- - lib/selenium/devtools/v121/network.rb
78
- - lib/selenium/devtools/v121/overlay.rb
79
- - lib/selenium/devtools/v121/page.rb
80
- - lib/selenium/devtools/v121/performance.rb
81
- - lib/selenium/devtools/v121/performance_timeline.rb
82
- - lib/selenium/devtools/v121/preload.rb
83
- - lib/selenium/devtools/v121/profiler.rb
84
- - lib/selenium/devtools/v121/runtime.rb
85
- - lib/selenium/devtools/v121/schema.rb
86
- - lib/selenium/devtools/v121/security.rb
87
- - lib/selenium/devtools/v121/service_worker.rb
88
- - lib/selenium/devtools/v121/storage.rb
89
- - lib/selenium/devtools/v121/system_info.rb
90
- - lib/selenium/devtools/v121/target.rb
91
- - lib/selenium/devtools/v121/tethering.rb
92
- - lib/selenium/devtools/v121/tracing.rb
93
- - lib/selenium/devtools/v121/web_audio.rb
94
- - lib/selenium/devtools/v121/web_authn.rb
95
44
  - lib/selenium/devtools/v122.rb
96
45
  - lib/selenium/devtools/v122/accessibility.rb
97
46
  - lib/selenium/devtools/v122/animation.rb
@@ -194,6 +143,57 @@ files:
194
143
  - lib/selenium/devtools/v123/tracing.rb
195
144
  - lib/selenium/devtools/v123/web_audio.rb
196
145
  - lib/selenium/devtools/v123/web_authn.rb
146
+ - lib/selenium/devtools/v124.rb
147
+ - lib/selenium/devtools/v124/accessibility.rb
148
+ - lib/selenium/devtools/v124/animation.rb
149
+ - lib/selenium/devtools/v124/audits.rb
150
+ - lib/selenium/devtools/v124/autofill.rb
151
+ - lib/selenium/devtools/v124/background_service.rb
152
+ - lib/selenium/devtools/v124/browser.rb
153
+ - lib/selenium/devtools/v124/cache_storage.rb
154
+ - lib/selenium/devtools/v124/cast.rb
155
+ - lib/selenium/devtools/v124/console.rb
156
+ - lib/selenium/devtools/v124/css.rb
157
+ - lib/selenium/devtools/v124/database.rb
158
+ - lib/selenium/devtools/v124/debugger.rb
159
+ - lib/selenium/devtools/v124/device_access.rb
160
+ - lib/selenium/devtools/v124/device_orientation.rb
161
+ - lib/selenium/devtools/v124/dom.rb
162
+ - lib/selenium/devtools/v124/dom_debugger.rb
163
+ - lib/selenium/devtools/v124/dom_snapshot.rb
164
+ - lib/selenium/devtools/v124/dom_storage.rb
165
+ - lib/selenium/devtools/v124/emulation.rb
166
+ - lib/selenium/devtools/v124/event_breakpoints.rb
167
+ - lib/selenium/devtools/v124/fed_cm.rb
168
+ - lib/selenium/devtools/v124/fetch.rb
169
+ - lib/selenium/devtools/v124/headless_experimental.rb
170
+ - lib/selenium/devtools/v124/heap_profiler.rb
171
+ - lib/selenium/devtools/v124/indexed_db.rb
172
+ - lib/selenium/devtools/v124/input.rb
173
+ - lib/selenium/devtools/v124/inspector.rb
174
+ - lib/selenium/devtools/v124/io.rb
175
+ - lib/selenium/devtools/v124/layer_tree.rb
176
+ - lib/selenium/devtools/v124/log.rb
177
+ - lib/selenium/devtools/v124/media.rb
178
+ - lib/selenium/devtools/v124/memory.rb
179
+ - lib/selenium/devtools/v124/network.rb
180
+ - lib/selenium/devtools/v124/overlay.rb
181
+ - lib/selenium/devtools/v124/page.rb
182
+ - lib/selenium/devtools/v124/performance.rb
183
+ - lib/selenium/devtools/v124/performance_timeline.rb
184
+ - lib/selenium/devtools/v124/preload.rb
185
+ - lib/selenium/devtools/v124/profiler.rb
186
+ - lib/selenium/devtools/v124/runtime.rb
187
+ - lib/selenium/devtools/v124/schema.rb
188
+ - lib/selenium/devtools/v124/security.rb
189
+ - lib/selenium/devtools/v124/service_worker.rb
190
+ - lib/selenium/devtools/v124/storage.rb
191
+ - lib/selenium/devtools/v124/system_info.rb
192
+ - lib/selenium/devtools/v124/target.rb
193
+ - lib/selenium/devtools/v124/tethering.rb
194
+ - lib/selenium/devtools/v124/tracing.rb
195
+ - lib/selenium/devtools/v124/web_audio.rb
196
+ - lib/selenium/devtools/v124/web_authn.rb
197
197
  - lib/selenium/devtools/v85.rb
198
198
  - lib/selenium/devtools/v85/accessibility.rb
199
199
  - lib/selenium/devtools/v85/animation.rb
@@ -250,7 +250,7 @@ metadata:
250
250
  github_repo: ssh://github.com/SeleniumHQ/selenium
251
251
  source_code_uri: https://github.com/SeleniumHQ/selenium/tree/trunk/rb
252
252
  rubygems_mfa_required: 'true'
253
- post_install_message:
253
+ post_install_message:
254
254
  rdoc_options: []
255
255
  require_paths:
256
256
  - lib
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
266
  version: 1.3.1
267
267
  requirements: []
268
268
  rubygems_version: 3.2.33
269
- signing_key:
269
+ signing_key:
270
270
  specification_version: 4
271
271
  summary: DevTools Code for use with Selenium
272
272
  test_files: []