selenium-devtools 0.120.0 → 0.122.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 (108) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/NOTICE +1 -1
  4. data/lib/selenium/devtools/{v119 → v121}/accessibility.rb +2 -2
  5. data/lib/selenium/devtools/{v119 → v121}/animation.rb +2 -2
  6. data/lib/selenium/devtools/{v119 → v121}/audits.rb +2 -2
  7. data/lib/selenium/devtools/{v118 → v121}/autofill.rb +2 -2
  8. data/lib/selenium/devtools/{v119 → v121}/background_service.rb +2 -2
  9. data/lib/selenium/devtools/{v119 → v121}/browser.rb +2 -2
  10. data/lib/selenium/devtools/{v119 → v121}/cache_storage.rb +2 -2
  11. data/lib/selenium/devtools/{v119 → v121}/cast.rb +2 -2
  12. data/lib/selenium/devtools/{v119 → v121}/console.rb +2 -2
  13. data/lib/selenium/devtools/{v119 → v121}/css.rb +2 -2
  14. data/lib/selenium/devtools/{v118 → v121}/database.rb +2 -2
  15. data/lib/selenium/devtools/{v119 → v121}/debugger.rb +2 -2
  16. data/lib/selenium/devtools/{v119 → v121}/device_access.rb +2 -2
  17. data/lib/selenium/devtools/{v119 → v121}/device_orientation.rb +2 -2
  18. data/lib/selenium/devtools/{v119 → v121}/dom.rb +2 -2
  19. data/lib/selenium/devtools/{v118 → v121}/dom_debugger.rb +2 -2
  20. data/lib/selenium/devtools/{v118 → v121}/dom_snapshot.rb +2 -2
  21. data/lib/selenium/devtools/{v118 → v121}/dom_storage.rb +2 -2
  22. data/lib/selenium/devtools/{v119 → v121}/emulation.rb +23 -4
  23. data/lib/selenium/devtools/{v118 → v121}/event_breakpoints.rb +6 -2
  24. data/lib/selenium/devtools/{v118 → v121}/fed_cm.rb +7 -5
  25. data/lib/selenium/devtools/{v118 → v121}/fetch.rb +2 -2
  26. data/lib/selenium/devtools/{v118 → v121}/headless_experimental.rb +2 -2
  27. data/lib/selenium/devtools/{v119 → v121}/heap_profiler.rb +2 -2
  28. data/lib/selenium/devtools/{v118 → v121}/indexed_db.rb +2 -2
  29. data/lib/selenium/devtools/{v119 → v121}/input.rb +2 -2
  30. data/lib/selenium/devtools/{v119 → v121}/inspector.rb +2 -2
  31. data/lib/selenium/devtools/{v118 → v121}/io.rb +2 -2
  32. data/lib/selenium/devtools/{v119 → v121}/layer_tree.rb +2 -2
  33. data/lib/selenium/devtools/{v118 → v121}/log.rb +2 -2
  34. data/lib/selenium/devtools/{v119 → v121}/media.rb +2 -2
  35. data/lib/selenium/devtools/{v119 → v121}/memory.rb +2 -2
  36. data/lib/selenium/devtools/{v119 → v121}/network.rb +2 -2
  37. data/lib/selenium/devtools/{v118 → v121}/overlay.rb +7 -2
  38. data/lib/selenium/devtools/{v118 → v121}/page.rb +5 -8
  39. data/lib/selenium/devtools/{v118 → v121}/performance.rb +2 -2
  40. data/lib/selenium/devtools/{v119 → v121}/performance_timeline.rb +2 -2
  41. data/lib/selenium/devtools/{v119 → v121}/preload.rb +2 -2
  42. data/lib/selenium/devtools/{v118 → v121}/profiler.rb +2 -2
  43. data/lib/selenium/devtools/{v119 → v121}/runtime.rb +2 -2
  44. data/lib/selenium/devtools/{v118 → v121}/schema.rb +2 -2
  45. data/lib/selenium/devtools/{v119 → v121}/security.rb +2 -2
  46. data/lib/selenium/devtools/{v118 → v121}/service_worker.rb +2 -2
  47. data/lib/selenium/devtools/{v119 → v121}/storage.rb +2 -2
  48. data/lib/selenium/devtools/{v118 → v121}/system_info.rb +2 -2
  49. data/lib/selenium/devtools/{v118 → v121}/target.rb +2 -2
  50. data/lib/selenium/devtools/{v119 → v121}/tethering.rb +2 -2
  51. data/lib/selenium/devtools/{v118 → v121}/tracing.rb +2 -2
  52. data/lib/selenium/devtools/{v118 → v121}/web_audio.rb +2 -2
  53. data/lib/selenium/devtools/{v118 → v121}/web_authn.rb +2 -2
  54. data/lib/selenium/devtools/{v118.rb → v121.rb} +3 -3
  55. data/lib/selenium/devtools/{v118 → v122}/accessibility.rb +2 -2
  56. data/lib/selenium/devtools/{v118 → v122}/animation.rb +2 -2
  57. data/lib/selenium/devtools/{v118 → v122}/audits.rb +2 -2
  58. data/lib/selenium/devtools/{v119 → v122}/autofill.rb +2 -2
  59. data/lib/selenium/devtools/{v118 → v122}/background_service.rb +2 -2
  60. data/lib/selenium/devtools/{v118 → v122}/browser.rb +2 -2
  61. data/lib/selenium/devtools/{v118 → v122}/cache_storage.rb +2 -2
  62. data/lib/selenium/devtools/{v118 → v122}/cast.rb +2 -2
  63. data/lib/selenium/devtools/{v118 → v122}/console.rb +2 -2
  64. data/lib/selenium/devtools/{v118 → v122}/css.rb +15 -6
  65. data/lib/selenium/devtools/{v119 → v122}/database.rb +2 -2
  66. data/lib/selenium/devtools/{v118 → v122}/debugger.rb +2 -2
  67. data/lib/selenium/devtools/{v118 → v122}/device_access.rb +2 -2
  68. data/lib/selenium/devtools/{v118 → v122}/device_orientation.rb +2 -2
  69. data/lib/selenium/devtools/{v118 → v122}/dom.rb +2 -2
  70. data/lib/selenium/devtools/{v119 → v122}/dom_debugger.rb +2 -2
  71. data/lib/selenium/devtools/{v119 → v122}/dom_snapshot.rb +2 -2
  72. data/lib/selenium/devtools/{v119 → v122}/dom_storage.rb +2 -2
  73. data/lib/selenium/devtools/{v118 → v122}/emulation.rb +23 -4
  74. data/lib/selenium/devtools/{v119 → v122}/event_breakpoints.rb +6 -2
  75. data/lib/selenium/devtools/{v119 → v122}/fed_cm.rb +14 -5
  76. data/lib/selenium/devtools/{v119 → v122}/fetch.rb +2 -2
  77. data/lib/selenium/devtools/{v119 → v122}/headless_experimental.rb +2 -2
  78. data/lib/selenium/devtools/{v118 → v122}/heap_profiler.rb +2 -2
  79. data/lib/selenium/devtools/{v119 → v122}/indexed_db.rb +2 -2
  80. data/lib/selenium/devtools/{v118 → v122}/input.rb +2 -2
  81. data/lib/selenium/devtools/{v118 → v122}/inspector.rb +2 -2
  82. data/lib/selenium/devtools/{v119 → v122}/io.rb +2 -2
  83. data/lib/selenium/devtools/{v118 → v122}/layer_tree.rb +2 -2
  84. data/lib/selenium/devtools/{v119 → v122}/log.rb +2 -2
  85. data/lib/selenium/devtools/{v118 → v122}/media.rb +2 -2
  86. data/lib/selenium/devtools/{v118 → v122}/memory.rb +2 -2
  87. data/lib/selenium/devtools/{v118 → v122}/network.rb +7 -2
  88. data/lib/selenium/devtools/{v119 → v122}/overlay.rb +7 -2
  89. data/lib/selenium/devtools/{v119 → v122}/page.rb +5 -8
  90. data/lib/selenium/devtools/{v119 → v122}/performance.rb +2 -2
  91. data/lib/selenium/devtools/{v118 → v122}/performance_timeline.rb +2 -2
  92. data/lib/selenium/devtools/{v118 → v122}/preload.rb +2 -3
  93. data/lib/selenium/devtools/{v119 → v122}/profiler.rb +2 -2
  94. data/lib/selenium/devtools/{v118 → v122}/runtime.rb +4 -6
  95. data/lib/selenium/devtools/{v119 → v122}/schema.rb +2 -2
  96. data/lib/selenium/devtools/{v118 → v122}/security.rb +2 -2
  97. data/lib/selenium/devtools/{v119 → v122}/service_worker.rb +2 -2
  98. data/lib/selenium/devtools/{v118 → v122}/storage.rb +9 -2
  99. data/lib/selenium/devtools/{v119 → v122}/system_info.rb +2 -2
  100. data/lib/selenium/devtools/{v119 → v122}/target.rb +2 -2
  101. data/lib/selenium/devtools/{v118 → v122}/tethering.rb +2 -2
  102. data/lib/selenium/devtools/{v119 → v122}/tracing.rb +2 -2
  103. data/lib/selenium/devtools/{v119 → v122}/web_audio.rb +2 -2
  104. data/lib/selenium/devtools/{v119 → v122}/web_authn.rb +2 -2
  105. data/lib/selenium/devtools/{v119.rb → v122.rb} +3 -3
  106. data/lib/selenium/devtools/version.rb +1 -1
  107. data/selenium-devtools.gemspec +0 -2
  108. metadata +107 -107
