selenium-devtools 0.117.0 → 0.119.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/lib/selenium/devtools/{v116 → v118}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/animation.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/audits.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/autofill.rb +13 -2
- data/lib/selenium/devtools/{v116 → v118}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/browser.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/cast.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/console.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/css.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/database.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/dom.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/fed_cm.rb +7 -2
- data/lib/selenium/devtools/{v115 → v118}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/input.rb +6 -2
- data/lib/selenium/devtools/{v115 → v118}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/io.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/log.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/media.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/memory.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/network.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/page.rb +8 -6
- data/lib/selenium/devtools/{v115 → v118}/performance.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/preload.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/schema.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/security.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v116 → v118}/storage.rb +13 -2
- data/lib/selenium/devtools/{v115 → v118}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/target.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v115.rb → v118.rb} +3 -3
- data/lib/selenium/devtools/{v115 → v119}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/animation.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/audits.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/autofill.rb +18 -2
- data/lib/selenium/devtools/{v115 → v119}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/browser.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/cast.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/console.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/css.rb +9 -2
- data/lib/selenium/devtools/{v116 → v119}/database.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/dom.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/fed_cm.rb +7 -2
- data/lib/selenium/devtools/{v116 → v119}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/input.rb +6 -2
- data/lib/selenium/devtools/{v116 → v119}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/io.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/log.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/media.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/memory.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/network.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/page.rb +13 -6
- data/lib/selenium/devtools/{v116 → v119}/performance.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/preload.rb +2 -3
- data/lib/selenium/devtools/{v116 → v119}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/runtime.rb +4 -6
- data/lib/selenium/devtools/{v116 → v119}/schema.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/security.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v115 → v119}/storage.rb +13 -2
- data/lib/selenium/devtools/{v116 → v119}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/target.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v116 → v119}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v116.rb → v119.rb} +3 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +104 -104
|
@@ -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 V118
|
|
24
24
|
class Page
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -65,11 +65,12 @@ module Selenium
|
|
|
65
65
|
scriptSource: script_source)
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
-
def add_script_to_evaluate_on_new_document(source:, world_name: nil, include_command_line_api: nil)
|
|
68
|
+
def add_script_to_evaluate_on_new_document(source:, world_name: nil, include_command_line_api: nil, run_immediately: nil)
|
|
69
69
|
@devtools.send_cmd('Page.addScriptToEvaluateOnNewDocument',
|
|
70
70
|
source: source,
|
|
71
71
|
worldName: world_name,
|
|
72
|
-
includeCommandLineAPI: include_command_line_api
|
|
72
|
+
includeCommandLineAPI: include_command_line_api,
|
|
73
|
+
runImmediately: run_immediately)
|
|
73
74
|
end
|
|
74
75
|
|
|
75
76
|
def bring_to_front
|
|
@@ -195,7 +196,7 @@ module Selenium
|
|
|
195
196
|
entryId: entry_id)
|
|
196
197
|
end
|
|
197
198
|
|
|
198
|
-
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)
|
|
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)
|
|
199
200
|
@devtools.send_cmd('Page.printToPDF',
|
|
200
201
|
landscape: landscape,
|
|
201
202
|
displayHeaderFooter: display_header_footer,
|
|
@@ -211,7 +212,8 @@ module Selenium
|
|
|
211
212
|
headerTemplate: header_template,
|
|
212
213
|
footerTemplate: footer_template,
|
|
213
214
|
preferCSSPageSize: prefer_css_page_size,
|
|
214
|
-
transferMode: transfer_mode
|
|
215
|
+
transferMode: transfer_mode,
|
|
216
|
+
generateTaggedPDF: generate_tagged_pdf)
|
|
215
217
|
end
|
|
216
218
|
|
|
217
219
|
def reload(ignore_cache: nil, script_to_evaluate_on_load: nil)
|
|
@@ -404,6 +406,6 @@ module Selenium
|
|
|
404
406
|
end
|
|
405
407
|
|
|
406
408
|
end # Page
|
|
407
|
-
end #
|
|
409
|
+
end # V118
|
|
408
410
|
end # DevTools
|
|
409
411
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
24
24
|
class Preload
|
|
25
25
|
EVENTS = {
|
|
26
26
|
rule_set_updated: 'ruleSetUpdated',
|
|
@@ -50,6 +50,6 @@ module Selenium
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
end # Preload
|
|
53
|
-
end #
|
|
53
|
+
end # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
24
24
|
class Runtime
|
|
25
25
|
EVENTS = {
|
|
26
26
|
binding_called: 'bindingCalled',
|
|
@@ -199,6 +199,6 @@ module Selenium
|
|
|
199
199
|
end
|
|
200
200
|
|
|
201
201
|
end # Runtime
|
|
202
|
-
end #
|
|
202
|
+
end # V118
|
|
203
203
|
end # DevTools
|
|
204
204
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
@@ -31,6 +31,7 @@ module Selenium
|
|
|
31
31
|
shared_storage_accessed: 'sharedStorageAccessed',
|
|
32
32
|
storage_bucket_created_or_updated: 'storageBucketCreatedOrUpdated',
|
|
33
33
|
storage_bucket_deleted: 'storageBucketDeleted',
|
|
34
|
+
attribution_reporting_source_registered: 'attributionReportingSourceRegistered',
|
|
34
35
|
}.freeze
|
|
35
36
|
|
|
36
37
|
def initialize(devtools)
|
|
@@ -200,7 +201,17 @@ module Selenium
|
|
|
200
201
|
@devtools.send_cmd('Storage.runBounceTrackingMitigations')
|
|
201
202
|
end
|
|
202
203
|
|
|
204
|
+
def set_attribution_reporting_local_testing_mode(enabled:)
|
|
205
|
+
@devtools.send_cmd('Storage.setAttributionReportingLocalTestingMode',
|
|
206
|
+
enabled: enabled)
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
def set_attribution_reporting_tracking(enable:)
|
|
210
|
+
@devtools.send_cmd('Storage.setAttributionReportingTracking',
|
|
211
|
+
enable: enable)
|
|
212
|
+
end
|
|
213
|
+
|
|
203
214
|
end # Storage
|
|
204
|
-
end #
|
|
215
|
+
end # V118
|
|
205
216
|
end # DevTools
|
|
206
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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__))}/v118/*", &method(:require))
|
|
23
23
|
|
|
24
24
|
module Selenium
|
|
25
25
|
module DevTools
|
|
26
|
-
module
|
|
26
|
+
module V118
|
|
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 # V118
|
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
65
65
|
end # DevTools
|
|
66
66
|
end # Selenium
|
|
@@ -20,8 +20,11 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V119
|
|
24
24
|
class Autofill
|
|
25
|
+
EVENTS = {
|
|
26
|
+
address_form_filled: 'addressFormFilled',
|
|
27
|
+
}.freeze
|
|
25
28
|
|
|
26
29
|
def initialize(devtools)
|
|
27
30
|
@devtools = devtools
|
|
@@ -39,7 +42,20 @@ module Selenium
|
|
|
39
42
|
card: card)
|
|
40
43
|
end
|
|
41
44
|
|
|
45
|
+
def set_addresses(addresses:)
|
|
46
|
+
@devtools.send_cmd('Autofill.setAddresses',
|
|
47
|
+
addresses: addresses)
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
def disable
|
|
51
|
+
@devtools.send_cmd('Autofill.disable')
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def enable
|
|
55
|
+
@devtools.send_cmd('Autofill.enable')
|
|
56
|
+
end
|
|
57
|
+
|
|
42
58
|
end # Autofill
|
|
43
|
-
end #
|
|
59
|
+
end # V119
|
|
44
60
|
end # DevTools
|
|
45
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -125,6 +125,13 @@ module Selenium
|
|
|
125
125
|
value: value)
|
|
126
126
|
end
|
|
127
127
|
|
|
128
|
+
def set_property_rule_property_name(style_sheet_id:, range:, property_name:)
|
|
129
|
+
@devtools.send_cmd('CSS.setPropertyRulePropertyName',
|
|
130
|
+
styleSheetId: style_sheet_id,
|
|
131
|
+
range: range,
|
|
132
|
+
propertyName: property_name)
|
|
133
|
+
end
|
|
134
|
+
|
|
128
135
|
def set_keyframe_key(style_sheet_id:, range:, key_text:)
|
|
129
136
|
@devtools.send_cmd('CSS.setKeyframeKey',
|
|
130
137
|
styleSheetId: style_sheet_id,
|
|
@@ -196,6 +203,6 @@ module Selenium
|
|
|
196
203
|
end
|
|
197
204
|
|
|
198
205
|
end # CSS
|
|
199
|
-
end #
|
|
206
|
+
end # V119
|
|
200
207
|
end # DevTools
|
|
201
208
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
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 V119
|
|
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 # V119
|
|
341
341
|
end # DevTools
|
|
342
342
|
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 V119
|
|
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 # V119
|
|
93
93
|
end # DevTools
|
|
94
94
|
end # Selenium
|