selenium-devtools 0.124.0 → 0.126.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/{v123 → v125}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/animation.rb +3 -2
- data/lib/selenium/devtools/{v123 → v125}/audits.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/browser.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/cast.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/console.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/css.rb +8 -2
- data/lib/selenium/devtools/{v122 → v125}/database.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/dom.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/emulation.rb +11 -2
- data/lib/selenium/devtools/{v122 → v125}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/input.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/io.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/log.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/media.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/memory.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/network.rb +8 -4
- data/lib/selenium/devtools/{v122 → v125}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/page.rb +5 -4
- data/lib/selenium/devtools/{v122 → v125}/performance.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/preload.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/profiler.rb +2 -2
- data/lib/selenium/devtools/v125/pwa.rb +43 -0
- data/lib/selenium/devtools/{v123 → v125}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/schema.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/security.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/storage.rb +10 -2
- data/lib/selenium/devtools/{v122 → v125}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/target.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v123 → v125}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v122.rb → v125.rb} +4 -3
- data/lib/selenium/devtools/{v122 → v126}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/animation.rb +3 -2
- data/lib/selenium/devtools/{v122 → v126}/audits.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/browser.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/cast.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/console.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/css.rb +8 -2
- data/lib/selenium/devtools/{v123 → v126}/database.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/dom.rb +8 -2
- data/lib/selenium/devtools/{v123 → v126}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/emulation.rb +11 -2
- data/lib/selenium/devtools/{v123 → v126}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/v126/extensions.rb +43 -0
- data/lib/selenium/devtools/{v122 → v126}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/input.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/io.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/log.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/media.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/memory.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/network.rb +11 -6
- data/lib/selenium/devtools/{v123 → v126}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/page.rb +8 -6
- data/lib/selenium/devtools/{v123 → v126}/performance.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/preload.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/profiler.rb +2 -2
- data/lib/selenium/devtools/v126/pwa.rb +60 -0
- data/lib/selenium/devtools/{v122 → v126}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/schema.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/security.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/storage.rb +11 -2
- data/lib/selenium/devtools/{v123 → v126}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/target.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v122 → v126}/web_authn.rb +10 -2
- data/lib/selenium/devtools/{v123.rb → v126.rb} +5 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +110 -107
|
@@ -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 V125
|
|
24
24
|
class Page
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -125,8 +125,9 @@ module Selenium
|
|
|
125
125
|
@devtools.send_cmd('Page.enable')
|
|
126
126
|
end
|
|
127
127
|
|
|
128
|
-
def get_app_manifest
|
|
129
|
-
@devtools.send_cmd('Page.getAppManifest'
|
|
128
|
+
def get_app_manifest(manifest_id: nil)
|
|
129
|
+
@devtools.send_cmd('Page.getAppManifest',
|
|
130
|
+
manifestId: manifest_id)
|
|
130
131
|
end
|
|
131
132
|
|
|
132
133
|
def get_installability_errors
|
|
@@ -403,6 +404,6 @@ module Selenium
|
|
|
403
404
|
end
|
|
404
405
|
|
|
405
406
|
end # Page
|
|
406
|
-
end #
|
|
407
|
+
end # V125
|
|
407
408
|
end # DevTools
|
|
408
409
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
24
24
|
class Preload
|
|
25
25
|
EVENTS = {
|
|
26
26
|
rule_set_updated: 'ruleSetUpdated',
|
|
@@ -49,6 +49,6 @@ module Selenium
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
end # Preload
|
|
52
|
-
end #
|
|
52
|
+
end # V125
|
|
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 V125
|
|
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 # V125
|
|
82
82
|
end # DevTools
|
|
83
83
|
end # Selenium
|
|
@@ -0,0 +1,43 @@
|
|
|
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 V125
|
|
24
|
+
class PWA
|
|
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["PWA.#{event}"] << block
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def get_os_app_state(manifest_id:)
|
|
36
|
+
@devtools.send_cmd('PWA.getOsAppState',
|
|
37
|
+
manifestId: manifest_id)
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end # PWA
|
|
41
|
+
end # V125
|
|
42
|
+
end # DevTools
|
|
43
|
+
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 V125
|
|
24
24
|
class Runtime
|
|
25
25
|
EVENTS = {
|
|
26
26
|
binding_called: 'bindingCalled',
|
|
@@ -197,6 +197,6 @@ module Selenium
|
|
|
197
197
|
end
|
|
198
198
|
|
|
199
199
|
end # Runtime
|
|
200
|
-
end #
|
|
200
|
+
end # V125
|
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
@@ -219,7 +219,15 @@ module Selenium
|
|
|
219
219
|
enable: enable)
|
|
220
220
|
end
|
|
221
221
|
|
|
222
|
+
def send_pending_attribution_reports
|
|
223
|
+
@devtools.send_cmd('Storage.sendPendingAttributionReports')
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
def get_related_website_sets
|
|
227
|
+
@devtools.send_cmd('Storage.getRelatedWebsiteSets')
|
|
228
|
+
end
|
|
229
|
+
|
|
222
230
|
end # Storage
|
|
223
|
-
end #
|
|
231
|
+
end # V125
|
|
224
232
|
end # DevTools
|
|
225
233
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
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 # V125
|
|
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 V125
|
|
24
24
|
class WebAuthn
|
|
25
25
|
EVENTS = {
|
|
26
26
|
credential_added: 'credentialAdded',
|
|
@@ -112,6 +112,6 @@ module Selenium
|
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
end # WebAuthn
|
|
115
|
-
end #
|
|
115
|
+
end # V125
|
|
116
116
|
end # DevTools
|
|
117
117
|
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__))}/v125/*", &method(:require))
|
|
23
23
|
|
|
24
24
|
module Selenium
|
|
25
25
|
module DevTools
|
|
26
|
-
module
|
|
26
|
+
module V125
|
|
27
27
|
METHODS_TO_CLASSES = {
|
|
28
28
|
accessibility: 'Accessibility',
|
|
29
29
|
animation: 'Animation',
|
|
@@ -69,6 +69,7 @@ module Selenium
|
|
|
69
69
|
device_access: 'DeviceAccess',
|
|
70
70
|
preload: 'Preload',
|
|
71
71
|
fed_cm: 'FedCm',
|
|
72
|
+
pwa: 'PWA',
|
|
72
73
|
console: 'Console',
|
|
73
74
|
debugger: 'Debugger',
|
|
74
75
|
heap_profiler: 'HeapProfiler',
|
|
@@ -76,6 +77,6 @@ module Selenium
|
|
|
76
77
|
runtime: 'Runtime',
|
|
77
78
|
schema: 'Schema',
|
|
78
79
|
}.freeze
|
|
79
|
-
end #
|
|
80
|
+
end # V125
|
|
80
81
|
end # DevTools
|
|
81
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 V126
|
|
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 # V126
|
|
90
90
|
end # DevTools
|
|
91
91
|
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 V126
|
|
24
24
|
class Animation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
animation_canceled: 'animationCanceled',
|
|
27
27
|
animation_created: 'animationCreated',
|
|
28
28
|
animation_started: 'animationStarted',
|
|
29
|
+
animation_updated: 'animationUpdated',
|
|
29
30
|
}.freeze
|
|
30
31
|
|
|
31
32
|
def initialize(devtools)
|
|
@@ -89,6 +90,6 @@ module Selenium
|
|
|
89
90
|
end
|
|
90
91
|
|
|
91
92
|
end # Animation
|
|
92
|
-
end #
|
|
93
|
+
end # V126
|
|
93
94
|
end # DevTools
|
|
94
95
|
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 V126
|
|
24
24
|
class Audits
|
|
25
25
|
EVENTS = {
|
|
26
26
|
issue_added: 'issueAdded',
|
|
@@ -61,6 +61,6 @@ module Selenium
|
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
end # Audits
|
|
64
|
-
end #
|
|
64
|
+
end # V126
|
|
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 V126
|
|
24
24
|
class Autofill
|
|
25
25
|
EVENTS = {
|
|
26
26
|
address_form_filled: 'addressFormFilled',
|
|
@@ -56,6 +56,6 @@ module Selenium
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
end # Autofill
|
|
59
|
-
end #
|
|
59
|
+
end # V126
|
|
60
60
|
end # DevTools
|
|
61
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 V126
|
|
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 # V126
|
|
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 V126
|
|
24
24
|
class Browser
|
|
25
25
|
EVENTS = {
|
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -135,6 +135,6 @@ module Selenium
|
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
end # Browser
|
|
138
|
-
end #
|
|
138
|
+
end # V126
|
|
139
139
|
end # DevTools
|
|
140
140
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V126
|
|
24
24
|
class CacheStorage
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -66,6 +66,6 @@ module Selenium
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
end # CacheStorage
|
|
69
|
-
end #
|
|
69
|
+
end # V126
|
|
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 V126
|
|
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 # V126
|
|
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 V126
|
|
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 # V126
|
|
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 V126
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -110,6 +110,12 @@ module Selenium
|
|
|
110
110
|
nodeId: node_id)
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
def get_location_for_selector(style_sheet_id:, selector_text:)
|
|
114
|
+
@devtools.send_cmd('CSS.getLocationForSelector',
|
|
115
|
+
styleSheetId: style_sheet_id,
|
|
116
|
+
selectorText: selector_text)
|
|
117
|
+
end
|
|
118
|
+
|
|
113
119
|
def track_computed_style_updates(properties_to_track:)
|
|
114
120
|
@devtools.send_cmd('CSS.trackComputedStyleUpdates',
|
|
115
121
|
propertiesToTrack: properties_to_track)
|
|
@@ -205,6 +211,6 @@ module Selenium
|
|
|
205
211
|
end
|
|
206
212
|
|
|
207
213
|
end # CSS
|
|
208
|
-
end #
|
|
214
|
+
end # V126
|
|
209
215
|
end # DevTools
|
|
210
216
|
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 V126
|
|
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 # V126
|
|
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 V126
|
|
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 # V126
|
|
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 V126
|
|
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 # V126
|
|
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 V126
|
|
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 # V126
|
|
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 V126
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -219,6 +219,12 @@ module Selenium
|
|
|
219
219
|
@devtools.send_cmd('DOM.getTopLayerElements')
|
|
220
220
|
end
|
|
221
221
|
|
|
222
|
+
def get_element_by_relation(node_id:, relation:)
|
|
223
|
+
@devtools.send_cmd('DOM.getElementByRelation',
|
|
224
|
+
nodeId: node_id,
|
|
225
|
+
relation: relation)
|
|
226
|
+
end
|
|
227
|
+
|
|
222
228
|
def redo
|
|
223
229
|
@devtools.send_cmd('DOM.redo')
|
|
224
230
|
end
|
|
@@ -337,6 +343,6 @@ module Selenium
|
|
|
337
343
|
end
|
|
338
344
|
|
|
339
345
|
end # DOM
|
|
340
|
-
end #
|
|
346
|
+
end # V126
|
|
341
347
|
end # DevTools
|
|
342
348
|
end # Selenium
|