selenium-devtools 0.89.0 → 0.91.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/v89/accessibility.rb +8 -2
  3. data/lib/selenium/devtools/v89/debugger.rb +0 -7
  4. data/lib/selenium/devtools/v89/network.rb +1 -0
  5. data/lib/selenium/devtools/v89/performance_timeline.rb +46 -0
  6. data/lib/selenium/devtools/v89/runtime.rb +3 -2
  7. data/lib/selenium/devtools/v89/tracing.rb +3 -2
  8. data/lib/selenium/devtools/v90.rb +1 -0
  9. data/lib/selenium/devtools/{v87 → v90}/accessibility.rb +10 -4
  10. data/lib/selenium/devtools/{v86 → v90}/animation.rb +2 -2
  11. data/lib/selenium/devtools/{v87 → v90}/application_cache.rb +2 -2
  12. data/lib/selenium/devtools/{v86 → v90}/audits.rb +7 -2
  13. data/lib/selenium/devtools/{v86 → v90}/background_service.rb +2 -2
  14. data/lib/selenium/devtools/{v86 → v90}/browser.rb +7 -2
  15. data/lib/selenium/devtools/{v86 → v90}/cache_storage.rb +2 -2
  16. data/lib/selenium/devtools/{v87 → v90}/cast.rb +2 -2
  17. data/lib/selenium/devtools/{v87 → v90}/console.rb +2 -2
  18. data/lib/selenium/devtools/{v86 → v90}/css.rb +2 -2
  19. data/lib/selenium/devtools/{v87 → v90}/database.rb +2 -2
  20. data/lib/selenium/devtools/{v86 → v90}/debugger.rb +2 -9
  21. data/lib/selenium/devtools/{v87 → v90}/device_orientation.rb +2 -2
  22. data/lib/selenium/devtools/{v87 → v90}/dom.rb +2 -2
  23. data/lib/selenium/devtools/{v86 → v90}/dom_debugger.rb +7 -2
  24. data/lib/selenium/devtools/{v86 → v90}/dom_snapshot.rb +2 -2
  25. data/lib/selenium/devtools/{v86 → v90}/dom_storage.rb +2 -2
  26. data/lib/selenium/devtools/{v87 → v90}/emulation.rb +7 -2
  27. data/lib/selenium/devtools/{v87 → v90}/fetch.rb +2 -2
  28. data/lib/selenium/devtools/{v87 → v90}/headless_experimental.rb +2 -2
  29. data/lib/selenium/devtools/{v87 → v90}/heap_profiler.rb +2 -2
  30. data/lib/selenium/devtools/{v86 → v90}/indexed_db.rb +2 -2
  31. data/lib/selenium/devtools/{v86 → v90}/input.rb +8 -3
  32. data/lib/selenium/devtools/{v87 → v90}/inspector.rb +2 -2
  33. data/lib/selenium/devtools/{v86 → v90}/io.rb +2 -2
  34. data/lib/selenium/devtools/{v86 → v90}/layer_tree.rb +2 -2
  35. data/lib/selenium/devtools/{v87 → v90}/log.rb +2 -2
  36. data/lib/selenium/devtools/{v87 → v90}/media.rb +2 -2
  37. data/lib/selenium/devtools/{v86 → v90}/memory.rb +2 -2
  38. data/lib/selenium/devtools/{v87 → v90}/network.rb +13 -6
  39. data/lib/selenium/devtools/{v86 → v90}/overlay.rb +12 -2
  40. data/lib/selenium/devtools/{v86 → v90}/page.rb +11 -4
  41. data/lib/selenium/devtools/{v86 → v90}/performance.rb +2 -2
  42. data/lib/selenium/devtools/v90/performance_timeline.rb +46 -0
  43. data/lib/selenium/devtools/{v87 → v90}/profiler.rb +2 -2
  44. data/lib/selenium/devtools/{v87 → v90}/runtime.rb +8 -6
  45. data/lib/selenium/devtools/{v86 → v90}/schema.rb +2 -2
  46. data/lib/selenium/devtools/{v86 → v90}/security.rb +2 -2
  47. data/lib/selenium/devtools/{v86 → v90}/service_worker.rb +2 -2
  48. data/lib/selenium/devtools/{v86 → v90}/storage.rb +12 -2
  49. data/lib/selenium/devtools/{v86 → v90}/system_info.rb +2 -2
  50. data/lib/selenium/devtools/{v86 → v90}/target.rb +2 -2
  51. data/lib/selenium/devtools/{v86 → v90}/tethering.rb +2 -2
  52. data/lib/selenium/devtools/{v86 → v90}/tracing.rb +8 -6
  53. data/lib/selenium/devtools/{v86 → v90}/web_audio.rb +2 -2
  54. data/lib/selenium/devtools/{v86 → v90}/web_authn.rb +2 -2
  55. data/lib/selenium/devtools/v91.rb +1 -0
  56. data/lib/selenium/devtools/{v86 → v91}/accessibility.rb +19 -4
  57. data/lib/selenium/devtools/{v87 → v91}/animation.rb +2 -2
  58. data/lib/selenium/devtools/{v86 → v91}/application_cache.rb +2 -2
  59. data/lib/selenium/devtools/{v87 → v91}/audits.rb +7 -2
  60. data/lib/selenium/devtools/{v87 → v91}/background_service.rb +2 -2
  61. data/lib/selenium/devtools/{v87 → v91}/browser.rb +20 -4
  62. data/lib/selenium/devtools/{v87 → v91}/cache_storage.rb +2 -2
  63. data/lib/selenium/devtools/{v86 → v91}/cast.rb +2 -2
  64. data/lib/selenium/devtools/{v86 → v91}/console.rb +2 -2
  65. data/lib/selenium/devtools/{v87 → v91}/css.rb +2 -2
  66. data/lib/selenium/devtools/{v86 → v91}/database.rb +2 -2
  67. data/lib/selenium/devtools/{v87 → v91}/debugger.rb +2 -9
  68. data/lib/selenium/devtools/{v86 → v91}/device_orientation.rb +2 -2
  69. data/lib/selenium/devtools/{v86 → v91}/dom.rb +2 -2
  70. data/lib/selenium/devtools/{v87 → v91}/dom_debugger.rb +7 -2
  71. data/lib/selenium/devtools/{v87 → v91}/dom_snapshot.rb +2 -2
  72. data/lib/selenium/devtools/{v87 → v91}/dom_storage.rb +2 -2
  73. data/lib/selenium/devtools/{v86 → v91}/emulation.rb +7 -2
  74. data/lib/selenium/devtools/{v86 → v91}/fetch.rb +2 -2
  75. data/lib/selenium/devtools/{v86 → v91}/headless_experimental.rb +2 -2
  76. data/lib/selenium/devtools/{v86 → v91}/heap_profiler.rb +2 -2
  77. data/lib/selenium/devtools/{v87 → v91}/indexed_db.rb +2 -2
  78. data/lib/selenium/devtools/{v87 → v91}/input.rb +25 -3
  79. data/lib/selenium/devtools/{v86 → v91}/inspector.rb +2 -2
  80. data/lib/selenium/devtools/{v87 → v91}/io.rb +2 -2
  81. data/lib/selenium/devtools/{v87 → v91}/layer_tree.rb +2 -2
  82. data/lib/selenium/devtools/{v86 → v91}/log.rb +2 -2
  83. data/lib/selenium/devtools/{v86 → v91}/media.rb +2 -2
  84. data/lib/selenium/devtools/{v87 → v91}/memory.rb +2 -2
  85. data/lib/selenium/devtools/{v86 → v91}/network.rb +32 -4
  86. data/lib/selenium/devtools/{v87 → v91}/overlay.rb +17 -2
  87. data/lib/selenium/devtools/{v87 → v91}/page.rb +16 -4
  88. data/lib/selenium/devtools/{v87 → v91}/performance.rb +2 -2
  89. data/lib/selenium/devtools/v91/performance_timeline.rb +46 -0
  90. data/lib/selenium/devtools/{v86 → v91}/profiler.rb +14 -2
  91. data/lib/selenium/devtools/{v86 → v91}/runtime.rb +8 -6
  92. data/lib/selenium/devtools/{v87 → v91}/schema.rb +2 -2
  93. data/lib/selenium/devtools/{v87 → v91}/security.rb +2 -2
  94. data/lib/selenium/devtools/{v87 → v91}/service_worker.rb +2 -2
  95. data/lib/selenium/devtools/{v87 → v91}/storage.rb +17 -2
  96. data/lib/selenium/devtools/{v87 → v91}/system_info.rb +2 -2
  97. data/lib/selenium/devtools/{v87 → v91}/target.rb +2 -2
  98. data/lib/selenium/devtools/{v87 → v91}/tethering.rb +2 -2
  99. data/lib/selenium/devtools/{v87 → v91}/tracing.rb +9 -6
  100. data/lib/selenium/devtools/{v87 → v91}/web_audio.rb +2 -2
  101. data/lib/selenium/devtools/{v87 → v91}/web_authn.rb +2 -2
  102. data/lib/selenium/devtools/version.rb +1 -1
  103. metadata +97 -94
  104. data/lib/selenium/devtools/v86.rb +0 -1
  105. data/lib/selenium/devtools/v87.rb +0 -1
