selenium-devtools 0.124.0 → 0.126.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v123 → v125}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v123 → v125}/animation.rb +3 -2
  4. data/lib/selenium/devtools/{v123 → v125}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v122 → v125}/autofill.rb +2 -2
  6. data/lib/selenium/devtools/{v123 → v125}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v123 → v125}/browser.rb +2 -2
  8. data/lib/selenium/devtools/{v123 → v125}/cache_storage.rb +2 -2
  9. data/lib/selenium/devtools/{v123 → v125}/cast.rb +2 -2
  10. data/lib/selenium/devtools/{v123 → v125}/console.rb +2 -2
  11. data/lib/selenium/devtools/{v123 → v125}/css.rb +8 -2
  12. data/lib/selenium/devtools/{v122 → v125}/database.rb +2 -2
  13. data/lib/selenium/devtools/{v123 → v125}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v123 → v125}/device_access.rb +2 -2
  15. data/lib/selenium/devtools/{v123 → v125}/device_orientation.rb +2 -2
  16. data/lib/selenium/devtools/{v123 → v125}/dom.rb +2 -2
  17. data/lib/selenium/devtools/{v122 → v125}/dom_debugger.rb +2 -2
  18. data/lib/selenium/devtools/{v122 → v125}/dom_snapshot.rb +2 -2
  19. data/lib/selenium/devtools/{v122 → v125}/dom_storage.rb +2 -2
  20. data/lib/selenium/devtools/{v123 → v125}/emulation.rb +11 -2
  21. data/lib/selenium/devtools/{v122 → v125}/event_breakpoints.rb +2 -2
  22. data/lib/selenium/devtools/{v123 → v125}/fed_cm.rb +2 -2
  23. data/lib/selenium/devtools/{v122 → v125}/fetch.rb +2 -2
  24. data/lib/selenium/devtools/{v122 → v125}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v123 → v125}/heap_profiler.rb +2 -2
  26. data/lib/selenium/devtools/{v122 → v125}/indexed_db.rb +2 -2
  27. data/lib/selenium/devtools/{v122 → v125}/input.rb +2 -2
  28. data/lib/selenium/devtools/{v123 → v125}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v123 → v125}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v123 → v125}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v122 → v125}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v122 → v125}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v123 → v125}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v123 → v125}/network.rb +8 -4
  35. data/lib/selenium/devtools/{v122 → v125}/overlay.rb +2 -2
  36. data/lib/selenium/devtools/{v122 → v125}/page.rb +5 -4
  37. data/lib/selenium/devtools/{v122 → v125}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v123 → v125}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v122 → v125}/preload.rb +2 -2
  40. data/lib/selenium/devtools/{v122 → v125}/profiler.rb +2 -2
  41. data/lib/selenium/devtools/v125/pwa.rb +43 -0
  42. data/lib/selenium/devtools/{v123 → v125}/runtime.rb +2 -2
  43. data/lib/selenium/devtools/{v122 → v125}/schema.rb +2 -2
  44. data/lib/selenium/devtools/{v123 → v125}/security.rb +2 -2
  45. data/lib/selenium/devtools/{v122 → v125}/service_worker.rb +2 -2
  46. data/lib/selenium/devtools/{v123 → v125}/storage.rb +10 -2
  47. data/lib/selenium/devtools/{v122 → v125}/system_info.rb +2 -2
  48. data/lib/selenium/devtools/{v122 → v125}/target.rb +2 -2
  49. data/lib/selenium/devtools/{v122 → v125}/tethering.rb +2 -2
  50. data/lib/selenium/devtools/{v122 → v125}/tracing.rb +2 -2
  51. data/lib/selenium/devtools/{v122 → v125}/web_audio.rb +2 -2
  52. data/lib/selenium/devtools/{v123 → v125}/web_authn.rb +2 -2
  53. data/lib/selenium/devtools/{v122.rb → v125.rb} +4 -3
  54. data/lib/selenium/devtools/{v122 → v126}/accessibility.rb +2 -2
  55. data/lib/selenium/devtools/{v122 → v126}/animation.rb +3 -2
  56. data/lib/selenium/devtools/{v122 → v126}/audits.rb +2 -2
  57. data/lib/selenium/devtools/{v123 → v126}/autofill.rb +2 -2
  58. data/lib/selenium/devtools/{v122 → v126}/background_service.rb +2 -2
  59. data/lib/selenium/devtools/{v122 → v126}/browser.rb +2 -2
  60. data/lib/selenium/devtools/{v122 → v126}/cache_storage.rb +2 -2
  61. data/lib/selenium/devtools/{v122 → v126}/cast.rb +2 -2
  62. data/lib/selenium/devtools/{v122 → v126}/console.rb +2 -2
  63. data/lib/selenium/devtools/{v122 → v126}/css.rb +8 -2
  64. data/lib/selenium/devtools/{v123 → v126}/database.rb +2 -2
  65. data/lib/selenium/devtools/{v122 → v126}/debugger.rb +2 -2
  66. data/lib/selenium/devtools/{v122 → v126}/device_access.rb +2 -2
  67. data/lib/selenium/devtools/{v122 → v126}/device_orientation.rb +2 -2
  68. data/lib/selenium/devtools/{v122 → v126}/dom.rb +8 -2
  69. data/lib/selenium/devtools/{v123 → v126}/dom_debugger.rb +2 -2
  70. data/lib/selenium/devtools/{v123 → v126}/dom_snapshot.rb +2 -2
  71. data/lib/selenium/devtools/{v123 → v126}/dom_storage.rb +2 -2
  72. data/lib/selenium/devtools/{v122 → v126}/emulation.rb +11 -2
  73. data/lib/selenium/devtools/{v123 → v126}/event_breakpoints.rb +2 -2
  74. data/lib/selenium/devtools/v126/extensions.rb +43 -0
  75. data/lib/selenium/devtools/{v122 → v126}/fed_cm.rb +2 -2
  76. data/lib/selenium/devtools/{v123 → v126}/fetch.rb +2 -2
  77. data/lib/selenium/devtools/{v123 → v126}/headless_experimental.rb +2 -2
  78. data/lib/selenium/devtools/{v122 → v126}/heap_profiler.rb +2 -2
  79. data/lib/selenium/devtools/{v123 → v126}/indexed_db.rb +2 -2
  80. data/lib/selenium/devtools/{v123 → v126}/input.rb +2 -2
  81. data/lib/selenium/devtools/{v122 → v126}/inspector.rb +2 -2
  82. data/lib/selenium/devtools/{v122 → v126}/io.rb +2 -2
  83. data/lib/selenium/devtools/{v122 → v126}/layer_tree.rb +2 -2
  84. data/lib/selenium/devtools/{v123 → v126}/log.rb +2 -2
  85. data/lib/selenium/devtools/{v123 → v126}/media.rb +2 -2
  86. data/lib/selenium/devtools/{v122 → v126}/memory.rb +2 -2
  87. data/lib/selenium/devtools/{v122 → v126}/network.rb +11 -6
  88. data/lib/selenium/devtools/{v123 → v126}/overlay.rb +2 -2
  89. data/lib/selenium/devtools/{v123 → v126}/page.rb +8 -6
  90. data/lib/selenium/devtools/{v123 → v126}/performance.rb +2 -2
  91. data/lib/selenium/devtools/{v122 → v126}/performance_timeline.rb +2 -2
  92. data/lib/selenium/devtools/{v123 → v126}/preload.rb +2 -2
  93. data/lib/selenium/devtools/{v123 → v126}/profiler.rb +2 -2
  94. data/lib/selenium/devtools/v126/pwa.rb +60 -0
  95. data/lib/selenium/devtools/{v122 → v126}/runtime.rb +2 -2
  96. data/lib/selenium/devtools/{v123 → v126}/schema.rb +2 -2
  97. data/lib/selenium/devtools/{v122 → v126}/security.rb +2 -2
  98. data/lib/selenium/devtools/{v123 → v126}/service_worker.rb +2 -2
  99. data/lib/selenium/devtools/{v122 → v126}/storage.rb +11 -2
  100. data/lib/selenium/devtools/{v123 → v126}/system_info.rb +2 -2
  101. data/lib/selenium/devtools/{v123 → v126}/target.rb +2 -2
  102. data/lib/selenium/devtools/{v123 → v126}/tethering.rb +2 -2
  103. data/lib/selenium/devtools/{v123 → v126}/tracing.rb +2 -2
  104. data/lib/selenium/devtools/{v123 → v126}/web_audio.rb +2 -2
  105. data/lib/selenium/devtools/{v122 → v126}/web_authn.rb +10 -2
  106. data/lib/selenium/devtools/{v123.rb → v126.rb} +5 -3
  107. data/lib/selenium/devtools/version.rb +1 -1
  108. metadata +110 -107
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8087aa17a059d859faad09579a9813adb49c4410541f8cc48b49e7dded29f7b5
4
- data.tar.gz: 6e7214d875c0ba7adeb3d8b0b1e2bdbf1d1805c84b7e7ba349f0b069731c0967
3
+ metadata.gz: e5b13c80c50431ede87ff2935b6be9270127a36eca463537e316d93d4995c450
4
+ data.tar.gz: 8fc1851d86d9ea6ea374c046dc3764838f6e24875d087d7e25ffe021fba7203f
5
5
  SHA512:
