selenium-devtools 0.99.1 → 0.102.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/{v98 → v100}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/animation.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/audits.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/browser.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/cast.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/console.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/css.rb +9 -2
- data/lib/selenium/devtools/{v96 → v100}/database.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/dom.rb +5 -4
- data/lib/selenium/devtools/{v96 → v100}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/emulation.rb +3 -4
- data/lib/selenium/devtools/{v97 → v100}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v99 → v100}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/input.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/io.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/log.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/media.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/memory.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/network.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v99 → v100}/page.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/performance.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v99 → v100}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v97 → v100}/schema.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/security.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v99 → v100}/storage.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/target.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v96 → v100}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v98 → v100}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v100.rb +1 -0
- data/lib/selenium/devtools/{v99 → v101}/accessibility.rb +3 -4
- data/lib/selenium/devtools/{v98 → v101}/animation.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/audits.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/browser.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v99 → v101}/cast.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/console.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/css.rb +14 -2
- data/lib/selenium/devtools/{v97 → v101}/database.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/dom.rb +5 -4
- data/lib/selenium/devtools/{v99 → v101}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v99 → v101}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/emulation.rb +8 -4
- data/lib/selenium/devtools/{v98 → v101}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/input.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/io.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/log.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/media.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/memory.rb +2 -2
- data/lib/selenium/devtools/{v99 → v101}/network.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v98 → v101}/page.rb +5 -4
- data/lib/selenium/devtools/{v98 → v101}/performance.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/runtime.rb +7 -2
- data/lib/selenium/devtools/{v98 → v101}/schema.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/security.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/storage.rb +14 -2
- data/lib/selenium/devtools/{v99 → v101}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v99 → v101}/target.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v97 → v101}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v96 → v101}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v101.rb +1 -0
- data/lib/selenium/devtools/{v96 → v102}/accessibility.rb +19 -4
- data/lib/selenium/devtools/{v96 → v102}/animation.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/audits.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/browser.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/cast.rb +7 -2
- data/lib/selenium/devtools/{v96 → v102}/console.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/css.rb +14 -2
- data/lib/selenium/devtools/{v98 → v102}/database.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/dom.rb +5 -4
- data/lib/selenium/devtools/{v98 → v102}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/emulation.rb +8 -4
- data/lib/selenium/devtools/{v99 → v102}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/input.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/io.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/log.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/media.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/memory.rb +2 -2
- data/lib/selenium/devtools/{v96 → v102}/network.rb +6 -4
- data/lib/selenium/devtools/{v99 → v102}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/page.rb +6 -4
- data/lib/selenium/devtools/{v99 → v102}/performance.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/runtime.rb +13 -6
- data/lib/selenium/devtools/{v96 → v102}/schema.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/security.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/storage.rb +14 -2
- data/lib/selenium/devtools/{v97 → v102}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v97 → v102}/target.rb +5 -4
- data/lib/selenium/devtools/{v98 → v102}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v98 → v102}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v99 → v102}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v102.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +3 -2
- metadata +145 -190
- data/lib/selenium/devtools/v96/audits.rb +0 -62
- data/lib/selenium/devtools/v96/emulation.rb +0 -197
- data/lib/selenium/devtools/v96/heap_profiler.rb +0 -105
- data/lib/selenium/devtools/v96/inspector.rb +0 -51
- data/lib/selenium/devtools/v96/page.rb +0 -393
- data/lib/selenium/devtools/v96/runtime.rb +0 -194
- data/lib/selenium/devtools/v96/system_info.rb +0 -46
- data/lib/selenium/devtools/v96/target.rb +0 -145
- data/lib/selenium/devtools/v96.rb +0 -1
- data/lib/selenium/devtools/v97/accessibility.rb +0 -76
- data/lib/selenium/devtools/v97/background_service.rb +0 -63
- data/lib/selenium/devtools/v97/browser.rb +0 -135
- data/lib/selenium/devtools/v97/cast.rb +0 -66
- data/lib/selenium/devtools/v97/dom_debugger.rb +0 -94
- data/lib/selenium/devtools/v97/dom_storage.rb +0 -75
- data/lib/selenium/devtools/v97/io.rb +0 -55
- data/lib/selenium/devtools/v97/log.rb +0 -62
- data/lib/selenium/devtools/v97/network.rb +0 -262
- data/lib/selenium/devtools/v97/overlay.rb +0 -202
- data/lib/selenium/devtools/v97/performance.rb +0 -59
- data/lib/selenium/devtools/v97/security.rb +0 -67
- data/lib/selenium/devtools/v97/storage.rb +0 -106
- data/lib/selenium/devtools/v97/web_authn.rb +0 -96
- data/lib/selenium/devtools/v97.rb +0 -1
- data/lib/selenium/devtools/v98.rb +0 -1
- data/lib/selenium/devtools/v99/animation.rb +0 -94
- data/lib/selenium/devtools/v99/cache_storage.rb +0 -69
- data/lib/selenium/devtools/v99/console.rb +0 -53
- data/lib/selenium/devtools/v99/css.rb +0 -182
- data/lib/selenium/devtools/v99/database.rb +0 -60
- data/lib/selenium/devtools/v99/debugger.rb +0 -220
- data/lib/selenium/devtools/v99/device_orientation.rb +0 -49
- data/lib/selenium/devtools/v99/dom.rb +0 -334
- data/lib/selenium/devtools/v99/dom_snapshot.rb +0 -63
- data/lib/selenium/devtools/v99/fetch.rb +0 -103
- data/lib/selenium/devtools/v99/headless_experimental.rb +0 -57
- data/lib/selenium/devtools/v99/indexed_db.rb +0 -96
- data/lib/selenium/devtools/v99/input.rb +0 -168
- data/lib/selenium/devtools/v99/layer_tree.rb +0 -91
- data/lib/selenium/devtools/v99/media.rb +0 -53
- data/lib/selenium/devtools/v99/memory.rb +0 -82
- data/lib/selenium/devtools/v99/performance_timeline.rb +0 -46
- data/lib/selenium/devtools/v99/profiler.rb +0 -95
- data/lib/selenium/devtools/v99/schema.rb +0 -42
- data/lib/selenium/devtools/v99/service_worker.rb +0 -112
- data/lib/selenium/devtools/v99/tethering.rb +0 -51
- data/lib/selenium/devtools/v99/tracing.rb +0 -75
- data/lib/selenium/devtools/v99/web_audio.rb +0 -66
- data/lib/selenium/devtools/v99.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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
81
81
|
end # DevTools
|
82
82
|
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 V101
|
24
24
|
class Network
|
25
25
|
EVENTS = {
|
26
26
|
data_received: 'dataReceived',
|
@@ -259,6 +259,6 @@ module Selenium
|
|
259
259
|
end
|
260
260
|
|
261
261
|
end # Network
|
262
|
-
end #
|
262
|
+
end # V101
|
263
263
|
end # DevTools
|
264
264
|
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 V101
|
24
24
|
class Overlay
|
25
25
|
EVENTS = {
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
@@ -197,6 +197,6 @@ module Selenium
|
|
197
197
|
end
|
198
198
|
|
199
199
|
end # Overlay
|
200
|
-
end #
|
200
|
+
end # V101
|
201
201
|
end # DevTools
|
202
202
|
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 V101
|
24
24
|
class Page
|
25
25
|
EVENTS = {
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
@@ -282,9 +282,10 @@ module Selenium
|
|
282
282
|
gamma: gamma)
|
283
283
|
end
|
284
284
|
|
285
|
-
def set_font_families(font_families:)
|
285
|
+
def set_font_families(font_families:, for_scripts: nil)
|
286
286
|
@devtools.send_cmd('Page.setFontFamilies',
|
287
|
-
fontFamilies: font_families
|
287
|
+
fontFamilies: font_families,
|
288
|
+
forScripts: for_scripts)
|
288
289
|
end
|
289
290
|
|
290
291
|
def set_font_sizes(font_sizes:)
|
@@ -388,6 +389,6 @@ module Selenium
|
|
388
389
|
end
|
389
390
|
|
390
391
|
end # Page
|
391
|
-
end #
|
392
|
+
end # V101
|
392
393
|
end # DevTools
|
393
394
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
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 V101
|
24
24
|
class Runtime
|
25
25
|
EVENTS = {
|
26
26
|
binding_called: 'bindingCalled',
|
@@ -188,7 +188,12 @@ module Selenium
|
|
188
188
|
name: name)
|
189
189
|
end
|
190
190
|
|
191
|
+
def get_exception_details(error_object_id:)
|
192
|
+
@devtools.send_cmd('Runtime.getExceptionDetails',
|
193
|
+
errorObjectId: error_object_id)
|
194
|
+
end
|
195
|
+
|
191
196
|
end # Runtime
|
192
|
-
end #
|
197
|
+
end # V101
|
193
198
|
end # DevTools
|
194
199
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
111
111
|
end # DevTools
|
112
112
|
end # Selenium
|
@@ -20,13 +20,14 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V101
|
24
24
|
class Storage
|
25
25
|
EVENTS = {
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
27
27
|
cache_storage_list_updated: 'cacheStorageListUpdated',
|
28
28
|
indexed_db_content_updated: 'indexedDBContentUpdated',
|
29
29
|
indexed_db_list_updated: 'indexedDBListUpdated',
|
30
|
+
interest_group_accessed: 'interestGroupAccessed',
|
30
31
|
}.freeze
|
31
32
|
|
32
33
|
def initialize(devtools)
|
@@ -100,7 +101,18 @@ module Selenium
|
|
100
101
|
issuerOrigin: issuer_origin)
|
101
102
|
end
|
102
103
|
|
104
|
+
def get_interest_group_details(owner_origin:, name:)
|
105
|
+
@devtools.send_cmd('Storage.getInterestGroupDetails',
|
106
|
+
ownerOrigin: owner_origin,
|
107
|
+
name: name)
|
108
|
+
end
|
109
|
+
|
110
|
+
def set_interest_group_tracking(enable:)
|
111
|
+
@devtools.send_cmd('Storage.setInterestGroupTracking',
|
112
|
+
enable: enable)
|
113
|
+
end
|
114
|
+
|
103
115
|
end # Storage
|
104
|
-
end #
|
116
|
+
end # V101
|
105
117
|
end # DevTools
|
106
118
|
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 V101
|
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 # V101
|
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 V101
|
24
24
|
class Target
|
25
25
|
EVENTS = {
|
26
26
|
attached_to_target: 'attachedToTarget',
|
@@ -141,6 +141,6 @@ module Selenium
|
|
141
141
|
end
|
142
142
|
|
143
143
|
end # Target
|
144
|
-
end #
|
144
|
+
end # V101
|
145
145
|
end # DevTools
|
146
146
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
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 V101
|
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 # V101
|
95
95
|
end # DevTools
|
96
96
|
end # Selenium
|
@@ -0,0 +1 @@
|
|
1
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v101/*", &method(:require))
|
@@ -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 V102
|
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,13 +52,24 @@ module Selenium
|
|
48
52
|
fetchRelatives: fetch_relatives)
|
49
53
|
end
|
50
54
|
|
51
|
-
def get_full_ax_tree(depth: nil,
|
55
|
+
def get_full_ax_tree(depth: nil, frame_id: nil)
|
52
56
|
@devtools.send_cmd('Accessibility.getFullAXTree',
|
53
57
|
depth: depth,
|
54
|
-
max_depth: max_depth,
|
55
58
|
frameId: frame_id)
|
56
59
|
end
|
57
60
|
|
61
|
+
def get_root_ax_node(frame_id: nil)
|
62
|
+
@devtools.send_cmd('Accessibility.getRootAXNode',
|
63
|
+
frameId: frame_id)
|
64
|
+
end
|
65
|
+
|
66
|
+
def get_ax_node_and_ancestors(node_id: nil, backend_node_id: nil, object_id: nil)
|
67
|
+
@devtools.send_cmd('Accessibility.getAXNodeAndAncestors',
|
68
|
+
nodeId: node_id,
|
69
|
+
backendNodeId: backend_node_id,
|
70
|
+
objectId: object_id)
|
71
|
+
end
|
72
|
+
|
58
73
|
def get_child_ax_nodes(id:, frame_id: nil)
|
59
74
|
@devtools.send_cmd('Accessibility.getChildAXNodes',
|
60
75
|
id: id,
|
@@ -71,6 +86,6 @@ module Selenium
|
|
71
86
|
end
|
72
87
|
|
73
88
|
end # Accessibility
|
74
|
-
end #
|
89
|
+
end # V102
|
75
90
|
end # DevTools
|
76
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 V102
|
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 # V102
|
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 V102
|
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 # V102
|
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 V102
|
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 # V102
|
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 V102
|
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 # V102
|
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 V102
|
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 # V102
|
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 V102
|
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 # V102
|
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 V102
|
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 # V102
|
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 V102
|
24
24
|
class CSS
|
25
25
|
EVENTS = {
|
26
26
|
fonts_updated: 'fontsUpdated',
|
@@ -104,6 +104,11 @@ module Selenium
|
|
104
104
|
styleSheetId: style_sheet_id)
|
105
105
|
end
|
106
106
|
|
107
|
+
def get_layers_for_node(node_id:)
|
108
|
+
@devtools.send_cmd('CSS.getLayersForNode',
|
109
|
+
nodeId: node_id)
|
110
|
+
end
|
111
|
+
|
107
112
|
def track_computed_style_updates(properties_to_track:)
|
108
113
|
@devtools.send_cmd('CSS.trackComputedStyleUpdates',
|
109
114
|
propertiesToTrack: properties_to_track)
|
@@ -141,6 +146,13 @@ module Selenium
|
|
141
146
|
text: text)
|
142
147
|
end
|
143
148
|
|
149
|
+
def set_supports_text(style_sheet_id:, range:, text:)
|
150
|
+
@devtools.send_cmd('CSS.setSupportsText',
|
151
|
+
styleSheetId: style_sheet_id,
|
152
|
+
range: range,
|
153
|
+
text: text)
|
154
|
+
end
|
155
|
+
|
144
156
|
def set_rule_selector(style_sheet_id:, range:, selector:)
|
145
157
|
@devtools.send_cmd('CSS.setRuleSelector',
|
146
158
|
styleSheetId: style_sheet_id,
|
@@ -177,6 +189,6 @@ module Selenium
|
|
177
189
|
end
|
178
190
|
|
179
191
|
end # CSS
|
180
|
-
end #
|
192
|
+
end # V102
|
181
193
|
end # DevTools
|
182
194
|
end # Selenium
|