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.
- checksums.yaml +4 -4
- data/lib/selenium/devtools/v89/accessibility.rb +8 -2
- data/lib/selenium/devtools/v89/debugger.rb +0 -7
- data/lib/selenium/devtools/v89/network.rb +1 -0
- data/lib/selenium/devtools/v89/performance_timeline.rb +46 -0
- data/lib/selenium/devtools/v89/runtime.rb +3 -2
- data/lib/selenium/devtools/v89/tracing.rb +3 -2
- data/lib/selenium/devtools/v90.rb +1 -0
- data/lib/selenium/devtools/{v87 → v90}/accessibility.rb +10 -4
- data/lib/selenium/devtools/{v86 → v90}/animation.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/audits.rb +7 -2
- data/lib/selenium/devtools/{v86 → v90}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/browser.rb +7 -2
- data/lib/selenium/devtools/{v86 → v90}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/cast.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/console.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/css.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/database.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/debugger.rb +2 -9
- data/lib/selenium/devtools/{v87 → v90}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/dom.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/dom_debugger.rb +7 -2
- data/lib/selenium/devtools/{v86 → v90}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v87 → v90}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/input.rb +8 -3
- data/lib/selenium/devtools/{v87 → v90}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/io.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/log.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/media.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/memory.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/network.rb +13 -6
- data/lib/selenium/devtools/{v86 → v90}/overlay.rb +12 -2
- data/lib/selenium/devtools/{v86 → v90}/page.rb +11 -4
- data/lib/selenium/devtools/{v86 → v90}/performance.rb +2 -2
- data/lib/selenium/devtools/v90/performance_timeline.rb +46 -0
- data/lib/selenium/devtools/{v87 → v90}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v87 → v90}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v86 → v90}/schema.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/security.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/storage.rb +12 -2
- data/lib/selenium/devtools/{v86 → v90}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/target.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/tracing.rb +8 -6
- data/lib/selenium/devtools/{v86 → v90}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v86 → v90}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v91.rb +1 -0
- data/lib/selenium/devtools/{v86 → v91}/accessibility.rb +19 -4
- data/lib/selenium/devtools/{v87 → v91}/animation.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/audits.rb +7 -2
- data/lib/selenium/devtools/{v87 → v91}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/browser.rb +20 -4
- data/lib/selenium/devtools/{v87 → v91}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/cast.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/console.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/css.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/database.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/debugger.rb +2 -9
- data/lib/selenium/devtools/{v86 → v91}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/dom.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/dom_debugger.rb +7 -2
- data/lib/selenium/devtools/{v87 → v91}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v86 → v91}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/input.rb +25 -3
- data/lib/selenium/devtools/{v86 → v91}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/io.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/log.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/media.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/memory.rb +2 -2
- data/lib/selenium/devtools/{v86 → v91}/network.rb +32 -4
- data/lib/selenium/devtools/{v87 → v91}/overlay.rb +17 -2
- data/lib/selenium/devtools/{v87 → v91}/page.rb +16 -4
- data/lib/selenium/devtools/{v87 → v91}/performance.rb +2 -2
- data/lib/selenium/devtools/v91/performance_timeline.rb +46 -0
- data/lib/selenium/devtools/{v86 → v91}/profiler.rb +14 -2
- data/lib/selenium/devtools/{v86 → v91}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v87 → v91}/schema.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/security.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/storage.rb +17 -2
- data/lib/selenium/devtools/{v87 → v91}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/target.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/tracing.rb +9 -6
- data/lib/selenium/devtools/{v87 → v91}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v87 → v91}/web_authn.rb +2 -2
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +97 -94
- data/lib/selenium/devtools/v86.rb +0 -1
- data/lib/selenium/devtools/v87.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 763bcdbee6291c18dbf49a5480ffad0bd53f4deac0722a6e1eda7b19e5fee975
|
4
|
+
data.tar.gz: ea1b67402f3a48ff44b51542ffba94c5168831adf57a9be0a00b46939922ceda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
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
|
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 #
|
92
|
+
end # V90
|
88
93
|
end # DevTools
|
89
94
|
end # Selenium
|