selenium-devtools 0.106.0 → 0.108.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 +0 -0
- data/NOTICE +0 -0
- data/lib/selenium/devtools/v106.rb +0 -0
- data/lib/selenium/devtools/{v105 → v107}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/animation.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/audits.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/browser.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/cast.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/console.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/css.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/database.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/dom.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/indexed_db.rb +17 -10
- data/lib/selenium/devtools/{v105 → v107}/input.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/io.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/log.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/media.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/memory.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/network.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/page.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/performance.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/schema.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/security.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/storage.rb +12 -2
- data/lib/selenium/devtools/{v105 → v107}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v105 → v107}/target.rb +14 -10
- data/lib/selenium/devtools/{v105 → v107}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v104 → v107}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v107.rb +1 -0
- data/lib/selenium/devtools/{v104 → v108}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/animation.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/audits.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/browser.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/cast.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/console.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/css.rb +9 -2
- data/lib/selenium/devtools/{v104 → v108}/database.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/debugger.rb +15 -4
- data/lib/selenium/devtools/{v104 → v108}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/dom.rb +7 -2
- data/lib/selenium/devtools/{v105 → v108}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/heap_profiler.rb +6 -4
- data/lib/selenium/devtools/{v104 → v108}/indexed_db.rb +17 -10
- data/lib/selenium/devtools/{v104 → v108}/input.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/io.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/log.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/media.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/memory.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/network.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/page.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/performance.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/profiler.rb +2 -14
- data/lib/selenium/devtools/{v104 → v108}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/schema.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/security.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/storage.rb +18 -2
- data/lib/selenium/devtools/{v104 → v108}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v104 → v108}/target.rb +14 -10
- data/lib/selenium/devtools/{v104 → v108}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v105 → v108}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v108.rb +1 -0
- data/lib/selenium/devtools/v85.rb +0 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +1 -0
- metadata +101 -101
- data/lib/selenium/devtools/README.md +0 -14
- data/lib/selenium/devtools/v104.rb +0 -1
- data/lib/selenium/devtools/v105.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 V107
|
|
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 # V107
|
|
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 V107
|
|
24
24
|
class Profiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
console_profile_finished: 'consoleProfileFinished',
|
|
@@ -90,6 +90,6 @@ module Selenium
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
end # Profiler
|
|
93
|
-
end #
|
|
93
|
+
end # V107
|
|
94
94
|
end # DevTools
|
|
95
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 V107
|
|
24
24
|
class Runtime
|
|
25
25
|
EVENTS = {
|
|
26
26
|
binding_called: 'bindingCalled',
|
|
@@ -196,6 +196,6 @@ module Selenium
|
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
end # Runtime
|
|
199
|
-
end #
|
|
199
|
+
end # V107
|
|
200
200
|
end # DevTools
|
|
201
201
|
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 V107
|
|
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 # V107
|
|
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 V107
|
|
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 # V107
|
|
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 V107
|
|
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 # V107
|
|
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 V107
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
@@ -93,6 +93,11 @@ module Selenium
|
|
|
93
93
|
origin: origin)
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
def track_indexed_db_for_storage_key(storage_key:)
|
|
97
|
+
@devtools.send_cmd('Storage.trackIndexedDBForStorageKey',
|
|
98
|
+
storageKey: storage_key)
|
|
99
|
+
end
|
|
100
|
+
|
|
96
101
|
def untrack_cache_storage_for_origin(origin:)
|
|
97
102
|
@devtools.send_cmd('Storage.untrackCacheStorageForOrigin',
|
|
98
103
|
origin: origin)
|
|
@@ -103,6 +108,11 @@ module Selenium
|
|
|
103
108
|
origin: origin)
|
|
104
109
|
end
|
|
105
110
|
|
|
111
|
+
def untrack_indexed_db_for_storage_key(storage_key:)
|
|
112
|
+
@devtools.send_cmd('Storage.untrackIndexedDBForStorageKey',
|
|
113
|
+
storageKey: storage_key)
|
|
114
|
+
end
|
|
115
|
+
|
|
106
116
|
def get_trust_tokens
|
|
107
117
|
@devtools.send_cmd('Storage.getTrustTokens')
|
|
108
118
|
end
|
|
@@ -124,6 +134,6 @@ module Selenium
|
|
|
124
134
|
end
|
|
125
135
|
|
|
126
136
|
end # Storage
|
|
127
|
-
end #
|
|
137
|
+
end # V107
|
|
128
138
|
end # DevTools
|
|
129
139
|
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 V107
|
|
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 # V107
|
|
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 V107
|
|
24
24
|
class Target
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attached_to_target: 'attachedToTarget',
|
|
@@ -106,8 +106,9 @@ module Selenium
|
|
|
106
106
|
targetId: target_id)
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
def get_targets
|
|
110
|
-
@devtools.send_cmd('Target.getTargets'
|
|
109
|
+
def get_targets(filter: nil)
|
|
110
|
+
@devtools.send_cmd('Target.getTargets',
|
|
111
|
+
filter: filter)
|
|
111
112
|
end
|
|
112
113
|
|
|
113
114
|
def send_message_to_target(message:, session_id: nil, target_id: nil)
|
|
@@ -117,22 +118,25 @@ module Selenium
|
|
|
117
118
|
targetId: target_id)
|
|
118
119
|
end
|
|
119
120
|
|
|
120
|
-
def set_auto_attach(auto_attach:, wait_for_debugger_on_start:, flatten: nil)
|
|
121
|
+
def set_auto_attach(auto_attach:, wait_for_debugger_on_start:, flatten: nil, filter: nil)
|
|
121
122
|
@devtools.send_cmd('Target.setAutoAttach',
|
|
122
123
|
autoAttach: auto_attach,
|
|
123
124
|
waitForDebuggerOnStart: wait_for_debugger_on_start,
|
|
124
|
-
flatten: flatten
|
|
125
|
+
flatten: flatten,
|
|
126
|
+
filter: filter)
|
|
125
127
|
end
|
|
126
128
|
|
|
127
|
-
def auto_attach_related(target_id:, wait_for_debugger_on_start:)
|
|
129
|
+
def auto_attach_related(target_id:, wait_for_debugger_on_start:, filter: nil)
|
|
128
130
|
@devtools.send_cmd('Target.autoAttachRelated',
|
|
129
131
|
targetId: target_id,
|
|
130
|
-
waitForDebuggerOnStart: wait_for_debugger_on_start
|
|
132
|
+
waitForDebuggerOnStart: wait_for_debugger_on_start,
|
|
133
|
+
filter: filter)
|
|
131
134
|
end
|
|
132
135
|
|
|
133
|
-
def set_discover_targets(discover:)
|
|
136
|
+
def set_discover_targets(discover:, filter: nil)
|
|
134
137
|
@devtools.send_cmd('Target.setDiscoverTargets',
|
|
135
|
-
discover: discover
|
|
138
|
+
discover: discover,
|
|
139
|
+
filter: filter)
|
|
136
140
|
end
|
|
137
141
|
|
|
138
142
|
def set_remote_locations(locations:)
|
|
@@ -141,6 +145,6 @@ module Selenium
|
|
|
141
145
|
end
|
|
142
146
|
|
|
143
147
|
end # Target
|
|
144
|
-
end #
|
|
148
|
+
end # V107
|
|
145
149
|
end # DevTools
|
|
146
150
|
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 V107
|
|
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 # V107
|
|
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 V107
|
|
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 # V107
|
|
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 V107
|
|
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 # V107
|
|
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 V107
|
|
24
24
|
class WebAuthn
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -92,6 +92,6 @@ module Selenium
|
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
end # WebAuthn
|
|
95
|
-
end #
|
|
95
|
+
end # V107
|
|
96
96
|
end # DevTools
|
|
97
97
|
end # Selenium
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v107/*", &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 V108
|
|
24
24
|
class Accessibility
|
|
25
25
|
EVENTS = {
|
|
26
26
|
load_complete: 'loadComplete',
|
|
@@ -86,6 +86,6 @@ module Selenium
|
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
end # Accessibility
|
|
89
|
-
end #
|
|
89
|
+
end # V108
|
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
24
24
|
class Cast
|
|
25
25
|
EVENTS = {
|
|
26
26
|
sinks_updated: 'sinksUpdated',
|
|
@@ -66,6 +66,6 @@ module Selenium
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
end # Cast
|
|
69
|
-
end #
|
|
69
|
+
end # V108
|
|
70
70
|
end # DevTools
|
|
71
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 V108
|
|
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 # V108
|
|
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 V108
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -153,6 +153,13 @@ module Selenium
|
|
|
153
153
|
text: text)
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
+
def set_scope_text(style_sheet_id:, range:, text:)
|
|
157
|
+
@devtools.send_cmd('CSS.setScopeText',
|
|
158
|
+
styleSheetId: style_sheet_id,
|
|
159
|
+
range: range,
|
|
160
|
+
text: text)
|
|
161
|
+
end
|
|
162
|
+
|
|
156
163
|
def set_rule_selector(style_sheet_id:, range:, selector:)
|
|
157
164
|
@devtools.send_cmd('CSS.setRuleSelector',
|
|
158
165
|
styleSheetId: style_sheet_id,
|
|
@@ -189,6 +196,6 @@ module Selenium
|
|
|
189
196
|
end
|
|
190
197
|
|
|
191
198
|
end # CSS
|
|
192
|
-
end #
|
|
199
|
+
end # V108
|
|
193
200
|
end # DevTools
|
|
194
201
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
24
24
|
class Debugger
|
|
25
25
|
EVENTS = {
|
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -79,6 +79,16 @@ module Selenium
|
|
|
79
79
|
scriptId: script_id)
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
+
def disassemble_wasm_module(script_id:)
|
|
83
|
+
@devtools.send_cmd('Debugger.disassembleWasmModule',
|
|
84
|
+
scriptId: script_id)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
def next_wasm_disassembly_chunk(stream_id:)
|
|
88
|
+
@devtools.send_cmd('Debugger.nextWasmDisassemblyChunk',
|
|
89
|
+
streamId: stream_id)
|
|
90
|
+
end
|
|
91
|
+
|
|
82
92
|
def get_wasm_bytecode(script_id:)
|
|
83
93
|
@devtools.send_cmd('Debugger.getWasmBytecode',
|
|
84
94
|
scriptId: script_id)
|
|
@@ -180,11 +190,12 @@ module Selenium
|
|
|
180
190
|
newValue: new_value)
|
|
181
191
|
end
|
|
182
192
|
|
|
183
|
-
def set_script_source(script_id:, script_source:, dry_run: nil)
|
|
193
|
+
def set_script_source(script_id:, script_source:, dry_run: nil, allow_top_frame_editing: nil)
|
|
184
194
|
@devtools.send_cmd('Debugger.setScriptSource',
|
|
185
195
|
scriptId: script_id,
|
|
186
196
|
scriptSource: script_source,
|
|
187
|
-
dryRun: dry_run
|
|
197
|
+
dryRun: dry_run,
|
|
198
|
+
allowTopFrameEditing: allow_top_frame_editing)
|
|
188
199
|
end
|
|
189
200
|
|
|
190
201
|
def set_skip_all_pauses(skip:)
|
|
@@ -216,6 +227,6 @@ module Selenium
|
|
|
216
227
|
end
|
|
217
228
|
|
|
218
229
|
end # Debugger
|
|
219
|
-
end #
|
|
230
|
+
end # V108
|
|
220
231
|
end # DevTools
|
|
221
232
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -33,6 +33,7 @@ module Selenium
|
|
|
33
33
|
document_updated: 'documentUpdated',
|
|
34
34
|
inline_style_invalidated: 'inlineStyleInvalidated',
|
|
35
35
|
pseudo_element_added: 'pseudoElementAdded',
|
|
36
|
+
top_layer_elements_updated: 'topLayerElementsUpdated',
|
|
36
37
|
pseudo_element_removed: 'pseudoElementRemoved',
|
|
37
38
|
set_child_nodes: 'setChildNodes',
|
|
38
39
|
shadow_root_popped: 'shadowRootPopped',
|
|
@@ -214,6 +215,10 @@ module Selenium
|
|
|
214
215
|
selector: selector)
|
|
215
216
|
end
|
|
216
217
|
|
|
218
|
+
def get_top_layer_elements
|
|
219
|
+
@devtools.send_cmd('DOM.getTopLayerElements')
|
|
220
|
+
end
|
|
221
|
+
|
|
217
222
|
def redo
|
|
218
223
|
@devtools.send_cmd('DOM.redo')
|
|
219
224
|
end
|
|
@@ -330,6 +335,6 @@ module Selenium
|
|
|
330
335
|
end
|
|
331
336
|
|
|
332
337
|
end # DOM
|
|
333
|
-
end #
|
|
338
|
+
end # V108
|
|
334
339
|
end # DevTools
|
|
335
340
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
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 # V108
|
|
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 V108
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -201,6 +201,6 @@ module Selenium
|
|
|
201
201
|
end
|
|
202
202
|
|
|
203
203
|
end # Emulation
|
|
204
|
-
end #
|
|
204
|
+
end # V108
|
|
205
205
|
end # DevTools
|
|
206
206
|
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 V108
|
|
24
24
|
class EventBreakpoints
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -43,6 +43,6 @@ module Selenium
|
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
end # EventBreakpoints
|
|
46
|
-
end #
|
|
46
|
+
end # V108
|
|
47
47
|
end # DevTools
|
|
48
48
|
end # Selenium
|