@@ -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 V119
23
+ module V122
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 # V119
92
+ end # V122
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 V119
23
+ module V122
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 # V119
61
+ end # V122
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 V119
23
+ module V122
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 # V119
73
+ end # V122
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 V118
23
+ module V122
24
24
  class Emulation
25
25
  EVENTS = {
26
26
  virtual_time_budget_expired: 'virtualTimeBudgetExpired',
@@ -71,7 +71,7 @@ module Selenium
71
71
  color: color)
72
72
  end
73
73
 
74
- def set_device_metrics_override(width:, height:, device_scale_factor:, mobile:, scale: nil, screen_width: nil, screen_height: nil, position_x: nil, position_y: nil, dont_set_visible_size: nil, screen_orientation: nil, viewport: nil, display_feature: nil)
74
+ def set_device_metrics_override(width:, height:, device_scale_factor:, mobile:, scale: nil, screen_width: nil, screen_height: nil, position_x: nil, position_y: nil, dont_set_visible_size: nil, screen_orientation: nil, viewport: nil, display_feature: nil, device_posture: nil)
75
75
  @devtools.send_cmd('Emulation.setDeviceMetricsOverride',
76
76
  width: width,
77
77
  height: height,
@@ -85,7 +85,8 @@ module Selenium
85
85
  dontSetVisibleSize: dont_set_visible_size,
86
86
  screenOrientation: screen_orientation,
87
87
  viewport: viewport,
88
- displayFeature: display_feature)
88
+ displayFeature: display_feature,
89
+ devicePosture: device_posture)
89
90
  end