@@ -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 V87
23
+ module V91
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 # V87
53
+ end # V91
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 V87
23
+ module V91
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 # V87
89
+ end # V91
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 V86
23
+ module V91
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 # V86
60
+ end # V91
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 V86
23
+ module V91
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 # V86
51
+ end # V91
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 V87
23
+ module V91
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 # V87
80
+ end # V91
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 V86
23
+ module V91
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -40,8 +40,12 @@ module Selenium
40
40
  web_socket_frame_sent: 'webSocketFrameSent',
41
41
  web_socket_handshake_response_received: 'webSocketHandshakeResponseReceived',
42
42
  web_socket_will_send_handshake_request: 'webSocketWillSendHandshakeRequest',
43
+ web_transport_created: 'webTransportCreated',
44
+ web_transport_connection_established: 'webTransportConnectionEstablished',
45
+ web_transport_closed: 'webTransportClosed',
43
46
  request_will_be_sent_extra_info: 'requestWillBeSentExtraInfo',
44
47
  response_received_extra_info: 'responseReceivedExtraInfo',
48
+ trust_token_operation_done: 'trustTokenOperationDone',
45
49
  }.freeze
46
50
 
47
51
  def initialize(devtools)
@@ -53,6 +57,15 @@ module Selenium
53
57
  @devtools.callbacks["Network.#{event}"] << block
