selenium-devtools 0.119.0 → 0.120.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 (55) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/lib/selenium/devtools/{v117 → v120}/accessibility.rb +2 -2
  4. data/lib/selenium/devtools/{v117 → v120}/animation.rb +2 -2
  5. data/lib/selenium/devtools/{v117 → v120}/audits.rb +2 -2
  6. data/lib/selenium/devtools/{v117 → v120}/autofill.rb +13 -2
  7. data/lib/selenium/devtools/{v117 → v120}/background_service.rb +2 -2
  8. data/lib/selenium/devtools/{v117 → v120}/browser.rb +2 -2
  9. data/lib/selenium/devtools/{v117 → v120}/cache_storage.rb +2 -2
  10. data/lib/selenium/devtools/{v117 → v120}/cast.rb +2 -2
  11. data/lib/selenium/devtools/{v117 → v120}/console.rb +2 -2
  12. data/lib/selenium/devtools/{v117 → v120}/css.rb +9 -2
  13. data/lib/selenium/devtools/{v117 → v120}/database.rb +2 -2
  14. data/lib/selenium/devtools/{v117 → v120}/debugger.rb +2 -2
  15. data/lib/selenium/devtools/{v117 → v120}/device_access.rb +2 -2
  16. data/lib/selenium/devtools/{v117 → v120}/device_orientation.rb +2 -2
  17. data/lib/selenium/devtools/{v117 → v120}/dom.rb +2 -2
  18. data/lib/selenium/devtools/{v117 → v120}/dom_debugger.rb +2 -2
  19. data/lib/selenium/devtools/{v117 → v120}/dom_snapshot.rb +2 -2
  20. data/lib/selenium/devtools/{v117 → v120}/dom_storage.rb +2 -2
  21. data/lib/selenium/devtools/{v117 → v120}/emulation.rb +20 -2
  22. data/lib/selenium/devtools/{v117 → v120}/event_breakpoints.rb +6 -2
  23. data/lib/selenium/devtools/{v117 → v120}/fed_cm.rb +7 -2
  24. data/lib/selenium/devtools/{v117 → v120}/fetch.rb +2 -2
  25. data/lib/selenium/devtools/{v117 → v120}/headless_experimental.rb +2 -2
  26. data/lib/selenium/devtools/{v117 → v120}/heap_profiler.rb +2 -2
  27. data/lib/selenium/devtools/{v117 → v120}/indexed_db.rb +2 -2
  28. data/lib/selenium/devtools/{v117 → v120}/input.rb +2 -2
  29. data/lib/selenium/devtools/{v117 → v120}/inspector.rb +2 -2
  30. data/lib/selenium/devtools/{v117 → v120}/io.rb +2 -2
  31. data/lib/selenium/devtools/{v117 → v120}/layer_tree.rb +2 -2
  32. data/lib/selenium/devtools/{v117 → v120}/log.rb +2 -2
  33. data/lib/selenium/devtools/{v117 → v120}/media.rb +2 -2
  34. data/lib/selenium/devtools/{v117 → v120}/memory.rb +2 -2
  35. data/lib/selenium/devtools/{v117 → v120}/network.rb +2 -2
  36. data/lib/selenium/devtools/{v117 → v120}/overlay.rb +7 -2
  37. data/lib/selenium/devtools/{v117 → v120}/page.rb +2 -2
  38. data/lib/selenium/devtools/{v117 → v120}/performance.rb +2 -2
  39. data/lib/selenium/devtools/{v117 → v120}/performance_timeline.rb +2 -2
  40. data/lib/selenium/devtools/{v117 → v120}/preload.rb +2 -3
  41. data/lib/selenium/devtools/{v117 → v120}/profiler.rb +2 -2
  42. data/lib/selenium/devtools/{v117 → v120}/runtime.rb +4 -6
  43. data/lib/selenium/devtools/{v117 → v120}/schema.rb +2 -2
  44. data/lib/selenium/devtools/{v117 → v120}/security.rb +2 -2
  45. data/lib/selenium/devtools/{v117 → v120}/service_worker.rb +2 -2
  46. data/lib/selenium/devtools/{v117 → v120}/storage.rb +2 -2
  47. data/lib/selenium/devtools/{v117 → v120}/system_info.rb +2 -2
  48. data/lib/selenium/devtools/{v117 → v120}/target.rb +2 -2
  49. data/lib/selenium/devtools/{v117 → v120}/tethering.rb +2 -2
  50. data/lib/selenium/devtools/{v117 → v120}/tracing.rb +2 -2
  51. data/lib/selenium/devtools/{v117 → v120}/web_audio.rb +2 -2
  52. data/lib/selenium/devtools/{v117 → v120}/web_authn.rb +2 -2
  53. data/lib/selenium/devtools/{v117.rb → v120.rb} +3 -3
  54. data/lib/selenium/devtools/version.rb +1 -1
  55. metadata +53 -53
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec236bb99216ede0d0cfdc62aaddc409f06204e301c033092a9784c647ae47ac
4
- data.tar.gz: 7e884a66a58199bc811c76b435bb378df03b0686d56baec2e5b2374565d9cd52
3
+ metadata.gz: f0d583e515e1a30199f0af8054d12db76f9c91b04683da5a23e8118f9d984793
4
+ data.tar.gz: 621a391a72065df36922606c0082b29a51d0c0e8e1974695fae56e60b112b356
5
5
  SHA512:
6
- metadata.gz: 1c442977793c7b1f288541deff432f1e79920d2ea8edffbdb835059cd07a41189082bdd8f225f59f1cac9dbf362de3dfa315ab5d96b3e4470472d221dcf7cd39
7
- data.tar.gz: 8d52d4232d3272ebedc733f0607849302e13e269d86fb031080a4017abebb5f677a83743c08faae12c49373c1f2eb6bcb8ac0b991770d54190711d14f351297e
6
+ metadata.gz: 1e86736437c62deec53d11b9ce5e2e3cfb8331230843157c4fa0b74e90aa02437a11011c85476117bafef3b3a09740aa64aeab24b76eb83666ac69c42b9b5230
7
+ data.tar.gz: 5e65131bc13e102918d5b7d99535e3c337b83a43b5b76ee0db3ca7c23585c8b299f47cc5c2a5c2e3d93e57a7eefa935612f90a4325a4f6dddc6ff64e30a894d6
data/Gemfile CHANGED
@@ -6,3 +6,4 @@ Dir["#{__dir__}/*.gemspec"].each do |spec|
6
6
  end
7
7
 
8
8
  gem 'debug', '~> 1.7', require: false, platforms: %i[mri mingw x64_mingw]
9
+ gem 'steep', '~> 1.5.0', require: false, platforms: %i[mri mingw x64_mingw]
@@ -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 V117
23
+ module V120
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 # V117
89
+ end # V120
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 V117
23
+ module V120
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 # V117
92
+ end # V120
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 V117
23
+ module V120
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 # V117
64
+ end # V120
65
65
  end # DevTools
66
66
  end # Selenium
@@ -20,8 +20,11 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V117
23
+ module V120
24
24
  class Autofill
25
+ EVENTS = {
26
+ address_form_filled: 'addressFormFilled',
27
+ }.freeze
25
28
 
26
29
  def initialize(devtools)
27
30
  @devtools = devtools
@@ -44,7 +47,15 @@ module Selenium
44
47
  addresses: addresses)
45
48
  end
46
49
 
50
+ def disable
51
+ @devtools.send_cmd('Autofill.disable')
52
+ end
53
+
54
+ def enable
55
+ @devtools.send_cmd('Autofill.enable')
56
+ end
57
+
47
58
  end # Autofill
48
- end # V117
59
+ end # V120
49
60
  end # DevTools
50
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 V117
23
+ module V120
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 # V117
61
+ end # V120
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 V117
23
+ module V120
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 # V117
138
+ end # V120
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 V117
23
+ module V120
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 # V117
69
+ end # V120
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 V117
23
+ module V120
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 # V117
69
+ end # V120
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 V117
23
+ module V120
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 # V117
51
+ end # V120
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 V117
23
+ module V120
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -125,6 +125,13 @@ module Selenium
125
125
  value: value)
126
126
  end
127
127
 