6
- metadata.gz: c70abddeb80971cf2b7ee06802347b6012882dcded4c904fb09613528e251703f4c1cfd8479b0e640af1860b11e70f3ef611253f8df064475781afe81b1a2067
7
- data.tar.gz: aabe89b07ce42fd0bd61680386947fae19c057f6fd47ec05a0550aa988bb862a0816a3cdcec68c1edff09a602dba22741ae008fcf791b641278701481b9557a9
6
+ metadata.gz: 563a4a24b99522ba8baac4546b267ffc2260733dc1f4c52096db6f1584454047bc9729f79720611fcd72faab216f4c83c5af7627ad74a11b29d5f85a7e563463
7
+ data.tar.gz: b5448958f2d6a421d5844636460a76d84b35a69a102f6ea75723b7bdf5540f0cb52153774b4f2871fe7d871afbf3416f488517b321fe9ca4191925e19ffce14f
@@ -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 V123
23
+ module V125
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 # V123
89
+ end # V125
90
90
  end # DevTools
91
91
  end # Selenium
@@ -20,12 +20,13 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V123
23
+ module V125
24
24
  class Animation
25
25
  EVENTS = {
26
26
  animation_canceled: 'animationCanceled',
27
27
  animation_created: 'animationCreated',
28
28
  animation_started: 'animationStarted',
29
+ animation_updated: 'animationUpdated',
29
30
  }.freeze