54
58
  end
55
59
 
60
+ def set_accepted_encodings(encodings:)
61
+ @devtools.send_cmd('Network.setAcceptedEncodings',
62
+ encodings: encodings)
63
+ end
64
+
65
+ def clear_accepted_encodings_override
66
+ @devtools.send_cmd('Network.clearAcceptedEncodingsOverride')
67
+ end
68
+
56
69
  def can_clear_browser_cache
57
70
  @devtools.send_cmd('Network.canClearBrowserCache')
58
71
  end
@@ -175,7 +188,7 @@ module Selenium
175
188
  cacheDisabled: cache_disabled)
176
189
  end
177
190
 
178
- def set_cookie(name:, value:, url: nil, domain: nil, path: nil, secure: nil, http_only: nil, same_site: nil, expires: nil, priority: nil)
191
+ def set_cookie(name:, value:, url: nil, domain: nil, path: nil, secure: nil, http_only: nil, same_site: nil, expires: nil, priority: nil, same_party: nil, source_scheme: nil, source_port: nil)
179
192
  @devtools.send_cmd('Network.setCookie',
180
193
  name: name,
181
194
  value: value,
@@ -186,7 +199,10 @@ module Selenium
186
199
  httpOnly: http_only,
187
200
  sameSite: same_site,
188
201
  expires: expires,
189
- priority: priority)
202
+ priority: priority,
203
+ sameParty: same_party,
204
+ sourceScheme: source_scheme,
205
+ sourcePort: source_port)
190
206
  end
191
207
 
192
208
  def set_cookies(cookies:)
@@ -205,6 +221,11 @@ module Selenium
205
221
  headers: headers)
206
222
  end
207
223
 
224
+ def set_attach_debug_stack(enabled:)
225
+ @devtools.send_cmd('Network.setAttachDebugStack',
226
+ enabled: enabled)
227
+ end
228
+
208
229
  def set_request_interception(patterns:)
209
230
  @devtools.send_cmd('Network.setRequestInterception',
210
231
  patterns: patterns)
@@ -223,7 +244,14 @@ module Selenium
223
244
  frameId: frame_id)
224
245
  end
