selenium-devtools 0.96.0 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/NOTICE +1 -1
- data/lib/selenium/devtools/README.md +14 -0
- data/lib/selenium/devtools/{v95 → v97}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/animation.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/audits.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/browser.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/cast.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/console.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/css.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/database.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/dom.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/emulation.rb +2 -2
- data/lib/selenium/devtools/v97/event_breakpoints.rb +48 -0
- data/lib/selenium/devtools/{v95 → v97}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/input.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/io.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/log.rb +2 -2
- data/lib/selenium/devtools/{v94 → v97}/media.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/memory.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/network.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v95 → v97}/page.rb +7 -7
- data/lib/selenium/devtools/{v93 → v97}/performance.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/schema.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/security.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/storage.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/target.rb +2 -2
- data/lib/selenium/devtools/{v95 → v97}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v93 → v97}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v97.rb +1 -0
- data/lib/selenium/devtools/{v94 → v98}/accessibility.rb +20 -3
- data/lib/selenium/devtools/{v95 → v98}/animation.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/audits.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/browser.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/cast.rb +7 -2
- data/lib/selenium/devtools/{v94 → v98}/console.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/css.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/database.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/dom.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/emulation.rb +7 -2
- data/lib/selenium/devtools/v98/event_breakpoints.rb +48 -0
- data/lib/selenium/devtools/{v94 → v98}/fetch.rb +11 -2
- data/lib/selenium/devtools/{v95 → v98}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/input.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/io.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/log.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/media.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/memory.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/network.rb +13 -4
- data/lib/selenium/devtools/{v95 → v98}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v94 → v98}/page.rb +11 -7
- data/lib/selenium/devtools/{v95 → v98}/performance.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/profiler.rb +2 -26
- data/lib/selenium/devtools/{v94 → v98}/runtime.rb +5 -4
- data/lib/selenium/devtools/{v94 → v98}/schema.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/security.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/storage.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v93 → v98}/target.rb +11 -4
- data/lib/selenium/devtools/{v93 → v98}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v94 → v98}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v95 → v98}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v98.rb +1 -0
- data/lib/selenium/devtools/{v93 → v99}/accessibility.rb +25 -6
- data/lib/selenium/devtools/{v93 → v99}/animation.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/audits.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v95 → v99}/browser.rb +2 -2
- data/lib/selenium/devtools/{v95 → v99}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/cast.rb +7 -2
- data/lib/selenium/devtools/{v93 → v99}/console.rb +2 -2
- data/lib/selenium/devtools/{v95 → v99}/css.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/database.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/dom.rb +7 -2
- data/lib/selenium/devtools/{v94 → v99}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/emulation.rb +7 -2
- data/lib/selenium/devtools/v99/event_breakpoints.rb +48 -0
- data/lib/selenium/devtools/{v93 → v99}/fetch.rb +14 -4
- data/lib/selenium/devtools/{v93 → v99}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/input.rb +11 -2
- data/lib/selenium/devtools/{v94 → v99}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/io.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/log.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/media.rb +2 -2
- data/lib/selenium/devtools/{v95 → v99}/memory.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/network.rb +14 -5
- data/lib/selenium/devtools/{v94 → v99}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v93 → v99}/page.rb +19 -9
- data/lib/selenium/devtools/{v94 → v99}/performance.rb +2 -2
- data/lib/selenium/devtools/{v93 → v99}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/profiler.rb +2 -26
- data/lib/selenium/devtools/{v93 → v99}/runtime.rb +10 -4
- data/lib/selenium/devtools/{v93 → v99}/schema.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/security.rb +2 -2
- data/lib/selenium/devtools/{v95 → v99}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/storage.rb +14 -2
- data/lib/selenium/devtools/{v94 → v99}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/target.rb +11 -4
- data/lib/selenium/devtools/{v94 → v99}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v95 → v99}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v95 → v99}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v94 → v99}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v99.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/lib/selenium/devtools.rb +0 -2
- metadata +144 -143
- data/lib/selenium/devtools/v93/application_cache.rb +0 -60
- data/lib/selenium/devtools/v93.rb +0 -1
- data/lib/selenium/devtools/v94/application_cache.rb +0 -60
- data/lib/selenium/devtools/v94.rb +0 -1
- data/lib/selenium/devtools/v95/application_cache.rb +0 -60
- data/lib/selenium/devtools/v95.rb +0 -1
|
@@ -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 V99
|
|
24
24
|
class Accessibility
|
|
25
|
+
EVENTS = {
|
|
26
|
+
load_complete: 'loadComplete',
|
|
27
|
+
nodes_updated: 'nodesUpdated',
|
|
28
|
+
}.freeze
|
|
25
29
|
|
|
26
30
|
def initialize(devtools)
|
|
27
31
|
@devtools = devtools
|
|
@@ -48,14 +52,29 @@ module Selenium
|
|
|
48
52
|
fetchRelatives: fetch_relatives)
|
|
49
53
|
end
|
|
50
54
|
|
|
51
|
-
def get_full_ax_tree(max_depth: nil)
|
|
55
|
+
def get_full_ax_tree(depth: nil, max_depth: nil, frame_id: nil)
|
|
52
56
|
@devtools.send_cmd('Accessibility.getFullAXTree',
|
|
53
|
-
|
|
57
|
+
depth: depth,
|
|
58
|
+
max_depth: max_depth,
|
|
59
|
+
frameId: frame_id)
|
|
54
60
|
end
|
|
55
61
|
|
|
56
|
-
def
|
|
62
|
+
def get_root_ax_node(frame_id: nil)
|
|
63
|
+
@devtools.send_cmd('Accessibility.getRootAXNode',
|
|
64
|
+
frameId: frame_id)
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
def get_ax_node_and_ancestors(node_id: nil, backend_node_id: nil, object_id: nil)
|
|
68
|
+
@devtools.send_cmd('Accessibility.getAXNodeAndAncestors',
|
|
69
|
+
nodeId: node_id,
|
|
70
|
+
backendNodeId: backend_node_id,
|
|
71
|
+
objectId: object_id)
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
def get_child_ax_nodes(id:, frame_id: nil)
|
|
57
75
|
@devtools.send_cmd('Accessibility.getChildAXNodes',
|
|
58
|
-
id: id
|
|
76
|
+
id: id,
|
|
77
|
+
frameId: frame_id)
|
|
59
78
|
end
|
|
60
79
|
|
|
61
80
|
def query_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, accessible_name: nil, role: nil)
|
|
@@ -68,6 +87,6 @@ module Selenium
|
|
|
68
87
|
end
|
|
69
88
|
|
|
70
89
|
end # Accessibility
|
|
71
|
-
end #
|
|
90
|
+
end # V99
|
|
72
91
|
end # DevTools
|
|
73
92
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
24
24
|
class Cast
|
|
25
25
|
EVENTS = {
|
|
26
26
|
sinks_updated: 'sinksUpdated',
|
|
@@ -50,6 +50,11 @@ module Selenium
|
|
|
50
50
|
sinkName: sink_name)
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
def start_desktop_mirroring(sink_name:)
|
|
54
|
+
@devtools.send_cmd('Cast.startDesktopMirroring',
|
|
55
|
+
sinkName: sink_name)
|
|
56
|
+
end
|
|
57
|
+
|
|
53
58
|
def start_tab_mirroring(sink_name:)
|
|
54
59
|
@devtools.send_cmd('Cast.startTabMirroring',
|
|
55
60
|
sinkName: sink_name)
|
|
@@ -61,6 +66,6 @@ module Selenium
|
|
|
61
66
|
end
|
|
62
67
|
|
|
63
68
|
end # Cast
|
|
64
|
-
end #
|
|
69
|
+
end # V99
|
|
65
70
|
end # DevTools
|
|
66
71
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -177,6 +177,6 @@ module Selenium
|
|
|
177
177
|
end
|
|
178
178
|
|
|
179
179
|
end # CSS
|
|
180
|
-
end #
|
|
180
|
+
end # V99
|
|
181
181
|
end # DevTools
|
|
182
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -323,7 +323,12 @@ module Selenium
|
|
|
323
323
|
containerName: container_name)
|
|
324
324
|
end
|
|
325
325
|
|
|
326
|
+
def get_querying_descendants_for_container(node_id:)
|
|
327
|
+
@devtools.send_cmd('DOM.getQueryingDescendantsForContainer',
|
|
328
|
+
nodeId: node_id)
|
|
329
|
+
end
|
|
330
|
+
|
|
326
331
|
end # DOM
|
|
327
|
-
end #
|
|
332
|
+
end # V99
|
|
328
333
|
end # DevTools
|
|
329
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
191
196
|
end # DevTools
|
|
192
197
|
end # Selenium
|
|
@@ -0,0 +1,48 @@
|
|
|
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 V99
|
|
24
|
+
class EventBreakpoints
|
|
25
|
+
|
|
26
|
+
def initialize(devtools)
|
|
27
|
+
@devtools = devtools
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def on(event, &block)
|
|
31
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
|
32
|
+
@devtools.callbacks["EventBreakpoints.#{event}"] << block
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def set_instrumentation_breakpoint(event_name:)
|
|
36
|
+
@devtools.send_cmd('EventBreakpoints.setInstrumentationBreakpoint',
|
|
37
|
+
eventName: event_name)
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def remove_instrumentation_breakpoint(event_name:)
|
|
41
|
+
@devtools.send_cmd('EventBreakpoints.removeInstrumentationBreakpoint',
|
|
42
|
+
eventName: event_name)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
end # EventBreakpoints
|
|
46
|
+
end # V99
|
|
47
|
+
end # DevTools
|
|
48
|
+
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
24
24
|
class HeapProfiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
|
@@ -100,6 +100,6 @@ module Selenium
|
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
end # HeapProfiler
|
|
103
|
-
end #
|
|
103
|
+
end # V99
|
|
104
104
|
end # DevTools
|
|
105
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 V99
|
|
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 # V99
|
|
95
95
|
end # DevTools
|
|
96
96
|
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 V99
|
|
24
24
|
class Input
|
|
25
25
|
EVENTS = {
|
|
26
26
|
drag_intercepted: 'dragIntercepted',
|
|
@@ -68,6 +68,15 @@ module Selenium
|
|
|
68
68
|
text: text)
|
|
69
69
|
end
|
|
70
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
|
+
|
|
71
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)
|
|
72
81
|
@devtools.send_cmd('Input.dispatchMouseEvent',
|
|
73
82
|
type: type,
|
|
@@ -154,6 +163,6 @@ module Selenium
|
|
|
154
163
|
end
|
|
155
164
|
|
|
156
165
|
end # Input
|
|
157
|
-
end #
|
|
166
|
+
end # V99
|
|
158
167
|
end # DevTools
|
|
159
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
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 V99
|
|
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 # V99
|
|
81
81
|
end # DevTools
|
|
82
82
|
end # Selenium
|