30
31
 
31
32
  def initialize(devtools)
@@ -89,6 +90,6 @@ module Selenium
89
90
  end
90
91
 
91
92
  end # Animation
92
- end # V123
93
+ end # V125
93
94
  end # DevTools
94
95
  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 V123
23
+ module V125
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 # V123
64
+ end # V125
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 V122
23
+ module V125
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 # V122
59
+ end # V125
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 V123
23
+ module V125
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 # V123
61
+ end # V125
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 V123
23
+ module V125
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 # V123
138
+ end # V125
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 V123
23
+ module V125
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 # V123
69
+ end # V125
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 V123
23
+ module V125
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 # V123
69
+ end # V125
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 V123
23
+ module V125
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 # V123
51
+ end # V125
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 V123
23
+ module V125
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -110,6 +110,12 @@ module Selenium
110
110
  nodeId: node_id)
111
111
  end
112
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
+
113
119
  def track_computed_style_updates(properties_to_track:)
114
120
  @devtools.send_cmd('CSS.trackComputedStyleUpdates',
115
121
  propertiesToTrack: properties_to_track)
@@ -205,6 +211,6 @@ module Selenium
205
211
  end
206
212
 
207
213
  end # CSS
208
- end # V123
214
+ end # V125
209
215
  end # DevTools
210
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 V122
23
+ module V125
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 # V122
58
+ end # V125
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 V123
23
+ module V125
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 # V123
230
+ end # V125
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 V123
23
+ module V125
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 # V123
58
+ end # V125
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 V123
23
+ module V125
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 # V123
47
+ end # V125
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 V123
23
+ module V125
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 # V123
340
+ end # V125
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 V122
23
+ module V125
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 # V122
92
+ end # V125
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 V122
23
+ module V125
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 # V122
61
+ end # V125
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 V122
23
+ module V125
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 # V122
73
+ end # V125
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 V123
23
+ module V125
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -89,6 +89,15 @@ module Selenium
89
89
  devicePosture: device_posture)