225
246
 
247
+ def load_network_resource(frame_id:, url:, options:)
248
+ @devtools.send_cmd('Network.loadNetworkResource',
249
+ frameId: frame_id,
250
+ url: url,
251
+ options: options)
252
+ end
253
+
226
254
  end # Network
227
- end # V86
255
+ end # V91
228
256
  end # DevTools
229
257
  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 V87
23
+ module V91
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -141,6 +141,16 @@ module Selenium
141
141
  gridNodeHighlightConfigs: grid_node_highlight_configs)
142
142
  end
143
143
 
144
+ def set_show_flex_overlays(flex_node_highlight_configs:)
145
+ @devtools.send_cmd('Overlay.setShowFlexOverlays',
146
+ flexNodeHighlightConfigs: flex_node_highlight_configs)
147
+ end
148
+
149
+ def set_show_scroll_snap_overlays(scroll_snap_highlight_configs:)
150
+ @devtools.send_cmd('Overlay.setShowScrollSnapOverlays',
151
+ scrollSnapHighlightConfigs: scroll_snap_highlight_configs)
152
+ end
153
+
144
154
  def set_show_paint_rects(result:)
145
155
  @devtools.send_cmd('Overlay.setShowPaintRects',
146
156
  result: result)
@@ -161,6 +171,11 @@ module Selenium
161
171
  show: show)
162
172
  end
163
173
 
174
+ def set_show_web_vitals(show:)
175
+ @devtools.send_cmd('Overlay.setShowWebVitals',
176
+ show: show)
177
+ end
178
+
164
179
  def set_show_viewport_size_on_resize(show:)
165
180
  @devtools.send_cmd('Overlay.setShowViewportSizeOnResize',
166
181
  show: show)
@@ -172,6 +187,6 @@ module Selenium
172
187
  end
173
188
 
174
189
  end # Overlay
175
- end # V87
190
+ end # V91
176
191
  end # DevTools
177
192
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V87
23
+ module V91
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -29,6 +29,7 @@ module Selenium
29
29
  frame_cleared_scheduled_navigation: 'frameClearedScheduledNavigation',
30
30
  frame_detached: 'frameDetached',
31
31
  frame_navigated: 'frameNavigated',
32
+ document_opened: 'documentOpened',
32
33
  frame_resized: 'frameResized',
33
34
  frame_requested_navigation: 'frameRequestedNavigation',
34
35
  frame_scheduled_navigation: 'frameScheduledNavigation',
@@ -73,12 +74,13 @@ module Selenium
73
74
  @devtools.send_cmd('Page.bringToFront')
74
75
  end
75
76
 
76
- def capture_screenshot(format: nil, quality: nil, clip: nil, from_surface: nil)
77
+ def capture_screenshot(format: nil, quality: nil, clip: nil, from_surface: nil, capture_beyond_viewport: nil)
77
78
  @devtools.send_cmd('Page.captureScreenshot',
78
79
  format: format,
79
80
  quality: quality,
80
81
  clip: clip,
81
- fromSurface: from_surface)
82
+ fromSurface: from_surface,
83
+ captureBeyondViewport: capture_beyond_viewport)
82
84
  end
83
85
 
84
86
  def capture_snapshot(format: nil)
@@ -241,6 +243,11 @@ module Selenium
241
243
  enabled: enabled)
242
244
  end
243
245
 
246
+ def get_permissions_policy_state(frame_id:)
247
+ @devtools.send_cmd('Page.getPermissionsPolicyState',
248
+ frameId: frame_id)
249
+ end
250
+
244
251
  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)
245
252
  @devtools.send_cmd('Page.setDeviceMetricsOverride',
246
253
  width: width,
@@ -339,6 +346,11 @@ module Selenium
339
346
  enabled: enabled)
340
347
  end
341
348
 
349
+ def produce_compilation_cache(scripts:)
350
+ @devtools.send_cmd('Page.produceCompilationCache',
351
+ scripts: scripts)
352
+ end
353
+
342
354
  def add_compilation_cache(url:, data:)