90
91
 
91
92
  def set_scrollbars_hidden(hidden:)
@@ -122,6 +123,24 @@ module Selenium
122
123
  accuracy: accuracy)
123
124
  end
124
125
 
126
+ def get_overridden_sensor_information(type:)
127
+ @devtools.send_cmd('Emulation.getOverriddenSensorInformation',
128
+ type: type)
129
+ end
130
+
131
+ def set_sensor_override_enabled(enabled:, type:, metadata: nil)
132
+ @devtools.send_cmd('Emulation.setSensorOverrideEnabled',
133
+ enabled: enabled,
134
+ type: type,
135
+ metadata: metadata)
136
+ end
137
+
138
+ def set_sensor_override_readings(type:, reading:)
139
+ @devtools.send_cmd('Emulation.setSensorOverrideReadings',
140
+ type: type,
141
+ reading: reading)
142
+ end
143
+
125
144
  def set_idle_override(is_user_active:, is_screen_unlocked:)
126
145
  @devtools.send_cmd('Emulation.setIdleOverride',
127
146
  isUserActive: is_user_active,
@@ -201,6 +220,6 @@ module Selenium
201
220
  end
202
221
 
203
222
  end # Emulation
204
- end # V118
223
+ end # V122
205
224
  end # DevTools
206
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 V119
23
+ module V122
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 # V119
50
+ end # V122
47
51
  end # DevTools
48
52
  end # Selenium
@@ -20,10 +20,11 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V119
23
+ module V122
24
24
  class FedCm
25
25
  EVENTS = {
26
26
  dialog_shown: 'dialogShown',
27
+ dialog_closed: 'dialogClosed',
27
28
  }.freeze
28
29
 
29
30
  def initialize(devtools)
@@ -50,9 +51,17 @@ module Selenium
50
51
  accountIndex: account_index)
51
52
  end
52
53
 
53
- def confirm_idp_login(dialog_id:)
54
- @devtools.send_cmd('FedCm.confirmIdpLogin',
55
- dialogId: dialog_id)
54
+ def click_dialog_button(dialog_id:, dialog_button:)
55
+ @devtools.send_cmd('FedCm.clickDialogButton',
56
+ dialogId: dialog_id,
57
+ dialogButton: dialog_button)
58
+ end
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)
56
65
  end
57
66
 
58
67
  def dismiss_dialog(dialog_id:, trigger_cooldown: nil)
