selenium-devtools 0.92.0 → 0.96.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/{v92 → v93}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/animation.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/audits.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/browser.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/cast.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/console.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/css.rb +9 -2
- data/lib/selenium/devtools/{v92 → v93}/database.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/dom.rb +8 -2
- data/lib/selenium/devtools/{v90 → v93}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/input.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/io.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/log.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/media.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/memory.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/network.rb +6 -8
- data/lib/selenium/devtools/{v91 → v93}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v92 → v93}/page.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/performance.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/runtime.rb +5 -4
- data/lib/selenium/devtools/{v92 → v93}/schema.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/security.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/storage.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/target.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v92 → v93}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v93.rb +1 -0
- data/lib/selenium/devtools/{v91 → v94}/accessibility.rb +8 -6
- data/lib/selenium/devtools/{v92 → v94}/animation.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/audits.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/browser.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/cast.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/console.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/css.rb +9 -2
- data/lib/selenium/devtools/{v90 → v94}/database.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/dom.rb +13 -2
- data/lib/selenium/devtools/{v92 → v94}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/dom_snapshot.rb +6 -4
- data/lib/selenium/devtools/{v90 → v94}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/fetch.rb +5 -4
- data/lib/selenium/devtools/{v92 → v94}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v92 → v94}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/input.rb +11 -2
- data/lib/selenium/devtools/{v92 → v94}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/io.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/log.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/media.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/memory.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/network.rb +7 -9
- data/lib/selenium/devtools/{v92 → v94}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v91 → v94}/page.rb +11 -4
- data/lib/selenium/devtools/{v92 → v94}/performance.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/runtime.rb +5 -4
- data/lib/selenium/devtools/{v91 → v94}/schema.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/security.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/storage.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/target.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v92 → v94}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v94.rb +1 -0
- data/lib/selenium/devtools/{v90 → v95}/accessibility.rb +9 -6
- data/lib/selenium/devtools/{v90 → v95}/animation.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/audits.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/browser.rb +15 -4
- data/lib/selenium/devtools/{v92 → v95}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/cast.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/console.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/css.rb +9 -2
- data/lib/selenium/devtools/{v91 → v95}/database.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/dom.rb +13 -2
- data/lib/selenium/devtools/{v91 → v95}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/dom_snapshot.rb +6 -4
- data/lib/selenium/devtools/{v91 → v95}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v90 → v95}/fetch.rb +14 -4
- data/lib/selenium/devtools/{v90 → v95}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v91 → v95}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/input.rb +28 -2
- data/lib/selenium/devtools/{v91 → v95}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/io.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/log.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/media.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/memory.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/network.rb +23 -9
- data/lib/selenium/devtools/{v90 → v95}/overlay.rb +12 -2
- data/lib/selenium/devtools/{v90 → v95}/page.rb +20 -4
- data/lib/selenium/devtools/{v91 → v95}/performance.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/profiler.rb +2 -26
- data/lib/selenium/devtools/{v90 → v95}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v90 → v95}/schema.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/security.rb +2 -2
- data/lib/selenium/devtools/{v92 → v95}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/storage.rb +7 -2
- data/lib/selenium/devtools/{v91 → v95}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/target.rb +8 -2
- data/lib/selenium/devtools/{v91 → v95}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/tracing.rb +5 -4
- data/lib/selenium/devtools/{v92 → v95}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v95.rb +1 -0
- data/lib/selenium/devtools/v96/accessibility.rb +76 -0
- data/lib/selenium/devtools/v96/animation.rb +94 -0
- data/lib/selenium/devtools/v96/audits.rb +62 -0
- data/lib/selenium/devtools/v96/background_service.rb +63 -0
- data/lib/selenium/devtools/v96/browser.rb +135 -0
- data/lib/selenium/devtools/v96/cache_storage.rb +69 -0
- data/lib/selenium/devtools/v96/cast.rb +66 -0
- data/lib/selenium/devtools/v96/console.rb +53 -0
- data/lib/selenium/devtools/v96/css.rb +182 -0
- data/lib/selenium/devtools/v96/database.rb +60 -0
- data/lib/selenium/devtools/v96/debugger.rb +220 -0
- data/lib/selenium/devtools/v96/device_orientation.rb +49 -0
- data/lib/selenium/devtools/v96/dom.rb +334 -0
- data/lib/selenium/devtools/v96/dom_debugger.rb +94 -0
- data/lib/selenium/devtools/v96/dom_snapshot.rb +63 -0
- data/lib/selenium/devtools/v96/dom_storage.rb +75 -0
- data/lib/selenium/devtools/v96/emulation.rb +197 -0
- data/lib/selenium/devtools/v96/fetch.rb +103 -0
- data/lib/selenium/devtools/v96/headless_experimental.rb +57 -0
- data/lib/selenium/devtools/v96/heap_profiler.rb +105 -0
- data/lib/selenium/devtools/v96/indexed_db.rb +96 -0
- data/lib/selenium/devtools/v96/input.rb +168 -0
- data/lib/selenium/devtools/v96/inspector.rb +51 -0
- data/lib/selenium/devtools/v96/io.rb +55 -0
- data/lib/selenium/devtools/v96/layer_tree.rb +91 -0
- data/lib/selenium/devtools/v96/log.rb +62 -0
- data/lib/selenium/devtools/v96/media.rb +53 -0
- data/lib/selenium/devtools/v96/memory.rb +82 -0
- data/lib/selenium/devtools/v96/network.rb +262 -0
- data/lib/selenium/devtools/v96/overlay.rb +202 -0
- data/lib/selenium/devtools/v96/page.rb +393 -0
- data/lib/selenium/devtools/v96/performance.rb +59 -0
- data/lib/selenium/devtools/v96/performance_timeline.rb +46 -0
- data/lib/selenium/devtools/v96/profiler.rb +95 -0
- data/lib/selenium/devtools/v96/runtime.rb +194 -0
- data/lib/selenium/devtools/v96/schema.rb +42 -0
- data/lib/selenium/devtools/v96/security.rb +67 -0
- data/lib/selenium/devtools/v96/service_worker.rb +112 -0
- data/lib/selenium/devtools/v96/storage.rb +106 -0
- data/lib/selenium/devtools/v96/system_info.rb +46 -0
- data/lib/selenium/devtools/v96/target.rb +145 -0
- data/lib/selenium/devtools/v96/tethering.rb +51 -0
- data/lib/selenium/devtools/v96/tracing.rb +75 -0
- data/lib/selenium/devtools/v96/web_audio.rb +66 -0
- data/lib/selenium/devtools/v96/web_authn.rb +96 -0
- data/lib/selenium/devtools/v96.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +1 -1
- metadata +190 -144
- data/lib/selenium/devtools/v90.rb +0 -1
- data/lib/selenium/devtools/v91.rb +0 -1
- data/lib/selenium/devtools/v92.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 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 # V95
|
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 V95
|
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 # V95
|
62
62
|
end # DevTools
|
63
63
|
end # Selenium
|
@@ -20,8 +20,12 @@
|
|
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 Browser
|
25
|
+
EVENTS = {
|
26
|
+
download_will_begin: 'downloadWillBegin',
|
27
|
+
download_progress: 'downloadProgress',
|
28
|
+
}.freeze
|
25
29
|
|
26
30
|
def initialize(devtools)
|
27
31
|
@devtools = devtools
|
@@ -52,11 +56,18 @@ module Selenium
|
|
52
56
|
browserContextId: browser_context_id)
|
53
57
|
end
|
54
58
|
|
55
|
-
def set_download_behavior(behavior:, browser_context_id: nil, download_path: nil)
|
59
|
+
def set_download_behavior(behavior:, browser_context_id: nil, download_path: nil, events_enabled: nil)
|
56
60
|
@devtools.send_cmd('Browser.setDownloadBehavior',
|
57
61
|
behavior: behavior,
|
58
62
|
browserContextId: browser_context_id,
|
59
|
-
downloadPath: download_path
|
63
|
+
downloadPath: download_path,
|
64
|
+
eventsEnabled: events_enabled)
|
65
|
+
end
|
66
|
+
|
67
|
+
def cancel_download(guid:, browser_context_id: nil)
|
68
|
+
@devtools.send_cmd('Browser.cancelDownload',
|
69
|
+
guid: guid,
|
70
|
+
browserContextId: browser_context_id)
|
60
71
|
end
|
61
72
|
|
62
73
|
def close
|
@@ -119,6 +130,6 @@ module Selenium
|
|
119
130
|
end
|
120
131
|
|
121
132
|
end # Browser
|
122
|
-
end #
|
133
|
+
end # V95
|
123
134
|
end # DevTools
|
124
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 V95
|
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 # V95
|
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 V95
|
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 # 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 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 # V95
|
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 V95
|
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 # V95
|
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 V95
|
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 # V95
|
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 V95
|
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 # V95
|
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 V95
|
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 # V95
|
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 V95
|
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 # V95
|
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 V95
|
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 # V95
|
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 V95
|
24
24
|
class DOMSnapshot
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -48,14 +48,16 @@ module Selenium
|
|
48
48
|
includeUserAgentShadowTree: include_user_agent_shadow_tree)
|
49
49
|
end
|
50
50
|
|
51
|
-
def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil)
|
51
|
+
def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil, include_blended_background_colors: nil, include_text_color_opacities: nil)
|
52
52
|
@devtools.send_cmd('DOMSnapshot.captureSnapshot',
|
53
53
|
computedStyles: computed_styles,
|
54
54
|
includePaintOrder: include_paint_order,
|
55
|
-
includeDOMRects: include_dom_rects
|
55
|
+
includeDOMRects: include_dom_rects,
|
56
|
+
includeBlendedBackgroundColors: include_blended_background_colors,
|
57
|
+
includeTextColorOpacities: include_text_color_opacities)
|
56
58
|
end
|
57
59
|
|
58
60
|
end # DOMSnapshot
|
59
|
-
end #
|
61
|
+
end # V95
|
60
62
|
end # DevTools
|
61
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 V95
|
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 #
|
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 Emulation
|
25
25
|
EVENTS = {
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
@@ -56,6 +56,11 @@ module Selenium
|
|
56
56
|
enabled: enabled)
|
57
57
|
end
|
58
58
|
|
59
|
+
def set_auto_dark_mode_override(enabled: nil)
|
60
|
+
@devtools.send_cmd('Emulation.setAutoDarkModeOverride',
|
61
|
+
enabled: enabled)
|
62
|
+
end
|
63
|
+
|
59
64
|
def set_cpu_throttling_rate(rate:)
|
60
65
|
@devtools.send_cmd('Emulation.setCPUThrottlingRate',
|
61
66
|
rate: rate)
|
@@ -187,6 +192,6 @@ module Selenium
|
|
187
192
|
end
|
188
193
|
|
189
194
|
end # Emulation
|
190
|
-
end #
|
195
|
+
end # V95
|
191
196
|
end # DevTools
|
192
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 Fetch
|
25
25
|
EVENTS = {
|
26
26
|
request_paused: 'requestPaused',
|
@@ -62,13 +62,14 @@ module Selenium
|
|
62
62
|
responsePhrase: response_phrase)
|
63
63
|
end
|
64
64
|
|
65
|
-
def continue_request(request_id:, url: nil, method: nil, post_data: nil, headers: nil)
|
65
|
+
def continue_request(request_id:, url: nil, method: nil, post_data: nil, headers: nil, intercept_response: nil)
|
66
66
|
@devtools.send_cmd('Fetch.continueRequest',
|
67
67
|
requestId: request_id,
|
68
68
|
url: url,
|
69
69
|
method: method,
|
70
70
|
postData: post_data,
|
71
|
-
headers: headers
|
71
|
+
headers: headers,
|
72
|
+
interceptResponse: intercept_response)
|
72
73
|
end
|
73
74
|
|
74
75
|
def continue_with_auth(request_id:, auth_challenge_response:)
|
@@ -77,6 +78,15 @@ module Selenium
|
|
77
78
|
authChallengeResponse: auth_challenge_response)
|
78
79
|
end
|
79
80
|
|
81
|
+
def continue_response(request_id:, response_code: nil, response_phrase: nil, response_headers: nil, binary_response_headers: nil)
|
82
|
+
@devtools.send_cmd('Fetch.continueResponse',
|
83
|
+
requestId: request_id,
|
84
|
+
responseCode: response_code,
|
85
|
+
responsePhrase: response_phrase,
|
86
|
+
responseHeaders: response_headers,
|
87
|
+
binaryResponseHeaders: binary_response_headers)
|
88
|
+
end
|
89
|
+
|
80
90
|
def get_response_body(request_id:)
|
81
91
|
@devtools.send_cmd('Fetch.getResponseBody',
|
82
92
|
requestId: request_id)
|
@@ -88,6 +98,6 @@ module Selenium
|
|
88
98
|
end
|
89
99
|
|
90
100
|
end # Fetch
|
91
|
-
end #
|
101
|
+
end # V95
|
92
102
|
end # DevTools
|
93
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
|
23
|
+
module V95
|
24
24
|
class HeadlessExperimental
|
25
25
|
EVENTS = {
|
26
26
|
needs_begin_frames_changed: 'needsBeginFramesChanged',
|
@@ -52,6 +52,6 @@ module Selenium
|
|
52
52
|
end
|
53
53
|
|
54
54
|
end # HeadlessExperimental
|
55
|
-
end #
|
55
|
+
end # V95
|
56
56
|
end # DevTools
|
57
57
|
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 HeapProfiler
|
25
25
|
EVENTS = {
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
@@ -85,19 +85,21 @@ module Selenium
|
|
85
85
|
@devtools.send_cmd('HeapProfiler.stopSampling')
|
86
86
|
end
|
87
87
|
|
88
|
-
def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil)
|
88
|
+
def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
|
89
89
|
@devtools.send_cmd('HeapProfiler.stopTrackingHeapObjects',
|
90
90
|
reportProgress: report_progress,
|
91
|
-
treatGlobalObjectsAsRoots: treat_global_objects_as_roots
|
91
|
+
treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
|
92
|
+
captureNumericValue: capture_numeric_value)
|
92
93
|
end
|
93
94
|
|
94
|
-
def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil)
|
95
|
+
def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
|
95
96
|
@devtools.send_cmd('HeapProfiler.takeHeapSnapshot',
|
96
97
|
reportProgress: report_progress,
|
97
|
-
treatGlobalObjectsAsRoots: treat_global_objects_as_roots
|
98
|
+
treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
|
99
|
+
captureNumericValue: capture_numeric_value)
|
98
100
|
end
|
99
101
|
|
100
102
|
end # HeapProfiler
|
101
|
-
end #
|
103
|
+
end # V95
|
102
104
|
end # DevTools
|
103
105
|
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 IndexedDB
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -91,6 +91,6 @@ module Selenium
|
|
91
91
|
end
|
92
92
|
|
93
93
|
end # IndexedDB
|
94
|
-
end #
|
94
|
+
end # V95
|
95
95
|
end # DevTools
|
96
96
|
end # Selenium
|
@@ -20,8 +20,11 @@
|
|
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 Input
|
25
|
+
EVENTS = {
|
26
|
+
drag_intercepted: 'dragIntercepted',
|
27
|
+
}.freeze
|
25
28
|
|
26
29
|
def initialize(devtools)
|
27
30
|
@devtools = devtools
|
@@ -32,6 +35,15 @@ module Selenium
|
|
32
35
|
@devtools.callbacks["Input.#{event}"] << block
|
33
36
|
end
|
34
37
|
|
38
|
+
def dispatch_drag_event(type:, x:, y:, data:, modifiers: nil)
|
39
|
+
@devtools.send_cmd('Input.dispatchDragEvent',
|
40
|
+
type: type,
|
41
|
+
x: x,
|
42
|
+
y: y,
|
43
|
+
data: data,
|
44
|
+
modifiers: modifiers)
|
45
|
+
end
|
46
|
+
|
35
47
|
def dispatch_key_event(type:, modifiers: nil, timestamp: nil, text: nil, unmodified_text: nil, key_identifier: nil, code: nil, key: nil, windows_virtual_key_code: nil, native_virtual_key_code: nil, auto_repeat: nil, is_keypad: nil, is_system_key: nil, location: nil, commands: nil)
|
36
48
|
@devtools.send_cmd('Input.dispatchKeyEvent',
|
37
49
|
type: type,
|
@@ -56,6 +68,15 @@ module Selenium
|
|
56
68
|
text: text)
|
57
69
|
end
|
58
70
|
|
71
|
+
def ime_set_composition(text:, selection_start:, selection_end:, replacement_start: nil, replacement_end: nil)
|
72
|
+
@devtools.send_cmd('Input.imeSetComposition',
|
73
|
+
text: text,
|
74
|
+
selectionStart: selection_start,
|
75
|
+
selectionEnd: selection_end,
|
76
|
+
replacementStart: replacement_start,
|
77
|
+
replacementEnd: replacement_end)
|
78
|
+
end
|
79
|
+
|
59
80
|
def dispatch_mouse_event(type:, x:, y:, modifiers: nil, timestamp: nil, button: nil, buttons: nil, click_count: nil, force: nil, tangential_pressure: nil, tilt_x: nil, tilt_y: nil, twist: nil, delta_x: nil, delta_y: nil, pointer_type: nil)
|
60
81
|
@devtools.send_cmd('Input.dispatchMouseEvent',
|
61
82
|
type: type,
|
@@ -102,6 +123,11 @@ module Selenium
|
|
102
123
|
ignore: ignore)
|
103
124
|
end
|
104
125
|
|
126
|
+
def set_intercept_drags(enabled:)
|
127
|
+
@devtools.send_cmd('Input.setInterceptDrags',
|
128
|
+
enabled: enabled)
|
129
|
+
end
|
130
|
+
|
105
131
|
def synthesize_pinch_gesture(x:, y:, scale_factor:, relative_speed: nil, gesture_source_type: nil)
|
106
132
|
@devtools.send_cmd('Input.synthesizePinchGesture',
|
107
133
|
x: x,
|
@@ -137,6 +163,6 @@ module Selenium
|
|
137
163
|
end
|
138
164
|
|
139
165
|
end # Input
|
140
|
-
end #
|
166
|
+
end # V95
|
141
167
|
end # DevTools
|
142
168
|
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 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 #
|
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 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 #
|
53
|
+
end # V95
|
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
|
23
|
+
module V95
|
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 #
|
89
|
+
end # V95
|
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
|
23
|
+
module V95
|
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 #
|
60
|
+
end # V95
|
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 V95
|
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 #
|
51
|
+
end # V95
|
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 V95
|
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 #
|
80
|
+
end # V95
|
81
81
|
end # DevTools
|
82
82
|
end # Selenium
|