selenium-devtools 0.116.0 → 0.118.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/{v114 → v117}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/animation.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/audits.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/autofill.rb +7 -2
- data/lib/selenium/devtools/{v114 → v117}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/browser.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/cast.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/console.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/css.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/database.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/dom.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/input.rb +6 -2
- data/lib/selenium/devtools/{v114 → v117}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/io.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/log.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/media.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/memory.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/network.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/page.rb +13 -6
- data/lib/selenium/devtools/{v114 → v117}/performance.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/preload.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/schema.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/security.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/storage.rb +13 -2
- data/lib/selenium/devtools/{v114 → v117}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/target.rb +2 -2
- data/lib/selenium/devtools/{v115 → v117}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v114 → v117}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v115.rb → v117.rb} +3 -3
- data/lib/selenium/devtools/{v115 → v118}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/animation.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/audits.rb +6 -2
- data/lib/selenium/devtools/v118/autofill.rb +61 -0
- data/lib/selenium/devtools/{v115 → v118}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/browser.rb +7 -2
- data/lib/selenium/devtools/{v114 → v118}/cache_storage.rb +5 -4
- data/lib/selenium/devtools/{v114 → v118}/cast.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/console.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/css.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/database.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/dom.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/fed_cm.rb +7 -2
- data/lib/selenium/devtools/{v115 → v118}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/indexed_db.rb +17 -10
- data/lib/selenium/devtools/{v114 → 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/{v114 → v118}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/log.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/media.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/memory.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/network.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/page.rb +13 -6
- data/lib/selenium/devtools/{v115 → v118}/performance.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v115 → v118}/preload.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v114 → v118}/runtime.rb +8 -6
- 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/{v114 → v118}/storage.rb +15 -5
- 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/{v114 → 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/{v114.rb → v118.rb} +4 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +104 -103
|
@@ -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 V117
|
|
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)
|
|
@@ -398,7 +400,12 @@ module Selenium
|
|
|
398
400
|
enabled: enabled)
|
|
399
401
|
end
|
|
400
402
|
|
|
403
|
+
def set_prerendering_allowed(is_allowed:)
|
|
404
|
+
@devtools.send_cmd('Page.setPrerenderingAllowed',
|
|
405
|
+
isAllowed: is_allowed)
|
|
406
|
+
end
|
|
407
|
+
|
|
401
408
|
end # Page
|
|
402
|
-
end #
|
|
409
|
+
end # V117
|
|
403
410
|
end # DevTools
|
|
404
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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 V117
|
|
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 # V117
|
|
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__))}/v117/*", &method(:require))
|
|
23
23
|
|
|
24
24
|
module Selenium
|
|
25
25
|
module DevTools
|
|
26
|
-
module
|
|
26
|
+
module V117
|
|
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 # V117
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
24
24
|
class Audits
|
|
25
25
|
EVENTS = {
|
|
26
26
|
issue_added: 'issueAdded',
|
|
@@ -56,7 +56,11 @@ module Selenium
|
|
|
56
56
|
reportAAA: report_aaa)
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
+
def check_forms_issues
|
|
60
|
+
@devtools.send_cmd('Audits.checkFormsIssues')
|
|
61
|
+
end
|
|
62
|
+
|
|
59
63
|
end # Audits
|
|
60
|
-
end #
|
|
64
|
+
end # V118
|
|
61
65
|
end # DevTools
|
|
62
66
|
end # Selenium
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Licensed to the Software Freedom Conservancy (SFC) under one
|
|
4
|
+
# or more contributor license agreements. See the NOTICE file
|
|
5
|
+
# distributed with this work for additional information
|
|
6
|
+
# regarding copyright ownership. The SFC licenses this file
|
|
7
|
+
# to you under the Apache License, Version 2.0 (the
|
|
8
|
+
# "License"); you may not use this file except in compliance
|
|
9
|
+
# with the License. You may obtain a copy of the License at
|
|
10
|
+
#
|
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
#
|
|
13
|
+
# Unless required by applicable law or agreed to in writing,
|
|
14
|
+
# software distributed under the License is distributed on an
|
|
15
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
16
|
+
# KIND, either express or implied. See the License for the
|
|
17
|
+
# specific language governing permissions and limitations
|
|
18
|
+
# under the License.
|
|
19
|
+
|
|
20
|
+
# This file is automatically generated. Any changes will be lost!
|
|
21
|
+
module Selenium
|
|
22
|
+
module DevTools
|
|
23
|
+
module V118
|
|
24
|
+
class Autofill
|
|
25
|
+
EVENTS = {
|
|
26
|
+
address_form_filled: 'addressFormFilled',
|
|
27
|
+
}.freeze
|
|
28
|
+
|
|
29
|
+
def initialize(devtools)
|
|
30
|
+
@devtools = devtools
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def on(event, &block)
|
|
34
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
|
35
|
+
@devtools.callbacks["Autofill.#{event}"] << block
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def trigger(field_id:, frame_id: nil, card:)
|
|
39
|
+
@devtools.send_cmd('Autofill.trigger',
|
|
40
|
+
fieldId: field_id,
|
|
41
|
+
frameId: frame_id,
|
|
42
|
+
card: card)
|
|
43
|
+
end
|
|
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
|
+
|
|
58
|
+
end # Autofill
|
|
59
|
+
end # V118
|
|
60
|
+
end # DevTools
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
24
24
|
class Browser
|
|
25
25
|
EVENTS = {
|
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -129,7 +129,12 @@ module Selenium
|
|
|
129
129
|
commandId: command_id)
|
|
130
130
|
end
|
|
131
131
|
|
|
132
|
+
def add_privacy_sandbox_enrollment_override(url:)
|
|
133
|
+
@devtools.send_cmd('Browser.addPrivacySandboxEnrollmentOverride',
|
|
134
|
+
url: url)
|
|
135
|
+
end
|
|
136
|
+
|
|
132
137
|
end # Browser
|
|
133
|
-
end #
|
|
138
|
+
end # V118
|
|
134
139
|
end # DevTools
|
|
135
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 V118
|
|
24
24
|
class CacheStorage
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -43,10 +43,11 @@ module Selenium
|
|
|
43
43
|
request: request)
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
def request_cache_names(security_origin: nil, storage_key: nil)
|
|
46
|
+
def request_cache_names(security_origin: nil, storage_key: nil, storage_bucket: nil)
|
|
47
47
|
@devtools.send_cmd('CacheStorage.requestCacheNames',
|
|
48
48
|
securityOrigin: security_origin,
|
|
49
|
-
storageKey: storage_key
|
|
49
|
+
storageKey: storage_key,
|
|
50
|
+
storageBucket: storage_bucket)
|
|
50
51
|
end
|
|
51
52
|
|
|
52
53
|
def request_cached_response(cache_id:, request_url:, request_headers:)
|
|
@@ -65,6 +66,6 @@ module Selenium
|
|
|
65
66
|
end
|
|
66
67
|
|
|
67
68
|
end # CacheStorage
|
|
68
|
-
end #
|
|
69
|
+
end # V118
|
|
69
70
|
end # DevTools
|
|
70
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -196,6 +196,6 @@ module Selenium
|
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
end # CSS
|
|
199
|
-
end #
|
|
199
|
+
end # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
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 V118
|
|
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 # V118
|
|
48
48
|
end # DevTools
|
|
49
49
|
end # Selenium
|