@@ -66,6 +75,6 @@ module Selenium
66
75
  end
67
76
 
68
77
  end # FedCm
69
- end # V119
78
+ end # V122
70
79
  end # DevTools
71
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 V119
23
+ module V122
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 # V119
101
+ end # V122
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 V119
23
+ module V122
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 # V119
52
+ end # V122
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 V118
23
+ module V122
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 # V118
107
+ end # V122
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 V119
23
+ module V122
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 # V119
108
+ end # V122
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 V118
23
+ module V122
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 # V118
170
+ end # V122
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 V118
23
+ module V122
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 # V118
49
+ end # V122
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 V119
23
+ module V122
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 # V119
53
+ end # V122
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 V118
23
+ module V122
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 # V118
89
+ end # V122
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 V119
23
+ module V122
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 # V119
60
+ end # V122
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 V118
23
+ module V122
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 # V118
51
+ end # V122
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 V118
23
+ module V122
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 # V118
80
+ end # V122
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 V118
23
+ module V122
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -241,6 +241,11 @@ module Selenium
241
241
  userAgentMetadata: user_agent_metadata)
242
242
  end
243
243
 
244
+ def stream_resource_content(request_id:)
245
+ @devtools.send_cmd('Network.streamResourceContent',
246
+ requestId: request_id)
247
+ end
248
+
244
249
  def get_security_isolation_status(frame_id: nil)
245
250
  @devtools.send_cmd('Network.getSecurityIsolationStatus',
246
251
  frameId: frame_id)
@@ -259,6 +264,6 @@ module Selenium
259
264
  end
260
265
 
261
266
  end # Network
262
- end # V118
267
+ end # V122
263
268
  end # DevTools
264
269
  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 V119
23
+ module V122
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 # V119
205
+ end # V122
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 V119
23
+ module V122
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -146,10 +146,6 @@ module Selenium
146
146
  frameId: frame_id)
147
147
  end
148
148
 
149
- def get_cookies
150
- @devtools.send_cmd('Page.getCookies')
151
- end
152
-
153
149
  def get_frame_tree
154
150
  @devtools.send_cmd('Page.getFrameTree')
155
151
  end
@@ -196,7 +192,7 @@ module Selenium
196
192
  entryId: entry_id)
197
193
  end
198
194
 
199
- def print_to_pdf(landscape: nil, display_header_footer: nil, print_background: nil, scale: nil, paper_width: nil, paper_height: nil, margin_top: nil, margin_bottom: nil, margin_left: nil, margin_right: nil, page_ranges: nil, header_template: nil, footer_template: nil, prefer_css_page_size: nil, transfer_mode: nil, generate_tagged_pdf: nil)
195
+ def print_to_pdf(landscape: nil, display_header_footer: nil, print_background: nil, scale: nil, paper_width: nil, paper_height: nil, margin_top: nil, margin_bottom: nil, margin_left: nil, margin_right: nil, page_ranges: nil, header_template: nil, footer_template: nil, prefer_css_page_size: nil, transfer_mode: nil, generate_tagged_pdf: nil, generate_document_outline: nil)
200
196
  @devtools.send_cmd('Page.printToPDF',
201
197
  landscape: landscape,
202
198
  displayHeaderFooter: display_header_footer,
@@ -213,7 +209,8 @@ module Selenium
213
209
  footerTemplate: footer_template,
214
210
  preferCSSPageSize: prefer_css_page_size,
215
211
  transferMode: transfer_mode,
216
- generateTaggedPDF: generate_tagged_pdf)
212
+ generateTaggedPDF: generate_tagged_pdf,
213
+ generateDocumentOutline: generate_document_outline)
217
214
  end
218
215
 
219
216
  def reload(ignore_cache: nil, script_to_evaluate_on_load: nil)
@@ -406,6 +403,6 @@ module Selenium
406
403
  end
407
404
 
408
405
  end # Page
409
- end # V119
406
+ end # V122
410
407
  end # DevTools
411
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 V119
23
+ module V122
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 # V119
57
+ end # V122
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 V118
23
+ module V122
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 # V118
44
+ end # V122
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 V118
23
+ module V122
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 # V118
52
+ end # V122
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 V119
23
+ module V122
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 # V119
81
+ end # V122
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 V118
23
+ module V122
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 # V118
200
+ end # V122
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 V119
23
+ module V122
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 # V119
40
+ end # V122
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 V118
23
+ module V122
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 # V118
65
+ end # V122
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 V119
23
+ module V122
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 # V119
110
+ end # V122
111
111
  end # DevTools
112
112
  end # Selenium