128
+ def set_property_rule_property_name(style_sheet_id:, range:, property_name:)
129
+ @devtools.send_cmd('CSS.setPropertyRulePropertyName',
130
+ styleSheetId: style_sheet_id,
131
+ range: range,
132
+ propertyName: property_name)
133
+ end
134
+
128
135
  def set_keyframe_key(style_sheet_id:, range:, key_text:)
129
136
  @devtools.send_cmd('CSS.setKeyframeKey',
130
137
  styleSheetId: style_sheet_id,
@@ -196,6 +203,6 @@ module Selenium
196
203
  end
197
204
 
198
205
  end # CSS
199
- end # V117
206
+ end # V120
200
207
  end # DevTools
201
208
  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 V117
23
+ module V120
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 # V117
58
+ end # V120
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 V117
23
+ module V120
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 # V117
230
+ end # V120
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 V117
23
+ module V120
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 # V117
58
+ end # V120
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 V117
23
+ module V120
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 # V117
47
+ end # V120
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 V117
23
+ module V120
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 # V117
340
+ end # V120
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 V117
23
+ module V120
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 # V117
92
+ end # V120
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 V117
23
+ module V120
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 # V117
61
+ end # V120
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 V117
23
+ module V120
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 # V117
73
+ end # V120
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 V117
23
+ module V120
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -122,6 +122,24 @@ module Selenium
122
122
  accuracy: accuracy)
123
123
  end
124
124
 
125
+ def get_overridden_sensor_information(type:)
126
+ @devtools.send_cmd('Emulation.getOverriddenSensorInformation',
127
+ type: type)
128
+ end
129
+
130
+ def set_sensor_override_enabled(enabled:, type:, metadata: nil)
131
+ @devtools.send_cmd('Emulation.setSensorOverrideEnabled',
132
+ enabled: enabled,
133
+ type: type,
134
+ metadata: metadata)
135
+ end
136
+
137
+ def set_sensor_override_readings(type:, reading:)
138
+ @devtools.send_cmd('Emulation.setSensorOverrideReadings',
139
+ type: type,
140
+ reading: reading)
141
+ end
142
+
125
143
  def set_idle_override(is_user_active:, is_screen_unlocked:)
126
144
  @devtools.send_cmd('Emulation.setIdleOverride',
127
145
  isUserActive: is_user_active,
@@ -201,6 +219,6 @@ module Selenium
201
219
  end
202
220
 
203
221
  end # Emulation
204
- end # V117
222
+ end # V120
205
223
  end # DevTools
206
224
  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 V117
23
+ module V120
24
24
  class EventBreakpoints
25
25
 
26
26
  def initialize(devtools)
@@ -42,7 +42,11 @@ module Selenium
42
42
  eventName: event_name)
43
43
  end
44
44
 
45
+ def disable
46
+ @devtools.send_cmd('EventBreakpoints.disable')
47
+ end
48
+
45
49
  end # EventBreakpoints
46
- end # V117
50
+ end # V120
47
51
  end # DevTools
48
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 V117
23
+ module V120
24
24
  class FedCm
25
25
  EVENTS = {
26
26
  dialog_shown: 'dialogShown',
@@ -50,6 +50,11 @@ module Selenium
50
50
  accountIndex: account_index)
51
51
  end
52
52
 
53
+ def confirm_idp_login(dialog_id:)
54
+ @devtools.send_cmd('FedCm.confirmIdpLogin',
55
+ dialogId: dialog_id)
56
+ end
57
+
53
58
  def dismiss_dialog(dialog_id:, trigger_cooldown: nil)
