selenium-devtools 0.114.0 → 0.116.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/{v112 → v115}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/animation.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/audits.rb +6 -2
- data/lib/selenium/devtools/v115/autofill.rb +45 -0
- data/lib/selenium/devtools/{v112 → v115}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/browser.rb +7 -2
- data/lib/selenium/devtools/{v113 → v115}/cache_storage.rb +5 -4
- data/lib/selenium/devtools/{v112 → v115}/cast.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/console.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/css.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/database.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/dom.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/indexed_db.rb +17 -10
- data/lib/selenium/devtools/{v113 → v115}/input.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/io.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/log.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/media.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/memory.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/network.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/page.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/performance.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/preload.rb +3 -2
- data/lib/selenium/devtools/{v113 → v115}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v113 → v115}/schema.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/security.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/storage.rb +8 -5
- data/lib/selenium/devtools/{v113 → v115}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/target.rb +2 -2
- data/lib/selenium/devtools/{v113 → v115}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v113.rb → v115.rb} +4 -3
- data/lib/selenium/devtools/{v113 → v116}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/animation.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/audits.rb +6 -2
- data/lib/selenium/devtools/v116/autofill.rb +50 -0
- data/lib/selenium/devtools/{v113 → v116}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/browser.rb +7 -2
- data/lib/selenium/devtools/{v112 → v116}/cache_storage.rb +5 -4
- data/lib/selenium/devtools/{v113 → v116}/cast.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/console.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/css.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/database.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/dom.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/v116/fed_cm.rb +66 -0
- data/lib/selenium/devtools/{v113 → v116}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/indexed_db.rb +17 -10
- data/lib/selenium/devtools/{v112 → v116}/input.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/io.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/log.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/media.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/memory.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/network.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/page.rb +7 -5
- data/lib/selenium/devtools/{v113 → v116}/performance.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/preload.rb +7 -2
- data/lib/selenium/devtools/{v112 → v116}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v112 → v116}/schema.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/security.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/storage.rb +19 -2
- data/lib/selenium/devtools/{v112 → v116}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/target.rb +2 -2
- data/lib/selenium/devtools/{v112 → v116}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v113 → v116}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v112.rb → v116.rb} +5 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +104 -101
|
@@ -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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
24
24
|
class Page
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -399,6 +399,6 @@ module Selenium
|
|
|
399
399
|
end
|
|
400
400
|
|
|
401
401
|
end # Page
|
|
402
|
-
end #
|
|
402
|
+
end # V115
|
|
403
403
|
end # DevTools
|
|
404
404
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
45
45
|
end # DevTools
|
|
46
46
|
end # Selenium
|
|
@@ -20,12 +20,13 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V115
|
|
24
24
|
class Preload
|
|
25
25
|
EVENTS = {
|
|
26
26
|
rule_set_updated: 'ruleSetUpdated',
|
|
27
27
|
rule_set_removed: 'ruleSetRemoved',
|
|
28
28
|
prerender_attempt_completed: 'prerenderAttemptCompleted',
|
|
29
|
+
preload_enabled_state_updated: 'preloadEnabledStateUpdated',
|
|
29
30
|
prefetch_status_updated: 'prefetchStatusUpdated',
|
|
30
31
|
prerender_status_updated: 'prerenderStatusUpdated',
|
|
31
32
|
preloading_attempt_sources_updated: 'preloadingAttemptSourcesUpdated',
|
|
@@ -49,6 +50,6 @@ module Selenium
|
|
|
49
50
|
end
|
|
50
51
|
|
|
51
52
|
end # Preload
|
|
52
|
-
end #
|
|
53
|
+
end # V115
|
|
53
54
|
end # DevTools
|
|
54
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 V115
|
|
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 # V115
|
|
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 V115
|
|
24
24
|
class Runtime
|
|
25
25
|
EVENTS = {
|
|
26
26
|
binding_called: 'bindingCalled',
|
|
@@ -49,7 +49,7 @@ module Selenium
|
|
|
49
49
|
generatePreview: generate_preview)
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil, throw_on_side_effect: nil, unique_context_id: nil, generate_web_driver_value: nil)
|
|
52
|
+
def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil, throw_on_side_effect: nil, unique_context_id: nil, generate_web_driver_value: nil, serialization_options: nil)
|
|
53
53
|
@devtools.send_cmd('Runtime.callFunctionOn',
|
|
54
54
|
functionDeclaration: function_declaration,
|
|
55
55
|
objectId: object_id,
|
|
@@ -63,7 +63,8 @@ module Selenium
|
|
|
63
63
|
objectGroup: object_group,
|
|
64
64
|
throwOnSideEffect: throw_on_side_effect,
|
|
65
65
|
uniqueContextId: unique_context_id,
|
|
66
|
-
generateWebDriverValue: generate_web_driver_value
|
|
66
|
+
generateWebDriverValue: generate_web_driver_value,
|
|
67
|
+
serializationOptions: serialization_options)
|
|
67
68
|
end
|
|
68
69
|
|
|
69
70
|
def compile_script(expression:, source_url:, persist_script:, execution_context_id: nil)
|
|
@@ -86,7 +87,7 @@ module Selenium
|
|
|
86
87
|
@devtools.send_cmd('Runtime.enable')
|
|
87
88
|
end
|
|
88
89
|
|
|
89
|
-
def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil, generate_web_driver_value: nil)
|
|
90
|
+
def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil, generate_web_driver_value: nil, serialization_options: nil)
|
|
90
91
|
@devtools.send_cmd('Runtime.evaluate',
|
|
91
92
|
expression: expression,
|
|
92
93
|
objectGroup: object_group,
|
|
@@ -103,7 +104,8 @@ module Selenium
|
|
|
103
104
|
replMode: repl_mode,
|
|
104
105
|
allowUnsafeEvalBlockedByCSP: allow_unsafe_eval_blocked_by_csp,
|
|
105
106
|
uniqueContextId: unique_context_id,
|
|
106
|
-
generateWebDriverValue: generate_web_driver_value
|
|
107
|
+
generateWebDriverValue: generate_web_driver_value,
|
|
108
|
+
serializationOptions: serialization_options)
|
|
107
109
|
end
|
|
108
110
|
|
|
109
111
|
def get_isolate_id
|
|
@@ -197,6 +199,6 @@ module Selenium
|
|
|
197
199
|
end
|
|
198
200
|
|
|
199
201
|
end # Runtime
|
|
200
|
-
end #
|
|
202
|
+
end # V115
|
|
201
203
|
end # DevTools
|
|
202
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
@@ -191,13 +191,16 @@ module Selenium
|
|
|
191
191
|
enable: enable)
|
|
192
192
|
end
|
|
193
193
|
|
|
194
|
-
def delete_storage_bucket(
|
|
194
|
+
def delete_storage_bucket(bucket:)
|
|
195
195
|
@devtools.send_cmd('Storage.deleteStorageBucket',
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
bucket: bucket)
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
def run_bounce_tracking_mitigations
|
|
200
|
+
@devtools.send_cmd('Storage.runBounceTrackingMitigations')
|
|
198
201
|
end
|
|
199
202
|
|
|
200
203
|
end # Storage
|
|
201
|
-
end #
|
|
204
|
+
end # V115
|
|
202
205
|
end # DevTools
|
|
203
206
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
108
108
|
end # DevTools
|
|
109
109
|
end # Selenium
|
|
@@ -19,15 +19,16 @@
|
|
|
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__))}/v115/*", &method(:require))
|
|
23
23
|
|
|
24
24
|
module Selenium
|
|
25
25
|
module DevTools
|
|
26
|
-
module
|
|
26
|
+
module V115
|
|
27
27
|
METHODS_TO_CLASSES = {
|
|
28
28
|
accessibility: 'Accessibility',
|
|
29
29
|
animation: 'Animation',
|
|
30
30
|
audits: 'Audits',
|
|
31
|
+
autofill: 'Autofill',
|
|
31
32
|
background_service: 'BackgroundService',
|
|
32
33
|
browser: 'Browser',
|
|
33
34
|
css: 'CSS',
|
|
@@ -75,6 +76,6 @@ module Selenium
|
|
|
75
76
|
runtime: 'Runtime',
|
|
76
77
|
schema: 'Schema',
|
|
77
78
|
}.freeze
|
|
78
|
-
end #
|
|
79
|
+
end # V115
|
|
79
80
|
end # DevTools
|
|
80
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 V116
|
|
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 # V116
|
|
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 V116
|
|
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 # V116
|
|
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 V116
|
|
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 # V116
|
|
61
65
|
end # DevTools
|
|
62
66
|
end # Selenium
|
|
@@ -0,0 +1,50 @@
|
|
|
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 V116
|
|
24
|
+
class Autofill
|
|
25
|
+
|
|
26
|
+
def initialize(devtools)
|
|
27
|
+
@devtools = devtools
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def on(event, &block)
|
|
31
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
|
32
|
+
@devtools.callbacks["Autofill.#{event}"] << block
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def trigger(field_id:, frame_id: nil, card:)
|
|
36
|
+
@devtools.send_cmd('Autofill.trigger',
|
|
37
|
+
fieldId: field_id,
|
|
38
|
+
frameId: frame_id,
|
|
39
|
+
card: card)
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def set_addresses(addresses:)
|
|
43
|
+
@devtools.send_cmd('Autofill.setAddresses',
|
|
44
|
+
addresses: addresses)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end # Autofill
|
|
48
|
+
end # V116
|
|
49
|
+
end # DevTools
|
|
50
|
+
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 V116
|
|
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 # V116
|
|
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 V116
|
|
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 # V116
|
|
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 V116
|
|
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 # V116
|
|
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 V116
|
|
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 # V116
|
|
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 V116
|
|
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 # V116
|
|
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 V116
|
|
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 # V116
|
|
200
200
|
end # DevTools
|
|
201
201
|
end # Selenium
|