selenium-devtools 0.111.0 → 0.113.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/v111.rb +77 -1
- data/lib/selenium/devtools/{v110 → v112}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/animation.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/audits.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/browser.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/cast.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/console.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/css.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/database.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/debugger.rb +2 -2
- data/lib/selenium/devtools/v112/device_access.rb +60 -0
- data/lib/selenium/devtools/{v109 → v112}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/dom.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/input.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/io.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/log.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/media.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/memory.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/network.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/page.rb +9 -2
- data/lib/selenium/devtools/{v109 → v112}/performance.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/v112/preload.rb +50 -0
- data/lib/selenium/devtools/{v110 → v112}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/runtime.rb +4 -3
- data/lib/selenium/devtools/{v110 → v112}/schema.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/security.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/storage.rb +7 -2
- data/lib/selenium/devtools/{v110 → v112}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/target.rb +5 -4
- data/lib/selenium/devtools/{v109 → v112}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v109 → v112}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v110 → v112}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v112.rb +79 -0
- data/lib/selenium/devtools/{v109 → v113}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/animation.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/audits.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/browser.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/cache_storage.rb +5 -4
- data/lib/selenium/devtools/{v110 → v113}/cast.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/console.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/css.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/database.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/debugger.rb +2 -2
- data/lib/selenium/devtools/v113/device_access.rb +60 -0
- data/lib/selenium/devtools/{v110 → v113}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/dom.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/v113/fed_cm.rb +66 -0
- data/lib/selenium/devtools/{v110 → v113}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/input.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/io.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/log.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/media.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/memory.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/network.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/page.rb +7 -3
- data/lib/selenium/devtools/{v110 → v113}/performance.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/v113/preload.rb +54 -0
- data/lib/selenium/devtools/{v109 → v113}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/runtime.rb +4 -3
- data/lib/selenium/devtools/{v109 → v113}/schema.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/security.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/storage.rb +31 -2
- data/lib/selenium/devtools/{v109 → v113}/system_info.rb +7 -2
- data/lib/selenium/devtools/{v109 → v113}/target.rb +5 -4
- data/lib/selenium/devtools/{v110 → v113}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v109 → v113}/web_authn.rb +6 -2
- data/lib/selenium/devtools/v113.rb +80 -0
- data/lib/selenium/devtools/v85.rb +76 -1
- data/lib/selenium/devtools/version.rb +1 -1
- data/lib/selenium/devtools.rb +18 -0
- data/selenium-devtools.gemspec +1 -1
- metadata +106 -101
- data/lib/selenium/devtools/v109.rb +0 -1
- data/lib/selenium/devtools/v110.rb +0 -1
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V112
|
|
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 # V112
|
|
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 V112
|
|
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 # V112
|
|
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 V112
|
|
24
24
|
class Page
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -44,6 +44,8 @@ module Selenium
|
|
|
44
44
|
lifecycle_event: 'lifecycleEvent',
|
|
45
45
|
back_forward_cache_not_used: 'backForwardCacheNotUsed',
|
|
46
46
|
prerender_attempt_completed: 'prerenderAttemptCompleted',
|
|
47
|
+
prefetch_status_updated: 'prefetchStatusUpdated',
|
|
48
|
+
prerender_status_updated: 'prerenderStatusUpdated',
|
|
47
49
|
load_event_fired: 'loadEventFired',
|
|
48
50
|
navigated_within_document: 'navigatedWithinDocument',
|
|
49
51
|
screencast_frame: 'screencastFrame',
|
|
@@ -379,6 +381,11 @@ module Selenium
|
|
|
379
381
|
mode: mode)
|
|
380
382
|
end
|
|
381
383
|
|
|
384
|
+
def set_rph_registration_mode(mode:)
|
|
385
|
+
@devtools.send_cmd('Page.setRPHRegistrationMode',
|
|
386
|
+
mode: mode)
|
|
387
|
+
end
|
|
388
|
+
|
|
382
389
|
def generate_test_report(message:, group: nil)
|
|
383
390
|
@devtools.send_cmd('Page.generateTestReport',
|
|
384
391
|
message: message,
|
|
@@ -395,6 +402,6 @@ module Selenium
|
|
|
395
402
|
end
|
|
396
403
|
|
|
397
404
|
end # Page
|
|
398
|
-
end #
|
|
405
|
+
end # V112
|
|
399
406
|
end # DevTools
|
|
400
407
|
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 V112
|
|
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 # V112
|
|
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 V112
|
|
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 # V112
|
|
45
45
|
end # DevTools
|
|
46
46
|
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 V112
|
|
24
|
+
class Preload
|
|
25
|
+
EVENTS = {
|
|
26
|
+
rule_set_updated: 'ruleSetUpdated',
|
|
27
|
+
rule_set_removed: 'ruleSetRemoved',
|
|
28
|
+
}.freeze
|
|
29
|
+
|
|
30
|
+
def initialize(devtools)
|
|
31
|
+
@devtools = devtools
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def on(event, &block)
|
|
35
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
|
36
|
+
@devtools.callbacks["Preload.#{event}"] << block
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def enable
|
|
40
|
+
@devtools.send_cmd('Preload.enable')
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def disable
|
|
44
|
+
@devtools.send_cmd('Preload.disable')
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end # Preload
|
|
48
|
+
end # V112
|
|
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 V112
|
|
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 # V112
|
|
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 V112
|
|
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, 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)
|
|
53
53
|
@devtools.send_cmd('Runtime.callFunctionOn',
|
|
54
54
|
functionDeclaration: function_declaration,
|
|
55
55
|
objectId: object_id,
|
|
@@ -62,6 +62,7 @@ module Selenium
|
|
|
62
62
|
executionContextId: execution_context_id,
|
|
63
63
|
objectGroup: object_group,
|
|
64
64
|
throwOnSideEffect: throw_on_side_effect,
|
|
65
|
+
uniqueContextId: unique_context_id,
|
|
65
66
|
generateWebDriverValue: generate_web_driver_value)
|
|
66
67
|
end
|
|
67
68
|
|
|
@@ -196,6 +197,6 @@ module Selenium
|
|
|
196
197
|
end
|
|
197
198
|
|
|
198
199
|
end # Runtime
|
|
199
|
-
end #
|
|
200
|
+
end # V112
|
|
200
201
|
end # DevTools
|
|
201
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 V112
|
|
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 # V112
|
|
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 V112
|
|
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 # V112
|
|
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 V112
|
|
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 # V112
|
|
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 V112
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
@@ -173,12 +173,17 @@ module Selenium
|
|
|
173
173
|
ownerOrigin: owner_origin)
|
|
174
174
|
end
|
|
175
175
|
|
|
176
|
+
def reset_shared_storage_budget(owner_origin:)
|
|
177
|
+
@devtools.send_cmd('Storage.resetSharedStorageBudget',
|
|
178
|
+
ownerOrigin: owner_origin)
|
|
179
|
+
end
|
|
180
|
+
|
|
176
181
|
def set_shared_storage_tracking(enable:)
|
|
177
182
|
@devtools.send_cmd('Storage.setSharedStorageTracking',
|
|
178
183
|
enable: enable)
|
|
179
184
|
end
|
|
180
185
|
|
|
181
186
|
end # Storage
|
|
182
|
-
end #
|
|
187
|
+
end # V112
|
|
183
188
|
end # DevTools
|
|
184
189
|
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 V112
|
|
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 # V112
|
|
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 V112
|
|
24
24
|
class Target
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attached_to_target: 'attachedToTarget',
|
|
@@ -79,7 +79,7 @@ module Selenium
|
|
|
79
79
|
@devtools.send_cmd('Target.getBrowserContexts')
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
def create_target(url:, width: nil, height: nil, browser_context_id: nil, enable_begin_frame_control: nil, new_window: nil, background: nil)
|
|
82
|
+
def create_target(url:, width: nil, height: nil, browser_context_id: nil, enable_begin_frame_control: nil, new_window: nil, background: nil, for_tab: nil)
|
|
83
83
|
@devtools.send_cmd('Target.createTarget',
|
|
84
84
|
url: url,
|
|
85
85
|
width: width,
|
|
@@ -87,7 +87,8 @@ module Selenium
|
|
|
87
87
|
browserContextId: browser_context_id,
|
|
88
88
|
enableBeginFrameControl: enable_begin_frame_control,
|
|
89
89
|
newWindow: new_window,
|
|
90
|
-
background: background
|
|
90
|
+
background: background,
|
|
91
|
+
forTab: for_tab)
|
|
91
92
|
end
|
|
92
93
|
|
|
93
94
|
def detach_from_target(session_id: nil, target_id: nil)
|
|
@@ -145,6 +146,6 @@ module Selenium
|
|
|
145
146
|
end
|
|
146
147
|
|
|
147
148
|
end # Target
|
|
148
|
-
end #
|
|
149
|
+
end # V112
|
|
149
150
|
end # DevTools
|
|
150
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 V112
|
|
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 # V112
|
|
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 V112
|
|
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 # V112
|
|
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 V112
|
|
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 # V112
|
|
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 V112
|
|
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 # V112
|
|
108
108
|
end # DevTools
|
|
109
109
|
end # Selenium
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
|
|
22
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v112/*", &method(:require))
|
|
23
|
+
|
|
24
|
+
module Selenium
|
|
25
|
+
module DevTools
|
|
26
|
+
module V112
|
|
27
|
+
METHODS_TO_CLASSES = {
|
|
28
|
+
accessibility: 'Accessibility',
|
|
29
|
+
animation: 'Animation',
|
|
30
|
+
audits: 'Audits',
|
|
31
|
+
background_service: 'BackgroundService',
|
|
32
|
+
browser: 'Browser',
|
|
33
|
+
css: 'CSS',
|
|
34
|
+
cache_storage: 'CacheStorage',
|
|
35
|
+
cast: 'Cast',
|
|
36
|
+
dom: 'DOM',
|
|
37
|
+
dom_debugger: 'DOMDebugger',
|
|
38
|
+
event_breakpoints: 'EventBreakpoints',
|
|
39
|
+
dom_snapshot: 'DOMSnapshot',
|
|
40
|
+
dom_storage: 'DOMStorage',
|
|
41
|
+
database: 'Database',
|
|
42
|
+
device_orientation: 'DeviceOrientation',
|
|
43
|
+
emulation: 'Emulation',
|
|
44
|
+
headless_experimental: 'HeadlessExperimental',
|
|
45
|
+
io: 'IO',
|
|
46
|
+
indexed_db: 'IndexedDB',
|
|
47
|
+
input: 'Input',
|
|
48
|
+
inspector: 'Inspector',
|
|
49
|
+
layer_tree: 'LayerTree',
|
|
50
|
+
log: 'Log',
|
|
51
|
+
memory: 'Memory',
|
|
52
|
+
network: 'Network',
|
|
53
|
+
overlay: 'Overlay',
|
|
54
|
+
page: 'Page',
|
|
55
|
+
performance: 'Performance',
|
|
56
|
+
performance_timeline: 'PerformanceTimeline',
|
|
57
|
+
security: 'Security',
|
|
58
|
+
service_worker: 'ServiceWorker',
|
|
59
|
+
storage: 'Storage',
|
|
60
|
+
system_info: 'SystemInfo',
|
|
61
|
+
target: 'Target',
|
|
62
|
+
tethering: 'Tethering',
|
|
63
|
+
tracing: 'Tracing',
|
|
64
|
+
fetch: 'Fetch',
|
|
65
|
+
web_audio: 'WebAudio',
|
|
66
|
+
web_authn: 'WebAuthn',
|
|
67
|
+
media: 'Media',
|
|
68
|
+
device_access: 'DeviceAccess',
|
|
69
|
+
preload: 'Preload',
|
|
70
|
+
console: 'Console',
|
|
71
|
+
debugger: 'Debugger',
|
|
72
|
+
heap_profiler: 'HeapProfiler',
|
|
73
|
+
profiler: 'Profiler',
|
|
74
|
+
runtime: 'Runtime',
|
|
75
|
+
schema: 'Schema',
|
|
76
|
+
}.freeze
|
|
77
|
+
end # V112
|
|
78
|
+
end # DevTools
|
|
79
|
+
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 V113
|
|
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 # V113
|
|
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 V113
|
|
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 # V113
|
|
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 V113
|
|
24
24
|
class Audits
|
|
25
25
|
EVENTS = {
|
|
26
26
|
issue_added: 'issueAdded',
|
|
@@ -57,6 +57,6 @@ module Selenium
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
end # Audits
|
|
60
|
-
end #
|
|
60
|
+
end # V113
|
|
61
61
|
end # DevTools
|
|
62
62
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V113
|
|
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 # V113
|
|
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 V113
|
|
24
24
|
class Browser
|
|
25
25
|
EVENTS = {
|
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -130,6 +130,6 @@ module Selenium
|
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
end # Browser
|
|
133
|
-
end #
|
|
133
|
+
end # V113
|
|
134
134
|
end # DevTools
|
|
135
135
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V113
|
|
24
24
|
class CacheStorage
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -43,9 +43,10 @@ module Selenium
|
|
|
43
43
|
request: request)
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
def request_cache_names(security_origin:)
|
|
46
|
+
def request_cache_names(security_origin: nil, storage_key: nil)
|
|
47
47
|
@devtools.send_cmd('CacheStorage.requestCacheNames',
|
|
48
|
-
securityOrigin: security_origin
|
|
48
|
+
securityOrigin: security_origin,
|
|
49
|
+
storageKey: storage_key)
|
|
49
50
|
end
|
|
50
51
|
|
|
51
52
|
def request_cached_response(cache_id:, request_url:, request_headers:)
|
|
@@ -64,6 +65,6 @@ module Selenium
|
|
|
64
65
|
end
|
|
65
66
|
|
|
66
67
|
end # CacheStorage
|
|
67
|
-
end #
|
|
68
|
+
end # V113
|
|
68
69
|
end # DevTools
|
|
69
70
|
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 V113
|
|
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 # V113
|
|
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 V113
|
|
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 # V113
|
|
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 V113
|
|
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 # V113
|
|
200
200
|
end # DevTools
|
|
201
201
|
end # Selenium
|