54
59
  @devtools.send_cmd('FedCm.dismissDialog',
55
60
  dialogId: dialog_id,
@@ -61,6 +66,6 @@ module Selenium
61
66
  end
62
67
 
63
68
  end # FedCm
64
- end # V117
69
+ end # V120
65
70
  end # DevTools
66
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 V117
23
+ module V120
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 # V117
101
+ end # V120
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 V117
23
+ module V120
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 # V117
52
+ end # V120
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 V117
23
+ module V120
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 # V117
107
+ end # V120
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 V117
23
+ module V120
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 # V117
108
+ end # V120
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 V117
23
+ module V120
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 # V117
170
+ end # V120
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 V117
23
+ module V120
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 # V117
49
+ end # V120
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 V117
23
+ module V120
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 # V117
53
+ end # V120
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 V117
23
+ module V120
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 # V117
89
+ end # V120
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 V117
23
+ module V120
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 # V117
60
+ end # V120
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 V117
23
+ module V120
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 # V117
51
+ end # V120
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 V117
23
+ module V120
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 # V117
80
+ end # V120
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 V117
23
+ module V120
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -259,6 +259,6 @@ module Selenium
259
259
  end
260
260
 
261
261
  end # Network
262
- end # V117
262
+ end # V120
263
263
  end # DevTools
264
264
  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 V117
23
+ module V120
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -196,7 +196,12 @@ module Selenium
196
196
  isolatedElementHighlightConfigs: isolated_element_highlight_configs)
197
197
  end
198
198
 
199
+ def set_show_window_controls_overlay(window_controls_overlay_config: nil)
200
+ @devtools.send_cmd('Overlay.setShowWindowControlsOverlay',
201
+ windowControlsOverlayConfig: window_controls_overlay_config)
202
+ end
203
+
199
204
  end # Overlay
200
- end # V117
205
+ end # V120
201
206
  end # DevTools
202
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 V117
23
+ module V120
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -406,6 +406,6 @@ module Selenium
406
406
  end
407
407
 
408
408
  end # Page
409
- end # V117
409
+ end # V120
410
410
  end # DevTools
411
411
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V117
23
+ module V120
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 # V117
57
+ end # V120
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 V117
23
+ module V120
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 # V117
44
+ end # V120
45
45
  end # DevTools
46
46
  end # Selenium
@@ -20,12 +20,11 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V117
23
+ module V120
24
24
  class Preload
25
25
  EVENTS = {
26
26
  rule_set_updated: 'ruleSetUpdated',
27
27
  rule_set_removed: 'ruleSetRemoved',
28
- prerender_attempt_completed: 'prerenderAttemptCompleted',
29
28
  preload_enabled_state_updated: 'preloadEnabledStateUpdated',
30
29
  prefetch_status_updated: 'prefetchStatusUpdated',
31
30
  prerender_status_updated: 'prerenderStatusUpdated',
@@ -50,6 +49,6 @@ module Selenium
50
49
  end
51
50
 
52
51
  end # Preload
53
- end # V117
52
+ end # V120
54
53
  end # DevTools
55
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 V117
23
+ module V120
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 # V117
81
+ end # V120
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 V117
23
+ module V120
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, throw_on_side_effect: nil, unique_context_id: nil, generate_web_driver_value: nil, serialization_options: 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, unique_context_id: nil, serialization_options: nil)
53
53
  @devtools.send_cmd('Runtime.callFunctionOn',
54
54
  functionDeclaration: function_declaration,
55
55
  objectId: object_id,
@@ -63,7 +63,6 @@ module Selenium
63
63
  objectGroup: object_group,
64
64
  throwOnSideEffect: throw_on_side_effect,
65
65
  uniqueContextId: unique_context_id,
66
- generateWebDriverValue: generate_web_driver_value,
67
66
  serializationOptions: serialization_options)
68
67
  end
69
68
 
@@ -87,7 +86,7 @@ module Selenium
87
86
  @devtools.send_cmd('Runtime.enable')
88
87
  end
89
88
 
90
- def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil, generate_web_driver_value: nil, serialization_options: nil)
89
+ def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil, serialization_options: nil)
91
90
  @devtools.send_cmd('Runtime.evaluate',
92
91
  expression: expression,
93
92
  objectGroup: object_group,
@@ -104,7 +103,6 @@ module Selenium
104
103
  replMode: repl_mode,
105
104
  allowUnsafeEvalBlockedByCSP: allow_unsafe_eval_blocked_by_csp,
106
105
  uniqueContextId: unique_context_id,
107
- generateWebDriverValue: generate_web_driver_value,
108
106
  serializationOptions: serialization_options)
109
107
  end
110
108
 
@@ -199,6 +197,6 @@ module Selenium
199
197
  end
200
198
 
201
199
  end # Runtime
202
- end # V117
200
+ end # V120
203
201
  end # DevTools