343
355
  @devtools.send_cmd('Page.addCompilationCache',
344
356
  url: url,
@@ -365,6 +377,6 @@ module Selenium
365
377
  end
366
378
 
367
379
  end # Page
368
- end # V87
380
+ end # V91
369
381
  end # DevTools
370
382
  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 V87
23
+ module V91
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 # V87
57
+ end # V91
58
58
  end # DevTools
59
59
  end # Selenium
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Licensed to the Software Freedom Conservancy (SFC) under one
4
+ # or more contributor license agreements. See the NOTICE file
5
+ # distributed with this work for additional information
6
+ # regarding copyright ownership. The SFC licenses this file
7
+ # to you under the Apache License, Version 2.0 (the
8
+ # "License"); you may not use this file except in compliance
9
+ # with the License. You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing,
14
+ # software distributed under the License is distributed on an
15
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ # KIND, either express or implied. See the License for the
17
+ # specific language governing permissions and limitations
18
+ # under the License.
19
+
20
+ # This file is automatically generated. Any changes will be lost!
21
+ module Selenium
22
+ module DevTools
23
+ module V91
24
+ class PerformanceTimeline
25
+ EVENTS = {
26
+ timeline_event_added: 'timelineEventAdded',
27
+ }.freeze
28
+
29
+ def initialize(devtools)
30
+ @devtools = devtools
31
+ end
32
+
33
+ def on(event, &block)
34
+ event = EVENTS[event] if event.is_a?(Symbol)
35
+ @devtools.callbacks["PerformanceTimeline.#{event}"] << block
36
+ end
37
+
38
+ def enable(event_types:)
39
+ @devtools.send_cmd('PerformanceTimeline.enable',
40
+ eventTypes: event_types)
41
+ end
42
+
43
+ end # PerformanceTimeline
44
+ end # V91
45
+ end # DevTools
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 V86
23
+ module V91
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -89,6 +89,18 @@ module Selenium
89
89
  @devtools.send_cmd('Profiler.takeTypeProfile')
90
90
  end
91
91
 
92
+ def enable_counters
93
+ @devtools.send_cmd('Profiler.enableCounters')
94
+ end
95
+
96
+ def disable_counters
97
+ @devtools.send_cmd('Profiler.disableCounters')
98
+ end
99
+
100
+ def get_counters
101
+ @devtools.send_cmd('Profiler.getCounters')
102
+ end
103
+
92
104
  def enable_runtime_call_stats
93
105
  @devtools.send_cmd('Profiler.enableRuntimeCallStats')
94
106
  end
@@ -102,6 +114,6 @@ module Selenium
102
114
  end
103
115
 
104
116
  end # Profiler
105
- end # V86
117
+ end # V91
106
118
  end # DevTools
107
119
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V86
23
+ module V91
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -83,7 +83,7 @@ module Selenium
83
83
  @devtools.send_cmd('Runtime.enable')
84
84
  end
85
85
 
86
- 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)
86
+ 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)
87
87
  @devtools.send_cmd('Runtime.evaluate',
88
88
  expression: expression,
89
89
  objectGroup: object_group,
@@ -98,7 +98,8 @@ module Selenium
98
98
  timeout: timeout,
99
99
  disableBreaks: disable_breaks,
100
100
  replMode: repl_mode,
101
- allowUnsafeEvalBlockedByCSP: allow_unsafe_eval_blocked_by_csp)
101
+ allowUnsafeEvalBlockedByCSP: allow_unsafe_eval_blocked_by_csp,
102
+ uniqueContextId: unique_context_id)
102
103
  end
103
104
 
104
105
  def get_isolate_id
@@ -173,10 +174,11 @@ module Selenium
173
174
  @devtools.send_cmd('Runtime.terminateExecution')
174
175
  end
175
176
 
176
- def add_binding(name:, execution_context_id: nil)
177
+ def add_binding(name:, execution_context_id: nil, execution_context_name: nil)
177
178
  @devtools.send_cmd('Runtime.addBinding',
178
179
  name: name,
179
- executionContextId: execution_context_id)
180
+ executionContextId: execution_context_id,
181
+ executionContextName: execution_context_name)
180
182
  end
181
183
 
182
184
  def remove_binding(name:)
@@ -185,6 +187,6 @@ module Selenium
185
187
  end
186
188
 
187
189
  end # Runtime
188
- end # V86
190
+ end # V91
189
191
  end # DevTools
190
192
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V87
23
+ module V91
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 # V87
40
+ end # V91
41
41
  end # DevTools
42
42
  end # Selenium