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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c7a77a505fabdd09a7e925800a2cd5d69b310051dd329e3f7d31c964d4910bc
4
- data.tar.gz: ce802b3fa9f12bc716615f05e02588da9c45cb564911b6a00f41462fb5d65fae
3
+ metadata.gz: 763bcdbee6291c18dbf49a5480ffad0bd53f4deac0722a6e1eda7b19e5fee975
4
+ data.tar.gz: ea1b67402f3a48ff44b51542ffba94c5168831adf57a9be0a00b46939922ceda
5
5
  SHA512:
6
- metadata.gz: d68512c96a7aeb6b837ee0704d80520ad4a596ede8601cda29c179ef220f64ca67d636cf41e3c0bb014e053ef51f0fbd5888e2246989670caafeb33e0799ad22
7
- data.tar.gz: e4a4d666d57b89c7423ad486223838193e054c7dff387e5bc9a336f7b9b66701c35c87fe20195842e540ae5d69051857ad27967ae847f66cb0de55eed486e39c
6
+ metadata.gz: f4374ba075a37a8119a820ad87810818c9317dbd1a2a18f7253744244b37a0c45af0b6977ff27be334aa9ed45e5085bdcbe22b3d089ccbb3c353ff80d71d1080
7
+ data.tar.gz: 35a1ef327d11a4cae13361f6f48604964f10690c6a431feeb9582871054c7e25e3afb35c30349e2c2da76af04f754b512c855d3d59fb97a2091440caadc2c734
@@ -48,8 +48,14 @@ module Selenium
48
48
  fetchRelatives: fetch_relatives)
49
49
  end
50
50
 
51
- def get_full_ax_tree
52
- @devtools.send_cmd('Accessibility.getFullAXTree')
51
+ def get_full_ax_tree(max_depth: nil)
52
+ @devtools.send_cmd('Accessibility.getFullAXTree',
53
+ max_depth: max_depth)
54
+ end
55
+
56
+ def get_child_ax_nodes(id:)
57
+ @devtools.send_cmd('Accessibility.getChildAXNodes',
58
+ id: id)
53
59
  end
54
60
 
55
61
  def query_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, accessible_name: nil, role: nil)
@@ -67,13 +67,6 @@ module Selenium
67
67
  timeout: timeout)
68
68
  end
69
69
 
70
- def execute_wasm_evaluator(call_frame_id:, evaluator:, timeout: nil)
71
- @devtools.send_cmd('Debugger.executeWasmEvaluator',
72
- callFrameId: call_frame_id,
73
- evaluator: evaluator,
74
- timeout: timeout)
75
- end
76
-
77
70
  def get_possible_breakpoints(start:, _end: nil, restrict_to_function: nil)
78
71
  @devtools.send_cmd('Debugger.getPossibleBreakpoints',
79
72
  start: start,
@@ -44,6 +44,7 @@ module Selenium
44
44
  web_transport_closed: 'webTransportClosed',
45
45
  request_will_be_sent_extra_info: 'requestWillBeSentExtraInfo',
46
46
  response_received_extra_info: 'responseReceivedExtraInfo',
47
+ trust_token_operation_done: 'trustTokenOperationDone',
47
48
  }.freeze
48
49
 
49
50
  def initialize(devtools)
@@ -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 V89
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 # V89
45
+ end # DevTools
46
+ end # Selenium
@@ -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
@@ -56,7 +56,7 @@ module Selenium
56
56
  levelOfDetail: level_of_detail)
57
57
  end
58
58
 
59
- def start(categories: nil, options: nil, buffer_usage_reporting_interval: nil, transfer_mode: nil, stream_format: nil, stream_compression: nil, trace_config: nil)
59
+ def start(categories: nil, options: nil, buffer_usage_reporting_interval: nil, transfer_mode: nil, stream_format: nil, stream_compression: nil, trace_config: nil, perfetto_config: nil)
60
60
  @devtools.send_cmd('Tracing.start',
61
61
  categories: categories,
62
62
  options: options,
@@ -64,7 +64,8 @@ module Selenium
64
64
  transferMode: transfer_mode,
65
65
  streamFormat: stream_format,
66
66
  streamCompression: stream_compression,
67
- traceConfig: trace_config)
67
+ traceConfig: trace_config,
68
+ perfettoConfig: perfetto_config)
68
69
  end
69
70
 
70
71
  end # Tracing