204
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 V117
23
+ module V120
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 # V117
40
+ end # V120
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 V117
23
+ module V120
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 # V117
65
+ end # V120
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 V117
23
+ module V120
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 # V117
110
+ end # V120
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 V117
23
+ module V120
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -212,6 +212,6 @@ module Selenium
212
212
  end
213
213
 
214
214
  end # Storage
215
- end # V117
215
+ end # V120
216
216
  end # DevTools
217
217
  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 V117
23
+ module V120
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 # V117
49
+ end # V120
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 V117
23
+ module V120
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 # V117
149
+ end # V120
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 V117
23
+ module V120
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 # V117
49
+ end # V120
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 V117
23
+ module V120
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 # V117
73
+ end # V120
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 V117
23
+ module V120
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 # V117
64
+ end # V120
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 V117
23
+ module V120
24
24
  class WebAuthn
25
25
  EVENTS = {
26
26
  credential_added: 'credentialAdded',
@@ -104,6 +104,6 @@ module Selenium
104
104
  end
105
105
 
106
106
  end # WebAuthn
107
- end # V117
107
+ end # V120
108
108
  end # DevTools
109
109
  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__))}/v117/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v120/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V117
26
+ module V120
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 # V117
79
+ end # V120
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.119.0'
22
+ VERSION = '0.120.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.119.0
4
+ version: 0.120.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: 2023-11-01 00:00:00.000000000 Z
13
+ date: 2023-12-06 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/v117.rb
45
- - lib/selenium/devtools/v117/accessibility.rb
46
- - lib/selenium/devtools/v117/animation.rb
47
- - lib/selenium/devtools/v117/audits.rb
48
- - lib/selenium/devtools/v117/autofill.rb
49
- - lib/selenium/devtools/v117/background_service.rb
50
- - lib/selenium/devtools/v117/browser.rb
51
- - lib/selenium/devtools/v117/cache_storage.rb
52
- - lib/selenium/devtools/v117/cast.rb
53
- - lib/selenium/devtools/v117/console.rb
54
- - lib/selenium/devtools/v117/css.rb
55
- - lib/selenium/devtools/v117/database.rb
56
- - lib/selenium/devtools/v117/debugger.rb
57
- - lib/selenium/devtools/v117/device_access.rb
58
- - lib/selenium/devtools/v117/device_orientation.rb
59
- - lib/selenium/devtools/v117/dom.rb
60
- - lib/selenium/devtools/v117/dom_debugger.rb
61
- - lib/selenium/devtools/v117/dom_snapshot.rb
62
- - lib/selenium/devtools/v117/dom_storage.rb
63
- - lib/selenium/devtools/v117/emulation.rb
64
- - lib/selenium/devtools/v117/event_breakpoints.rb
65
- - lib/selenium/devtools/v117/fed_cm.rb
66
- - lib/selenium/devtools/v117/fetch.rb
67
- - lib/selenium/devtools/v117/headless_experimental.rb
68
- - lib/selenium/devtools/v117/heap_profiler.rb
69
- - lib/selenium/devtools/v117/indexed_db.rb
70
- - lib/selenium/devtools/v117/input.rb
71
- - lib/selenium/devtools/v117/inspector.rb
72
- - lib/selenium/devtools/v117/io.rb
73
- - lib/selenium/devtools/v117/layer_tree.rb
74
- - lib/selenium/devtools/v117/log.rb
75
- - lib/selenium/devtools/v117/media.rb
76
- - lib/selenium/devtools/v117/memory.rb
77
- - lib/selenium/devtools/v117/network.rb
78
- - lib/selenium/devtools/v117/overlay.rb
79
- - lib/selenium/devtools/v117/page.rb
80
- - lib/selenium/devtools/v117/performance.rb
81
- - lib/selenium/devtools/v117/performance_timeline.rb
82
- - lib/selenium/devtools/v117/preload.rb
83
- - lib/selenium/devtools/v117/profiler.rb
84
- - lib/selenium/devtools/v117/runtime.rb
85
- - lib/selenium/devtools/v117/schema.rb
86
- - lib/selenium/devtools/v117/security.rb
87
- - lib/selenium/devtools/v117/service_worker.rb
88
- - lib/selenium/devtools/v117/storage.rb
89
- - lib/selenium/devtools/v117/system_info.rb
90
- - lib/selenium/devtools/v117/target.rb
91
- - lib/selenium/devtools/v117/tethering.rb
92
- - lib/selenium/devtools/v117/tracing.rb
93
- - lib/selenium/devtools/v117/web_audio.rb
94
- - lib/selenium/devtools/v117/web_authn.rb
95
44
  - lib/selenium/devtools/v118.rb
