selenium-devtools 0.114.0 → 0.115.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/{v112 → v115}/animation.rb +2 -2
- data/lib/selenium/devtools/{v112 → 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/{v112 → v115}/browser.rb +7 -2
- data/lib/selenium/devtools/{v112 → 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/{v112 → v115}/database.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/dom.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/v115/fed_cm.rb +66 -0
- data/lib/selenium/devtools/{v112 → v115}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v112 → 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/{v112 → v115}/input.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/io.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/log.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/media.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/memory.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/network.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/page.rb +2 -5
- 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/{v112 → v115}/preload.rb +7 -2
- data/lib/selenium/devtools/{v112 → v115}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v112 → 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/{v112 → v115}/storage.rb +19 -2
- data/lib/selenium/devtools/{v112 → v115}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v112 → v115}/target.rb +2 -2
- data/lib/selenium/devtools/{v112 → 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/{v112.rb → v115.rb} +5 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +53 -51
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2322d80dd918ab0b4acb64e93ecb71871c8892d9d9cb41be5d43fe1cb934dd5
|
|
4
|
+
data.tar.gz: e47948e92d1f93ea36381c75aae3943d0b2b96be6791c55438b730393a630c2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec89d149c49f77b1bb58295e8dd0bfc23cc63a26d67446618c65a8499289e5391f9dba588c09ae6173c84fbdc51c1adc415f3ae1634e44687b750bac162da078
|
|
7
|
+
data.tar.gz: 9360a6aedebbeb028a2948afcfc2eb4c564abcbb24d90d5032eff6f5bf038ce51c1b6dbf91ce35dc25a72d11ea64ef381cc395c147adadddf0426c4aed94607d
|
|
@@ -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 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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
61
65
|
end # DevTools
|
|
62
66
|
end # Selenium
|
|
@@ -0,0 +1,45 @@
|
|
|
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 V115
|
|
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
|
+
end # Autofill
|
|
43
|
+
end # V115
|
|
44
|
+
end # DevTools
|
|
45
|
+
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 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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # 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 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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
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 # V115
|
|
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 V115
|
|
24
24
|
class DOMSnapshot
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -58,6 +58,6 @@ module Selenium
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
end # DOMSnapshot
|
|
61
|
-
end #
|
|
61
|
+
end # V115
|
|
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 V115
|
|
24
24
|
class DOMStorage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_storage_item_added: 'domStorageItemAdded',
|
|
@@ -70,6 +70,6 @@ module Selenium
|
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
end # DOMStorage
|
|
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 Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -201,6 +201,6 @@ module Selenium
|
|
|
201
201
|
end
|
|
202
202
|
|
|
203
203
|
end # Emulation
|
|
204
|
-
end #
|
|
204
|
+
end # V115
|
|
205
205
|
end # DevTools
|
|
206
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 EventBreakpoints
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -43,6 +43,6 @@ module Selenium
|
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
end # EventBreakpoints
|
|
46
|
-
end #
|
|
46
|
+
end # V115
|
|
47
47
|
end # DevTools
|
|
48
48
|
end # Selenium
|
|
@@ -0,0 +1,66 @@
|
|
|
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 V115
|
|
24
|
+
class FedCm
|
|
25
|
+
EVENTS = {
|
|
26
|
+
dialog_shown: 'dialogShown',
|
|
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["FedCm.#{event}"] << block
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def enable(disable_rejection_delay: nil)
|
|
39
|
+
@devtools.send_cmd('FedCm.enable',
|
|
40
|
+
disableRejectionDelay: disable_rejection_delay)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def disable
|
|
44
|
+
@devtools.send_cmd('FedCm.disable')
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def select_account(dialog_id:, account_index:)
|
|
48
|
+
@devtools.send_cmd('FedCm.selectAccount',
|
|
49
|
+
dialogId: dialog_id,
|
|
50
|
+
accountIndex: account_index)
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def dismiss_dialog(dialog_id:, trigger_cooldown: nil)
|
|
54
|
+
@devtools.send_cmd('FedCm.dismissDialog',
|
|
55
|
+
dialogId: dialog_id,
|
|
56
|
+
triggerCooldown: trigger_cooldown)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
def reset_cooldown
|
|
60
|
+
@devtools.send_cmd('FedCm.resetCooldown')
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
end # FedCm
|
|
64
|
+
end # V115
|
|
65
|
+
end # DevTools
|
|
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 Fetch
|
|
25
25
|
EVENTS = {
|
|
26
26
|
request_paused: 'requestPaused',
|
|
@@ -98,6 +98,6 @@ module Selenium
|
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
end # Fetch
|
|
101
|
-
end #
|
|
101
|
+
end # V115
|
|
102
102
|
end # DevTools
|
|
103
103
|
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 HeadlessExperimental
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -49,6 +49,6 @@ module Selenium
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
end # HeadlessExperimental
|
|
52
|
-
end #
|
|
52
|
+
end # V115
|
|
53
53
|
end # DevTools
|
|
54
54
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V115
|
|
24
24
|
class HeapProfiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
|
@@ -104,6 +104,6 @@ module Selenium
|
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
end # HeapProfiler
|
|
107
|
-
end #
|
|
107
|
+
end # V115
|
|
108
108
|
end # DevTools
|
|
109
109
|
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 IndexedDB
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -32,25 +32,28 @@ module Selenium
|
|
|
32
32
|
@devtools.callbacks["IndexedDB.#{event}"] << block
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
def clear_object_store(security_origin: nil, storage_key: nil, database_name:, object_store_name:)
|
|
35
|
+
def clear_object_store(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:, object_store_name:)
|
|
36
36
|
@devtools.send_cmd('IndexedDB.clearObjectStore',
|
|
37
37
|
securityOrigin: security_origin,
|
|
38
38
|
storageKey: storage_key,
|
|
39
|
+
storageBucket: storage_bucket,
|
|
39
40
|
databaseName: database_name,
|
|
40
41
|
objectStoreName: object_store_name)
|
|
41
42
|
end
|
|
42
43
|
|
|
43
|
-
def delete_database(security_origin: nil, storage_key: nil, database_name:)
|
|
44
|
+
def delete_database(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:)
|
|
44
45
|
@devtools.send_cmd('IndexedDB.deleteDatabase',
|
|
45
46
|
securityOrigin: security_origin,
|
|
46
47
|
storageKey: storage_key,
|
|
48
|
+
storageBucket: storage_bucket,
|
|
47
49
|
databaseName: database_name)
|
|
48
50
|
end
|
|
49
51
|
|
|
50
|
-
def delete_object_store_entries(security_origin: nil, storage_key: nil, database_name:, object_store_name:, key_range:)
|
|
52
|
+
def delete_object_store_entries(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:, object_store_name:, key_range:)
|
|
51
53
|
@devtools.send_cmd('IndexedDB.deleteObjectStoreEntries',
|
|
52
54
|
securityOrigin: security_origin,
|
|
53
55
|
storageKey: storage_key,
|
|
56
|
+
storageBucket: storage_bucket,
|
|
54
57
|
databaseName: database_name,
|
|
55
58
|
objectStoreName: object_store_name,
|
|
56
59
|
keyRange: key_range)
|
|
@@ -64,10 +67,11 @@ module Selenium
|
|
|
64
67
|
@devtools.send_cmd('IndexedDB.enable')
|
|
65
68
|
end
|
|
66
69
|
|
|
67
|
-
def request_data(security_origin: nil, storage_key: nil, database_name:, object_store_name:, index_name:, skip_count:, page_size:, key_range: nil)
|
|
70
|
+
def request_data(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:, object_store_name:, index_name:, skip_count:, page_size:, key_range: nil)
|
|
68
71
|
@devtools.send_cmd('IndexedDB.requestData',
|
|
69
72
|
securityOrigin: security_origin,
|
|
70
73
|
storageKey: storage_key,
|
|
74
|
+
storageBucket: storage_bucket,
|
|
71
75
|
databaseName: database_name,
|
|
72
76
|
objectStoreName: object_store_name,
|
|
73
77
|
indexName: index_name,
|
|
@@ -76,28 +80,31 @@ module Selenium
|
|
|
76
80
|
keyRange: key_range)
|
|
77
81
|
end
|
|
78
82
|
|
|
79
|
-
def get_metadata(security_origin: nil, storage_key: nil, database_name:, object_store_name:)
|
|
83
|
+
def get_metadata(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:, object_store_name:)
|
|
80
84
|
@devtools.send_cmd('IndexedDB.getMetadata',
|
|
81
85
|
securityOrigin: security_origin,
|
|
82
86
|
storageKey: storage_key,
|
|
87
|
+
storageBucket: storage_bucket,
|
|
83
88
|
databaseName: database_name,
|
|
84
89
|
objectStoreName: object_store_name)
|
|
85
90
|
end
|
|
86
91
|
|
|
87
|
-
def request_database(security_origin: nil, storage_key: nil, database_name:)
|
|
92
|
+
def request_database(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:)
|
|
88
93
|
@devtools.send_cmd('IndexedDB.requestDatabase',
|
|
89
94
|
securityOrigin: security_origin,
|
|
90
95
|
storageKey: storage_key,
|
|
96
|
+
storageBucket: storage_bucket,
|
|
91
97
|
databaseName: database_name)
|
|
92
98
|
end
|
|
93
99
|
|
|
94
|
-
def request_database_names(security_origin: nil, storage_key: nil)
|
|
100
|
+
def request_database_names(security_origin: nil, storage_key: nil, storage_bucket: nil)
|
|
95
101
|
@devtools.send_cmd('IndexedDB.requestDatabaseNames',
|
|
96
102
|
securityOrigin: security_origin,
|
|
97
|
-
storageKey: storage_key
|
|
103
|
+
storageKey: storage_key,
|
|
104
|
+
storageBucket: storage_bucket)
|
|
98
105
|
end
|
|
99
106
|
|
|
100
107
|
end # IndexedDB
|
|
101
|
-
end #
|
|
108
|
+
end # V115
|
|
102
109
|
end # DevTools
|
|
103
110
|
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 Input
|
|
25
25
|
EVENTS = {
|
|
26
26
|
drag_intercepted: 'dragIntercepted',
|
|
@@ -163,6 +163,6 @@ module Selenium
|
|
|
163
163
|
end
|
|
164
164
|
|
|
165
165
|
end # Input
|
|
166
|
-
end #
|
|
166
|
+
end # V115
|
|
167
167
|
end # DevTools
|
|
168
168
|
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 Inspector
|
|
25
25
|
EVENTS = {
|
|
26
26
|
detached: 'detached',
|
|
@@ -46,6 +46,6 @@ module Selenium
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
end # Inspector
|
|
49
|
-
end #
|
|
49
|
+
end # V115
|
|
50
50
|
end # DevTools
|
|
51
51
|
end # Selenium
|