@@ -0,0 +1 @@
1
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v90/*", &method(:require))
@@ -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 V90
24
24
  class Accessibility
25
25
 
26
26
  def initialize(devtools)
@@ -48,8 +48,14 @@ module Selenium
48
48
  fetchRelatives: fetch_relatives)
49
49
  end
50
50
 
51
- def get_full_ax_tree
52
- @devtools.send_cmd('Accessibility.getFullAXTree')
51
+ def get_full_ax_tree(max_depth: nil)
52
+ @devtools.send_cmd('Accessibility.getFullAXTree',
53
+ max_depth: max_depth)
54
+ end
55
+
56
+ def get_child_ax_nodes(id:)
57
+ @devtools.send_cmd('Accessibility.getChildAXNodes',
58
+ id: id)
53
59
  end
54
60
 
55
61
  def query_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, accessible_name: nil, role: nil)
@@ -62,6 +68,6 @@ module Selenium
62
68
  end
63
69
 
64
70
  end # Accessibility
65
- end # V87
71
+ end # V90
66
72
  end # DevTools
67
73
  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 V90
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 # V86
92
+ end # V90
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 V87
23
+ module V90
24
24
  class ApplicationCache
25
25
  EVENTS = {
26
26
  application_cache_status_updated: 'applicationCacheStatusUpdated',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # ApplicationCache
58
- end # V87
58
+ end # V90
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 V86
23
+ module V90
24
24
  class Audits
25
25
  EVENTS = {
26
26
  issue_added: 'issueAdded',
@@ -51,7 +51,12 @@ module Selenium
51
51
  @devtools.send_cmd('Audits.enable')
52
52
  end
53
53
 
54
+ def check_contrast(report_aaa: nil)
55
+ @devtools.send_cmd('Audits.checkContrast',
56
+ reportAAA: report_aaa)
57
+ end
58
+
54
59
  end # Audits
55
- end # V86
60
+ end # V90
56
61
  end # DevTools
57
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 V90
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 # V86
61
+ end # V90
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 V86
23
+ module V90
24
24
  class Browser
25
25
 
26
26
  def initialize(devtools)
@@ -113,7 +113,12 @@ module Selenium
113
113
  image: image)
114
114
  end
115
115
 
116
+ def execute_browser_command(command_id:)
117
+ @devtools.send_cmd('Browser.executeBrowserCommand',
118
+ commandId: command_id)
119
+ end
120
+
116
121
  end # Browser
117
- end # V86
122
+ end # V90
118
123
  end # DevTools
119
124
  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 V90
24
24
  class CacheStorage
25
25
 
26
26
  def initialize(devtools)
@@ -64,6 +64,6 @@ module Selenium
64
64
  end
65
65
 
66
66
  end # CacheStorage
67
- end # V86
67
+ end # V90
68
68
  end # DevTools
69
69
  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 V90
24
24
  class Cast
25
25
  EVENTS = {
26
26
  sinks_updated: 'sinksUpdated',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # Cast
64
- end # V87
64
+ end # V90
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 V87
23
+ module V90
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 # V87
51
+ end # V90
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 V86
23
+ module V90
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -170,6 +170,6 @@ module Selenium
170
170
  end
171
171
 
172
172
  end # CSS
173
- end # V86
173
+ end # V90
174
174
  end # DevTools
175
175
  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 V90
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 # V87
58
+ end # V90
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 V86
23
+ module V90
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -67,13 +67,6 @@ module Selenium
67
67
  timeout: timeout)
68
68
  end
69
69
 
70
- def execute_wasm_evaluator(call_frame_id:, evaluator:, timeout: nil)
71
- @devtools.send_cmd('Debugger.executeWasmEvaluator',
72
- callFrameId: call_frame_id,
73
- evaluator: evaluator,
74
- timeout: timeout)
75
- end
76
-
77
70
  def get_possible_breakpoints(start:, _end: nil, restrict_to_function: nil)
78
71
  @devtools.send_cmd('Debugger.getPossibleBreakpoints',
79
72
  start: start,
@@ -222,6 +215,6 @@ module Selenium
222
215
  end
223
216
 
224
217
  end # Debugger
225
- end # V86
218
+ end # V90
226
219
  end # DevTools
227
220
  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 V90
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 # V87
47
+ end # V90
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 V87
23
+ module V90
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -318,6 +318,6 @@ module Selenium
318
318
  end
319
319
 
320
320
  end # DOM
321
- end # V87
321
+ end # V90
322
322
  end # DevTools
323
323
  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 V90
24
24
  class DOMDebugger
25
25
 
26
26
  def initialize(devtools)
@@ -61,6 +61,11 @@ module Selenium
61
61
  url: url)
62
62
  end
63
63
 
64
+ def set_break_on_csp_violation(violation_types:)
65
+ @devtools.send_cmd('DOMDebugger.setBreakOnCSPViolation',
66
+ violationTypes: violation_types)
67
+ end
68
+
64
69
  def set_dom_breakpoint(node_id:, type:)
65
70
  @devtools.send_cmd('DOMDebugger.setDOMBreakpoint',
66
71
  nodeId: node_id,
@@ -84,6 +89,6 @@ module Selenium
84
89
  end
85
90
 
86
91
  end # DOMDebugger
87
- end # V86
92
+ end # V90
88
93
  end # DevTools
89
94
  end # Selenium