96
45
  - lib/selenium/devtools/v118/accessibility.rb
97
46
  - lib/selenium/devtools/v118/animation.rb
@@ -194,6 +143,57 @@ files:
194
143
  - lib/selenium/devtools/v119/tracing.rb
195
144
  - lib/selenium/devtools/v119/web_audio.rb
196
145
  - lib/selenium/devtools/v119/web_authn.rb
146
+ - lib/selenium/devtools/v120.rb
147
+ - lib/selenium/devtools/v120/accessibility.rb
148
+ - lib/selenium/devtools/v120/animation.rb
149
+ - lib/selenium/devtools/v120/audits.rb
150
+ - lib/selenium/devtools/v120/autofill.rb
151
+ - lib/selenium/devtools/v120/background_service.rb
152
+ - lib/selenium/devtools/v120/browser.rb
153
+ - lib/selenium/devtools/v120/cache_storage.rb
154
+ - lib/selenium/devtools/v120/cast.rb
155
+ - lib/selenium/devtools/v120/console.rb
156
+ - lib/selenium/devtools/v120/css.rb
157
+ - lib/selenium/devtools/v120/database.rb
158
+ - lib/selenium/devtools/v120/debugger.rb
159
+ - lib/selenium/devtools/v120/device_access.rb
160
+ - lib/selenium/devtools/v120/device_orientation.rb
161
+ - lib/selenium/devtools/v120/dom.rb
162
+ - lib/selenium/devtools/v120/dom_debugger.rb
163
+ - lib/selenium/devtools/v120/dom_snapshot.rb
164
+ - lib/selenium/devtools/v120/dom_storage.rb
165
+ - lib/selenium/devtools/v120/emulation.rb
166
+ - lib/selenium/devtools/v120/event_breakpoints.rb
167
+ - lib/selenium/devtools/v120/fed_cm.rb
168
+ - lib/selenium/devtools/v120/fetch.rb
169
+ - lib/selenium/devtools/v120/headless_experimental.rb
170
+ - lib/selenium/devtools/v120/heap_profiler.rb
171
+ - lib/selenium/devtools/v120/indexed_db.rb
172
+ - lib/selenium/devtools/v120/input.rb
173
+ - lib/selenium/devtools/v120/inspector.rb
174
+ - lib/selenium/devtools/v120/io.rb
175
+ - lib/selenium/devtools/v120/layer_tree.rb
176
+ - lib/selenium/devtools/v120/log.rb
177
+ - lib/selenium/devtools/v120/media.rb
178
+ - lib/selenium/devtools/v120/memory.rb
179
+ - lib/selenium/devtools/v120/network.rb
180
+ - lib/selenium/devtools/v120/overlay.rb
181
+ - lib/selenium/devtools/v120/page.rb
182
+ - lib/selenium/devtools/v120/performance.rb
183
+ - lib/selenium/devtools/v120/performance_timeline.rb
184
+ - lib/selenium/devtools/v120/preload.rb
185
+ - lib/selenium/devtools/v120/profiler.rb
186
+ - lib/selenium/devtools/v120/runtime.rb
187
+ - lib/selenium/devtools/v120/schema.rb
188
+ - lib/selenium/devtools/v120/security.rb
189
+ - lib/selenium/devtools/v120/service_worker.rb
190
+ - lib/selenium/devtools/v120/storage.rb
191
+ - lib/selenium/devtools/v120/system_info.rb
192
+ - lib/selenium/devtools/v120/target.rb
193
+ - lib/selenium/devtools/v120/tethering.rb
194
+ - lib/selenium/devtools/v120/tracing.rb
195
+ - lib/selenium/devtools/v120/web_audio.rb
196
+ - lib/selenium/devtools/v120/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