90
90
  end
91
91
 
92
+ def set_device_posture_override(posture:)
93
+ @devtools.send_cmd('Emulation.setDevicePostureOverride',
94
+ posture: posture)
95
+ end
96
+
97
+ def clear_device_posture_override
98
+ @devtools.send_cmd('Emulation.clearDevicePostureOverride')
99
+ end
100
+
92
101
  def set_scrollbars_hidden(hidden:)
93
102
  @devtools.send_cmd('Emulation.setScrollbarsHidden',
94
103
  hidden: hidden)
@@ -220,6 +229,6 @@ module Selenium
220
229
  end
221
230
 
222
231
  end # Emulation
223
- end # V123
232
+ end # V125
224
233
  end # DevTools
225
234
  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 V122
23
+ module V125
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 # V122
50
+ end # V125
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 V123
23
+ module V125
24
24
  class FedCm
25
25
  EVENTS = {
26
26
  dialog_shown: 'dialogShown',
@@ -75,6 +75,6 @@ module Selenium
75
75
  end
76
76
 
77
77
  end # FedCm
78
- end # V123
78
+ end # V125
79
79
  end # DevTools
80
80
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V122
23
+ module V125
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 # V122
101
+ end # V125
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 V122
23
+ module V125
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 # V122
52
+ end # V125
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 V123
23
+ module V125
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 # V123
107
+ end # V125
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 V122
23
+ module V125
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 # V122
108
+ end # V125
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 V122
23
+ module V125
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 # V122
170
+ end # V125
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 V123
23
+ module V125
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 # V123
49
+ end # V125
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 V123
23
+ module V125
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 # V123
53
+ end # V125
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 V123
23
+ module V125
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 # V123
89
+ end # V125
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 V122
23
+ module V125
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 # V122
60
+ end # V125
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 V122
23
+ module V125
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 # V122
51
+ end # V125
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 V123
23
+ module V125
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 # V123
80
+ end # V125
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 V123
23
+ module V125
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -45,6 +45,7 @@ module Selenium
45
45
  web_transport_closed: 'webTransportClosed',
46
46
  request_will_be_sent_extra_info: 'requestWillBeSentExtraInfo',
47
47
  response_received_extra_info: 'responseReceivedExtraInfo',
48
+ response_received_early_hints: 'responseReceivedEarlyHints',
48
49
  trust_token_operation_done: 'trustTokenOperationDone',
49
50
  subresource_web_bundle_metadata_received: 'subresourceWebBundleMetadataReceived',
50
51
  subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
@@ -118,13 +119,16 @@ module Selenium
118
119
  @devtools.send_cmd('Network.disable')
119
120
  end
120
121
 
121
- def emulate_network_conditions(offline:, latency:, download_throughput:, upload_throughput:, connection_type: nil)
122
+ def emulate_network_conditions(offline:, latency:, download_throughput:, upload_throughput:, connection_type: nil, packet_loss: nil, packet_queue_length: nil, packet_reordering: nil)
122
123
  @devtools.send_cmd('Network.emulateNetworkConditions',
123
124
  offline: offline,
124
125
  latency: latency,
125
126
  downloadThroughput: download_throughput,
126
127
  uploadThroughput: upload_throughput,
127
- connectionType: connection_type)
128
+ connectionType: connection_type,
129
+ packetLoss: packet_loss,
130
+ packetQueueLength: packet_queue_length,
131
+ packetReordering: packet_reordering)
128
132
  end
129
133
 
130
134
  def enable(max_total_buffer_size: nil, max_resource_buffer_size: nil, max_post_data_size: nil)
@@ -265,6 +269,6 @@ module Selenium
265
269
  end
266
270
 
267
271
  end # Network
268
- end # V123
272
+ end # V125
269
273
  end # DevTools
270
274
  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 V122
23
+ module V125
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 # V122
205
+ end # V125
206
206
  end # DevTools
207
207
  end # Selenium