selenium-devtools 0.112.0 → 0.114.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/lib/selenium/devtools/v112.rb +79 -1
- data/lib/selenium/devtools/{v111 → v113}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/animation.rb +2 -2
- data/lib/selenium/devtools/{v111 → 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/{v111 → v113}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/cast.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/console.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/css.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/database.rb +2 -2
- data/lib/selenium/devtools/{v111 → 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/{v111 → v113}/dom.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v111 → 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/{v111 → v113}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/input.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/io.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/log.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/media.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/memory.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/network.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v110 → v113}/page.rb +7 -3
- data/lib/selenium/devtools/{v110 → v113}/performance.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/v113/preload.rb +54 -0
- data/lib/selenium/devtools/{v111 → v113}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v111 → 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/{v111 → v113}/storage.rb +16 -2
- data/lib/selenium/devtools/{v110 → v113}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v111 → v113}/target.rb +2 -2
- 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/{v110 → v113}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v113.rb +80 -0
- data/lib/selenium/devtools/{v110 → v114}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/animation.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/audits.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/browser.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/cast.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/console.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/css.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/database.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/debugger.rb +2 -2
- data/lib/selenium/devtools/v114/device_access.rb +60 -0
- data/lib/selenium/devtools/{v111 → v114}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/dom.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/v114/fed_cm.rb +66 -0
- data/lib/selenium/devtools/{v111 → v114}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/input.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/io.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/log.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/media.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/memory.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/network.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/page.rb +7 -3
- data/lib/selenium/devtools/{v111 → v114}/performance.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/v114/preload.rb +55 -0
- data/lib/selenium/devtools/{v110 → v114}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/runtime.rb +4 -3
- data/lib/selenium/devtools/{v110 → v114}/schema.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/security.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/storage.rb +25 -2
- data/lib/selenium/devtools/{v111 → v114}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v110 → v114}/target.rb +5 -4
- data/lib/selenium/devtools/{v111 → v114}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v111 → v114}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v114.rb +80 -0
- data/lib/selenium/devtools/v85.rb +76 -1
- data/lib/selenium/devtools/version.rb +1 -1
- data/lib/selenium/devtools.rb +10 -3
- data/selenium-devtools.gemspec +1 -1
- metadata +107 -101
- data/lib/selenium/devtools/v110.rb +0 -1
- data/lib/selenium/devtools/v111.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3122a63206e52ea9f147ffcf4f47ce8349ddd90b027652ed17d25a17e9c740f8
|
4
|
+
data.tar.gz: 06cb3b7557f235d88aa823f7f5a85da1735902b9342e66cd808f281e69da7f1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e734f7eabc1fb6b467cb384d2bbb96e24db96392cc671e65511b744ff476a691a8fb7de1343ae8c4c0ac4d7ae26c7c8ac605845b13b07f01376505067f3ea97e
|
7
|
+
data.tar.gz: 5fed23a9c830c6243fd76d8a736c8e31557eacbc396666d44ae49ce1c94ea50209dc2626698463dc77a88c134e1a487b06dbe94616c1df1259427830cfa8ed4b
|
data/Gemfile
CHANGED
@@ -1 +1,79 @@
|
|
1
|
-
|
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)
|
@@ -65,6 +65,6 @@ module Selenium
|
|
65
65
|
end
|
66
66
|
|
67
67
|
end # CacheStorage
|
68
|
-
end #
|
68
|
+
end # V113
|
69
69
|
end # DevTools
|
70
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
|
@@ -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 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 # V113
|
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 V113
|
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 # V113
|
231
231
|
end # DevTools
|
232
232
|
end # Selenium
|
@@ -0,0 +1,60 @@
|
|
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 V113
|
24
|
+
class DeviceAccess
|
25
|
+
EVENTS = {
|
26
|
+
device_request_prompted: 'deviceRequestPrompted',
|
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["DeviceAccess.#{event}"] << block
|
36
|
+
end
|
37
|
+
|
38
|
+
def enable
|
39
|
+
@devtools.send_cmd('DeviceAccess.enable')
|
40
|
+
end
|
41
|
+
|
42
|
+
def disable
|
43
|
+
@devtools.send_cmd('DeviceAccess.disable')
|
44
|
+
end
|
45
|
+
|
46
|
+
def select_prompt(id:, device_id:)
|
47
|
+
@devtools.send_cmd('DeviceAccess.selectPrompt',
|
48
|
+
id: id,
|
49
|
+
deviceId: device_id)
|
50
|
+
end
|
51
|
+
|
52
|
+
def cancel_prompt(id:)
|
53
|
+
@devtools.send_cmd('DeviceAccess.cancelPrompt',
|
54
|
+
id: id)
|
55
|
+
end
|
56
|
+
|
57
|
+
end # DeviceAccess
|
58
|
+
end # V113
|
59
|
+
end # DevTools
|
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 V113
|
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 # V113
|
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 V113
|
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 # V113
|
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 V113
|
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 # 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 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 # 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 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 # V113
|
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 V113
|
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 # V113
|
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 V113
|
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 # V113
|
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 V113
|
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 # V113
|
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 V113
|
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 # V113
|
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 V113
|
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 # V113
|
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 V113
|
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 # V113
|
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 V113
|
24
24
|
class IndexedDB
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -98,6 +98,6 @@ module Selenium
|
|
98
98
|
end
|
99
99
|
|
100
100
|
end # IndexedDB
|
101
|
-
end #
|
101
|
+
end # V113
|
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 V113
|
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 # V113
|
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 V113
|
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 # V113
|
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 V113
|
24
24
|
class IO
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -50,6 +50,6 @@ module Selenium
|
|
50
50
|
end
|
51
51
|
|
52
52
|
end # IO
|
53
|
-
end #
|
53
|
+
end # V113
|
54
54
|
end # DevTools
|
55
55
|
end # Selenium
|