selenium-devtools 0.120.0 → 0.122.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/{v119 → v121}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/animation.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/audits.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/browser.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/cast.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/console.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/css.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/database.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/dom.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/emulation.rb +23 -4
- data/lib/selenium/devtools/{v118 → v121}/event_breakpoints.rb +6 -2
- data/lib/selenium/devtools/{v118 → v121}/fed_cm.rb +7 -5
- data/lib/selenium/devtools/{v118 → v121}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/input.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/io.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/log.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/media.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/memory.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/network.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v118 → v121}/page.rb +5 -8
- data/lib/selenium/devtools/{v118 → v121}/performance.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/preload.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/schema.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/security.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/storage.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/target.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v118.rb → v121.rb} +3 -3
- data/lib/selenium/devtools/{v118 → v122}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/animation.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/audits.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/browser.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/cast.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/console.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/css.rb +15 -6
- data/lib/selenium/devtools/{v119 → v122}/database.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/dom.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/emulation.rb +23 -4
- data/lib/selenium/devtools/{v119 → v122}/event_breakpoints.rb +6 -2
- data/lib/selenium/devtools/{v119 → v122}/fed_cm.rb +14 -5
- data/lib/selenium/devtools/{v119 → v122}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/input.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/io.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/log.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/media.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/memory.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/network.rb +7 -2
- data/lib/selenium/devtools/{v119 → v122}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v119 → v122}/page.rb +5 -8
- data/lib/selenium/devtools/{v119 → v122}/performance.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/preload.rb +2 -3
- data/lib/selenium/devtools/{v119 → v122}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/runtime.rb +4 -6
- data/lib/selenium/devtools/{v119 → v122}/schema.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/security.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/storage.rb +9 -2
- data/lib/selenium/devtools/{v119 → v122}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/target.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v119.rb → v122.rb} +3 -3
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +0 -2
- metadata +107 -107
|
@@ -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 V121
|
|
24
24
|
class Overlay
|
|
25
25
|
EVENTS = {
|
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
|
@@ -196,7 +196,12 @@ module Selenium
|
|
|
196
196
|
isolatedElementHighlightConfigs: isolated_element_highlight_configs)
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
def set_show_window_controls_overlay(window_controls_overlay_config: nil)
|
|
200
|
+
@devtools.send_cmd('Overlay.setShowWindowControlsOverlay',
|
|
201
|
+
windowControlsOverlayConfig: window_controls_overlay_config)
|
|
202
|
+
end
|
|
203
|
+
|
|
199
204
|
end # Overlay
|
|
200
|
-
end #
|
|
205
|
+
end # V121
|
|
201
206
|
end # DevTools
|
|
202
207
|
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 V121
|
|
24
24
|
class Page
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -146,10 +146,6 @@ module Selenium
|
|
|
146
146
|
frameId: frame_id)
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
-
def get_cookies
|
|
150
|
-
@devtools.send_cmd('Page.getCookies')
|
|
151
|
-
end
|
|
152
|
-
|
|
153
149
|
def get_frame_tree
|
|
154
150
|
@devtools.send_cmd('Page.getFrameTree')
|
|
155
151
|
end
|
|
@@ -196,7 +192,7 @@ module Selenium
|
|
|
196
192
|
entryId: entry_id)
|
|
197
193
|
end
|
|
198
194
|
|
|
199
|
-
def print_to_pdf(landscape: nil, display_header_footer: nil, print_background: nil, scale: nil, paper_width: nil, paper_height: nil, margin_top: nil, margin_bottom: nil, margin_left: nil, margin_right: nil, page_ranges: nil, header_template: nil, footer_template: nil, prefer_css_page_size: nil, transfer_mode: nil, generate_tagged_pdf: nil)
|
|
195
|
+
def print_to_pdf(landscape: nil, display_header_footer: nil, print_background: nil, scale: nil, paper_width: nil, paper_height: nil, margin_top: nil, margin_bottom: nil, margin_left: nil, margin_right: nil, page_ranges: nil, header_template: nil, footer_template: nil, prefer_css_page_size: nil, transfer_mode: nil, generate_tagged_pdf: nil, generate_document_outline: nil)
|
|
200
196
|
@devtools.send_cmd('Page.printToPDF',
|
|
201
197
|
landscape: landscape,
|
|
202
198
|
displayHeaderFooter: display_header_footer,
|
|
@@ -213,7 +209,8 @@ module Selenium
|
|
|
213
209
|
footerTemplate: footer_template,
|
|
214
210
|
preferCSSPageSize: prefer_css_page_size,
|
|
215
211
|
transferMode: transfer_mode,
|
|
216
|
-
generateTaggedPDF: generate_tagged_pdf
|
|
212
|
+
generateTaggedPDF: generate_tagged_pdf,
|
|
213
|
+
generateDocumentOutline: generate_document_outline)
|
|
217
214
|
end
|
|
218
215
|
|
|
219
216
|
def reload(ignore_cache: nil, script_to_evaluate_on_load: nil)
|
|
@@ -406,6 +403,6 @@ module Selenium
|
|
|
406
403
|
end
|
|
407
404
|
|
|
408
405
|
end # Page
|
|
409
|
-
end #
|
|
406
|
+
end # V121
|
|
410
407
|
end # DevTools
|
|
411
408
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
24
24
|
class Preload
|
|
25
25
|
EVENTS = {
|
|
26
26
|
rule_set_updated: 'ruleSetUpdated',
|
|
@@ -49,6 +49,6 @@ module Selenium
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
end # Preload
|
|
52
|
-
end #
|
|
52
|
+
end # V121
|
|
53
53
|
end # DevTools
|
|
54
54
|
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 V121
|
|
24
24
|
class Profiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
console_profile_finished: 'consoleProfileFinished',
|
|
@@ -78,6 +78,6 @@ module Selenium
|
|
|
78
78
|
end
|
|
79
79
|
|
|
80
80
|
end # Profiler
|
|
81
|
-
end #
|
|
81
|
+
end # V121
|
|
82
82
|
end # DevTools
|
|
83
83
|
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 V121
|
|
24
24
|
class Runtime
|
|
25
25
|
EVENTS = {
|
|
26
26
|
binding_called: 'bindingCalled',
|
|
@@ -197,6 +197,6 @@ module Selenium
|
|
|
197
197
|
end
|
|
198
198
|
|
|
199
199
|
end # Runtime
|
|
200
|
-
end #
|
|
200
|
+
end # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
@@ -212,6 +212,6 @@ module Selenium
|
|
|
212
212
|
end
|
|
213
213
|
|
|
214
214
|
end # Storage
|
|
215
|
-
end #
|
|
215
|
+
end # V121
|
|
216
216
|
end # DevTools
|
|
217
217
|
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 V121
|
|
24
24
|
class SystemInfo
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -46,6 +46,6 @@ module Selenium
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
end # SystemInfo
|
|
49
|
-
end #
|
|
49
|
+
end # V121
|
|
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 V121
|
|
24
24
|
class Target
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attached_to_target: 'attachedToTarget',
|
|
@@ -146,6 +146,6 @@ module Selenium
|
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
end # Target
|
|
149
|
-
end #
|
|
149
|
+
end # V121
|
|
150
150
|
end # DevTools
|
|
151
151
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
24
24
|
class WebAuthn
|
|
25
25
|
EVENTS = {
|
|
26
26
|
credential_added: 'credentialAdded',
|
|
@@ -104,6 +104,6 @@ module Selenium
|
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
end # WebAuthn
|
|
107
|
-
end #
|
|
107
|
+
end # V121
|
|
108
108
|
end # DevTools
|
|
109
109
|
end # Selenium
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
|
|
22
|
-
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/
|
|
22
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v121/*", &method(:require))
|
|
23
23
|
|
|
24
24
|
module Selenium
|
|
25
25
|
module DevTools
|
|
26
|
-
module
|
|
26
|
+
module V121
|
|
27
27
|
METHODS_TO_CLASSES = {
|
|
28
28
|
accessibility: 'Accessibility',
|
|
29
29
|
animation: 'Animation',
|
|
@@ -76,6 +76,6 @@ module Selenium
|
|
|
76
76
|
runtime: 'Runtime',
|
|
77
77
|
schema: 'Schema',
|
|
78
78
|
}.freeze
|
|
79
|
-
end #
|
|
79
|
+
end # V121
|
|
80
80
|
end # DevTools
|
|
81
81
|
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 V122
|
|
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 # V122
|
|
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 V122
|
|
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 # V122
|
|
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 V122
|
|
24
24
|
class Audits
|
|
25
25
|
EVENTS = {
|
|
26
26
|
issue_added: 'issueAdded',
|
|
@@ -61,6 +61,6 @@ module Selenium
|
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
end # Audits
|
|
64
|
-
end #
|
|
64
|
+
end # V122
|
|
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 V122
|
|
24
24
|
class Autofill
|
|
25
25
|
EVENTS = {
|
|
26
26
|
address_form_filled: 'addressFormFilled',
|
|
@@ -56,6 +56,6 @@ module Selenium
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
end # Autofill
|
|
59
|
-
end #
|
|
59
|
+
end # V122
|
|
60
60
|
end # DevTools
|
|
61
61
|
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 V122
|
|
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 # V122
|
|
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 V122
|
|
24
24
|
class Browser
|
|
25
25
|
EVENTS = {
|
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -135,6 +135,6 @@ module Selenium
|
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
end # Browser
|
|
138
|
-
end #
|
|
138
|
+
end # V122
|
|
139
139
|
end # DevTools
|
|
140
140
|
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 V122
|
|
24
24
|
class CacheStorage
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -66,6 +66,6 @@ module Selenium
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
end # CacheStorage
|
|
69
|
-
end #
|
|
69
|
+
end # V122
|
|
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 V122
|
|
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 # V122
|
|
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 V122
|
|
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 # V122
|
|
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 V122
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -39,11 +39,12 @@ module Selenium
|
|
|
39
39
|
@devtools.callbacks["CSS.#{event}"] << block
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
def add_rule(style_sheet_id:, rule_text:, location:)
|
|
42
|
+
def add_rule(style_sheet_id:, rule_text:, location:, node_for_property_syntax_validation: nil)
|
|
43
43
|
@devtools.send_cmd('CSS.addRule',
|
|
44
44
|
styleSheetId: style_sheet_id,
|
|
45
45
|
ruleText: rule_text,
|
|
46
|
-
location: location
|
|
46
|
+
location: location,
|
|
47
|
+
nodeForPropertySyntaxValidation: node_for_property_syntax_validation)
|
|
47
48
|
end
|
|
48
49
|
|
|
49
50
|
def collect_class_names(style_sheet_id:)
|
|
@@ -125,6 +126,13 @@ module Selenium
|
|
|
125
126
|
value: value)
|
|
126
127
|
end
|
|
127
128
|
|
|
129
|
+
def set_property_rule_property_name(style_sheet_id:, range:, property_name:)
|
|
130
|
+
@devtools.send_cmd('CSS.setPropertyRulePropertyName',
|
|
131
|
+
styleSheetId: style_sheet_id,
|
|
132
|
+
range: range,
|
|
133
|
+
propertyName: property_name)
|
|
134
|
+
end
|
|
135
|
+
|
|
128
136
|
def set_keyframe_key(style_sheet_id:, range:, key_text:)
|
|
129
137
|
@devtools.send_cmd('CSS.setKeyframeKey',
|
|
130
138
|
styleSheetId: style_sheet_id,
|
|
@@ -173,9 +181,10 @@ module Selenium
|
|
|
173
181
|
text: text)
|
|
174
182
|
end
|
|
175
183
|
|
|
176
|
-
def set_style_texts(edits:)
|
|
184
|
+
def set_style_texts(edits:, node_for_property_syntax_validation: nil)
|
|
177
185
|
@devtools.send_cmd('CSS.setStyleTexts',
|
|
178
|
-
edits: edits
|
|
186
|
+
edits: edits,
|
|
187
|
+
nodeForPropertySyntaxValidation: node_for_property_syntax_validation)
|
|
179
188
|
end
|
|
180
189
|
|
|
181
190
|
def start_rule_usage_tracking
|
|
@@ -196,6 +205,6 @@ module Selenium
|
|
|
196
205
|
end
|
|
197
206
|
|
|
198
207
|
end # CSS
|
|
199
|
-
end #
|
|
208
|
+
end # V122
|
|
200
209
|
end # DevTools
|
|
201
210
|
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 V122
|
|
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 # V122
|
|
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 V122
|
|
24
24
|
class Debugger
|
|
25
25
|
EVENTS = {
|
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -227,6 +227,6 @@ module Selenium
|
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
end # Debugger
|
|
230
|
-
end #
|
|
230
|
+
end # V122
|
|
231
231
|
end # DevTools
|
|
232
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 V122
|
|
24
24
|
class DeviceAccess
|
|
25
25
|
EVENTS = {
|
|
26
26
|
device_request_prompted: 'deviceRequestPrompted',
|
|
@@ -55,6 +55,6 @@ module Selenium
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
end # DeviceAccess
|
|
58
|
-
end #
|
|
58
|
+
end # V122
|
|
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 V122
|
|
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 # V122
|
|
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 V122
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -337,6 +337,6 @@ module Selenium
|
|
|
337
337
|
end
|
|
338
338
|
|
|
339
339
|
end # DOM
|
|
340
|
-
end #
|
|
340
|
+
end # V122
|
|
341
341
|
end # DevTools
|
|
342
342
|
end # Selenium
|