selenium-devtools 0.93.0 → 0.97.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/NOTICE +1 -1
- data/lib/selenium/devtools/README.md +7 -0
- data/lib/selenium/devtools/{v93 → v95}/accessibility.rb +9 -6
- data/lib/selenium/devtools/{v93 → v95}/animation.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/audits.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/browser.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/cast.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/console.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/css.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/database.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/dom.rb +7 -2
- data/lib/selenium/devtools/{v92 → v95}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v92 → v95}/fetch.rb +14 -4
- data/lib/selenium/devtools/{v93 → v95}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/input.rb +11 -2
- data/lib/selenium/devtools/{v92 → v95}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/io.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/log.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/media.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/memory.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/network.rb +10 -3
- data/lib/selenium/devtools/{v93 → v95}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/page.rb +11 -2
- data/lib/selenium/devtools/{v92 → v95}/performance.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/profiler.rb +2 -26
- data/lib/selenium/devtools/{v93 → v95}/runtime.rb +5 -4
- data/lib/selenium/devtools/{v93 → v95}/schema.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/security.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/storage.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v93 → v95}/target.rb +8 -2
- data/lib/selenium/devtools/{v92 → v95}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v95.rb +1 -0
- data/lib/selenium/devtools/{v92 → v96}/accessibility.rb +9 -6
- data/lib/selenium/devtools/{v92 → v96}/animation.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/audits.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/browser.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/cast.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/console.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/css.rb +9 -2
- data/lib/selenium/devtools/{v93 → v96}/database.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/dom.rb +13 -2
- data/lib/selenium/devtools/{v93 → v96}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v93 → v96}/fetch.rb +14 -4
- data/lib/selenium/devtools/{v92 → v96}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/input.rb +11 -2
- data/lib/selenium/devtools/{v93 → v96}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/io.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/log.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/media.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/memory.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/network.rb +14 -9
- data/lib/selenium/devtools/{v92 → v96}/overlay.rb +12 -2
- data/lib/selenium/devtools/{v93 → v96}/page.rb +11 -2
- data/lib/selenium/devtools/{v93 → v96}/performance.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/profiler.rb +2 -26
- data/lib/selenium/devtools/{v92 → v96}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v92 → v96}/schema.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/security.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/storage.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v92 → v96}/target.rb +8 -2
- data/lib/selenium/devtools/{v93 → v96}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v93 → v96}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v96.rb +1 -0
- data/lib/selenium/devtools/v97/accessibility.rb +76 -0
- data/lib/selenium/devtools/v97/animation.rb +94 -0
- data/lib/selenium/devtools/v97/audits.rb +62 -0
- data/lib/selenium/devtools/v97/background_service.rb +63 -0
- data/lib/selenium/devtools/v97/browser.rb +135 -0
- data/lib/selenium/devtools/v97/cache_storage.rb +69 -0
- data/lib/selenium/devtools/v97/cast.rb +66 -0
- data/lib/selenium/devtools/v97/console.rb +53 -0
- data/lib/selenium/devtools/v97/css.rb +182 -0
- data/lib/selenium/devtools/v97/database.rb +60 -0
- data/lib/selenium/devtools/v97/debugger.rb +220 -0
- data/lib/selenium/devtools/v97/device_orientation.rb +49 -0
- data/lib/selenium/devtools/v97/dom.rb +334 -0
- data/lib/selenium/devtools/v97/dom_debugger.rb +94 -0
- data/lib/selenium/devtools/v97/dom_snapshot.rb +63 -0
- data/lib/selenium/devtools/v97/dom_storage.rb +75 -0
- data/lib/selenium/devtools/v97/emulation.rb +197 -0
- data/lib/selenium/devtools/v97/event_breakpoints.rb +48 -0
- data/lib/selenium/devtools/v97/fetch.rb +103 -0
- data/lib/selenium/devtools/v97/headless_experimental.rb +57 -0
- data/lib/selenium/devtools/v97/heap_profiler.rb +105 -0
- data/lib/selenium/devtools/v97/indexed_db.rb +96 -0
- data/lib/selenium/devtools/v97/input.rb +168 -0
- data/lib/selenium/devtools/v97/inspector.rb +51 -0
- data/lib/selenium/devtools/v97/io.rb +55 -0
- data/lib/selenium/devtools/v97/layer_tree.rb +91 -0
- data/lib/selenium/devtools/v97/log.rb +62 -0
- data/lib/selenium/devtools/v97/media.rb +53 -0
- data/lib/selenium/devtools/v97/memory.rb +82 -0
- data/lib/selenium/devtools/v97/network.rb +262 -0
- data/lib/selenium/devtools/v97/overlay.rb +202 -0
- data/lib/selenium/devtools/v97/page.rb +393 -0
- data/lib/selenium/devtools/v97/performance.rb +59 -0
- data/lib/selenium/devtools/v97/performance_timeline.rb +46 -0
- data/lib/selenium/devtools/v97/profiler.rb +95 -0
- data/lib/selenium/devtools/v97/runtime.rb +194 -0
- data/lib/selenium/devtools/v97/schema.rb +42 -0
- data/lib/selenium/devtools/v97/security.rb +67 -0
- data/lib/selenium/devtools/v97/service_worker.rb +112 -0
- data/lib/selenium/devtools/v97/storage.rb +106 -0
- data/lib/selenium/devtools/v97/system_info.rb +46 -0
- data/lib/selenium/devtools/v97/target.rb +145 -0
- data/lib/selenium/devtools/v97/tethering.rb +51 -0
- data/lib/selenium/devtools/v97/tracing.rb +75 -0
- data/lib/selenium/devtools/v97/web_audio.rb +66 -0
- data/lib/selenium/devtools/v97/web_authn.rb +96 -0
- data/lib/selenium/devtools/v97.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +1 -1
- metadata +144 -97
- data/lib/selenium/devtools/v92/application_cache.rb +0 -60
- data/lib/selenium/devtools/v92.rb +0 -1
- data/lib/selenium/devtools/v93.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
|
23
|
+
module V95
|
24
24
|
class Overlay
|
25
25
|
EVENTS = {
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
@@ -192,6 +192,6 @@ module Selenium
|
|
192
192
|
end
|
193
193
|
|
194
194
|
end # Overlay
|
195
|
-
end #
|
195
|
+
end # V95
|
196
196
|
end # DevTools
|
197
197
|
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 V95
|
24
24
|
class Page
|
25
25
|
EVENTS = {
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
@@ -135,6 +135,10 @@ module Selenium
|
|
135
135
|
@devtools.send_cmd('Page.getManifestIcons')
|
136
136
|
end
|
137
137
|
|
138
|
+
def get_app_id
|
139
|
+
@devtools.send_cmd('Page.getAppId')
|
140
|
+
end
|
141
|
+
|
138
142
|
def get_cookies
|
139
143
|
@devtools.send_cmd('Page.getCookies')
|
140
144
|
end
|
@@ -250,6 +254,11 @@ module Selenium
|
|
250
254
|
frameId: frame_id)
|
251
255
|
end
|
252
256
|
|
257
|
+
def get_origin_trials(frame_id:)
|
258
|
+
@devtools.send_cmd('Page.getOriginTrials',
|
259
|
+
frameId: frame_id)
|
260
|
+
end
|
261
|
+
|
253
262
|
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)
|
254
263
|
@devtools.send_cmd('Page.setDeviceMetricsOverride',
|
255
264
|
width: width,
|
@@ -379,6 +388,6 @@ module Selenium
|
|
379
388
|
end
|
380
389
|
|
381
390
|
end # Page
|
382
|
-
end #
|
391
|
+
end # V95
|
383
392
|
end # DevTools
|
384
393
|
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 V95
|
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 #
|
57
|
+
end # V95
|
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
|
23
|
+
module V95
|
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 #
|
44
|
+
end # V95
|
45
45
|
end # DevTools
|
46
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
|
23
|
+
module V95
|
24
24
|
class Profiler
|
25
25
|
EVENTS = {
|
26
26
|
console_profile_finished: 'consoleProfileFinished',
|
@@ -89,31 +89,7 @@ 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
|
-
|
104
|
-
def enable_runtime_call_stats
|
105
|
-
@devtools.send_cmd('Profiler.enableRuntimeCallStats')
|
106
|
-
end
|
107
|
-
|
108
|
-
def disable_runtime_call_stats
|
109
|
-
@devtools.send_cmd('Profiler.disableRuntimeCallStats')
|
110
|
-
end
|
111
|
-
|
112
|
-
def get_runtime_call_stats
|
113
|
-
@devtools.send_cmd('Profiler.getRuntimeCallStats')
|
114
|
-
end
|
115
|
-
|
116
92
|
end # Profiler
|
117
|
-
end #
|
93
|
+
end # V95
|
118
94
|
end # DevTools
|
119
95
|
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 V95
|
24
24
|
class Runtime
|
25
25
|
EVENTS = {
|
26
26
|
binding_called: 'bindingCalled',
|
@@ -111,12 +111,13 @@ module Selenium
|
|
111
111
|
@devtools.send_cmd('Runtime.getHeapUsage')
|
112
112
|
end
|
113
113
|
|
114
|
-
def get_properties(object_id:, own_properties: nil, accessor_properties_only: nil, generate_preview: nil)
|
114
|
+
def get_properties(object_id:, own_properties: nil, accessor_properties_only: nil, generate_preview: nil, non_indexed_properties_only: nil)
|
115
115
|
@devtools.send_cmd('Runtime.getProperties',
|
116
116
|
objectId: object_id,
|
117
117
|
ownProperties: own_properties,
|
118
118
|
accessorPropertiesOnly: accessor_properties_only,
|
119
|
-
generatePreview: generate_preview
|
119
|
+
generatePreview: generate_preview,
|
120
|
+
nonIndexedPropertiesOnly: non_indexed_properties_only)
|
120
121
|
end
|
121
122
|
|
122
123
|
def global_lexical_scope_names(execution_context_id: nil)
|
@@ -188,6 +189,6 @@ module Selenium
|
|
188
189
|
end
|
189
190
|
|
190
191
|
end # Runtime
|
191
|
-
end #
|
192
|
+
end # V95
|
192
193
|
end # DevTools
|
193
194
|
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 V95
|
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 #
|
40
|
+
end # V95
|
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
|
23
|
+
module V95
|
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 #
|
65
|
+
end # V95
|
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
|
23
|
+
module V95
|
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 #
|
110
|
+
end # V95
|
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
|
23
|
+
module V95
|
24
24
|
class Storage
|
25
25
|
EVENTS = {
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
@@ -101,6 +101,6 @@ module Selenium
|
|
101
101
|
end
|
102
102
|
|
103
103
|
end # Storage
|
104
|
-
end #
|
104
|
+
end # V95
|
105
105
|
end # DevTools
|
106
106
|
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 V95
|
24
24
|
class SystemInfo
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -41,6 +41,6 @@ module Selenium
|
|
41
41
|
end
|
42
42
|
|
43
43
|
end # SystemInfo
|
44
|
-
end #
|
44
|
+
end # V95
|
45
45
|
end # DevTools
|
46
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
|
23
|
+
module V95
|
24
24
|
class Target
|
25
25
|
EVENTS = {
|
26
26
|
attached_to_target: 'attachedToTarget',
|
@@ -123,6 +123,12 @@ module Selenium
|
|
123
123
|
flatten: flatten)
|
124
124
|
end
|
125
125
|
|
126
|
+
def auto_attach_related(target_id:, wait_for_debugger_on_start:)
|
127
|
+
@devtools.send_cmd('Target.autoAttachRelated',
|
128
|
+
targetId: target_id,
|
129
|
+
waitForDebuggerOnStart: wait_for_debugger_on_start)
|
130
|
+
end
|
131
|
+
|
126
132
|
def set_discover_targets(discover:)
|
127
133
|
@devtools.send_cmd('Target.setDiscoverTargets',
|
128
134
|
discover: discover)
|
@@ -134,6 +140,6 @@ module Selenium
|
|
134
140
|
end
|
135
141
|
|
136
142
|
end # Target
|
137
|
-
end #
|
143
|
+
end # V95
|
138
144
|
end # DevTools
|
139
145
|
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 V95
|
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 #
|
49
|
+
end # V95
|
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
|
23
|
+
module V95
|
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 #
|
73
|
+
end # V95
|
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
|
23
|
+
module V95
|
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 #
|
64
|
+
end # V95
|
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 V95
|
24
24
|
class WebAuthn
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -91,6 +91,6 @@ module Selenium
|
|
91
91
|
end
|
92
92
|
|
93
93
|
end # WebAuthn
|
94
|
-
end #
|
94
|
+
end # V95
|
95
95
|
end # DevTools
|
96
96
|
end # Selenium
|
@@ -0,0 +1 @@
|
|
1
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v95/*", &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 V96
|
24
24
|
class Accessibility
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -48,14 +48,17 @@ module Selenium
|
|
48
48
|
fetchRelatives: fetch_relatives)
|
49
49
|
end
|
50
50
|
|
51
|
-
def get_full_ax_tree(max_depth: nil)
|
51
|
+
def get_full_ax_tree(depth: nil, max_depth: nil, frame_id: nil)
|
52
52
|
@devtools.send_cmd('Accessibility.getFullAXTree',
|
53
|
-
|
53
|
+
depth: depth,
|
54
|
+
max_depth: max_depth,
|
55
|
+
frameId: frame_id)
|
54
56
|
end
|
55
57
|
|
56
|
-
def get_child_ax_nodes(id:)
|
58
|
+
def get_child_ax_nodes(id:, frame_id: nil)
|
57
59
|
@devtools.send_cmd('Accessibility.getChildAXNodes',
|
58
|
-
id: id
|
60
|
+
id: id,
|
61
|
+
frameId: frame_id)
|
59
62
|
end
|
60
63
|
|
61
64
|
def query_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, accessible_name: nil, role: nil)
|
@@ -68,6 +71,6 @@ module Selenium
|
|
68
71
|
end
|
69
72
|
|
70
73
|
end # Accessibility
|
71
|
-
end #
|
74
|
+
end # V96
|
72
75
|
end # DevTools
|
73
76
|
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 V96
|
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 # V96
|
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 V96
|
24
24
|
class Audits
|
25
25
|
EVENTS = {
|
26
26
|
issue_added: 'issueAdded',
|
@@ -57,6 +57,6 @@ module Selenium
|
|
57
57
|
end
|
58
58
|
|
59
59
|
end # Audits
|
60
|
-
end #
|
60
|
+
end # V96
|
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
|
23
|
+
module V96
|
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 # V96
|
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 V96
|
24
24
|
class Browser
|
25
25
|
EVENTS = {
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
@@ -130,6 +130,6 @@ module Selenium
|
|
130
130
|
end
|
131
131
|
|
132
132
|
end # Browser
|
133
|
-
end #
|
133
|
+
end # V96
|
134
134
|
end # DevTools
|
135
135
|
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 V96
|
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 # V96
|
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 V96
|
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 # V96
|
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 V96
|
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 # V96
|
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 V96
|
24
24
|
class CSS
|
25
25
|
EVENTS = {
|
26
26
|
fonts_updated: 'fontsUpdated',
|
@@ -134,6 +134,13 @@ module Selenium
|
|
134
134
|
text: text)
|
135
135
|
end
|
136
136
|
|
137
|
+
def set_container_query_text(style_sheet_id:, range:, text:)
|
138
|
+
@devtools.send_cmd('CSS.setContainerQueryText',
|
139
|
+
styleSheetId: style_sheet_id,
|
140
|
+
range: range,
|
141
|
+
text: text)
|
142
|
+
end
|
143
|
+
|
137
144
|
def set_rule_selector(style_sheet_id:, range:, selector:)
|
138
145
|
@devtools.send_cmd('CSS.setRuleSelector',
|
139
146
|
styleSheetId: style_sheet_id,
|
@@ -170,6 +177,6 @@ module Selenium
|
|
170
177
|
end
|
171
178
|
|
172
179
|
end # CSS
|
173
|
-
end #
|
180
|
+
end # V96
|
174
181
|
end # DevTools
|
175
182
|
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 V96
|
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 # V96
|
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 V96
|
24
24
|
class Debugger
|
25
25
|
EVENTS = {
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
@@ -215,6 +215,6 @@ module Selenium
|
|
215
215
|
end
|
216
216
|
|
217
217
|
end # Debugger
|
218
|
-
end #
|
218
|
+
end # V96
|
219
219
|
end # DevTools
|
220
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 V96
|
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 # V96
|
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 V96
|
24
24
|
class DOM
|
25
25
|
EVENTS = {
|
26
26
|
attribute_modified: 'attributeModified',
|
@@ -317,7 +317,18 @@ module Selenium
|
|
317
317
|
frameId: frame_id)
|
318
318
|
end
|
319
319
|
|
320
|
+
def get_container_for_node(node_id:, container_name: nil)
|
321
|
+
@devtools.send_cmd('DOM.getContainerForNode',
|
322
|
+
nodeId: node_id,
|
323
|
+
containerName: container_name)
|
324
|
+
end
|
325
|
+
|
326
|
+
def get_querying_descendants_for_container(node_id:)
|
327
|
+
@devtools.send_cmd('DOM.getQueryingDescendantsForContainer',
|
328
|
+
nodeId: node_id)
|
329
|
+
end
|
330
|
+
|
320
331
|
end # DOM
|
321
|
-
end #
|
332
|
+
end # V96
|
322
333
|
end # DevTools
|
323
334
|
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 V96
|
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 #
|
92
|
+
end # V96
|
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 V96
|
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 #
|
61
|
+
end # V96
|
62
62
|
end # DevTools
|
63
63
|
end # Selenium
|