selenium-devtools 0.125.0 → 0.127.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/selenium/devtools/{v124 → v126}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/animation.rb +3 -2
- data/lib/selenium/devtools/{v124 → v126}/audits.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/browser.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/cast.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/console.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/css.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/database.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v124 → 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/{v124 → 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/{v124 → 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/{v124 → 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/{v124 → v126}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/io.rb +2 -2
- data/lib/selenium/devtools/{v124 → 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/{v124 → v126}/memory.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/network.rb +3 -2
- 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/{v124 → 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/{v124 → v126}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/schema.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/security.rb +2 -2
- data/lib/selenium/devtools/{v123 → v126}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v124 → v126}/storage.rb +6 -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/{v124 → v126}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v123.rb → v126.rb} +5 -3
- data/lib/selenium/devtools/{v123 → v127}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/animation.rb +3 -2
- data/lib/selenium/devtools/{v123 → v127}/audits.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/browser.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/cast.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/console.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/css.rb +8 -2
- data/lib/selenium/devtools/{v124 → v127}/database.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/dom.rb +14 -2
- data/lib/selenium/devtools/{v124 → v127}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/emulation.rb +11 -2
- data/lib/selenium/devtools/{v124 → v127}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/v127/extensions.rb +43 -0
- data/lib/selenium/devtools/{v123 → v127}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/input.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/io.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/log.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/media.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/memory.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/network.rb +8 -4
- data/lib/selenium/devtools/{v124 → v127}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/page.rb +8 -6
- data/lib/selenium/devtools/{v124 → v127}/performance.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/preload.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/profiler.rb +2 -2
- data/lib/selenium/devtools/v127/pwa.rb +71 -0
- data/lib/selenium/devtools/{v123 → v127}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/schema.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/security.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/storage.rb +10 -2
- data/lib/selenium/devtools/{v124 → v127}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/target.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v124 → v127}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v123 → v127}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v124.rb → v127.rb} +5 -3
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +1 -1
- metadata +108 -104
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca66bb59c0ad501d2280a9d2b06bf22500cfeb13ed0f388026c31242ccdcad86
|
4
|
+
data.tar.gz: eab84484bf188350fb51987043a85d1502465fa2dd3d3b8832cca955ac0e5e8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18e4b4657154ce66c04f1aba1a1422439d4f695b2767d60f0422369792dfcbfc17fe17fe2f38847be7ed37a85fc077ba743639bcdbce9aa5eb8ce8db40c95cef
|
7
|
+
data.tar.gz: acad5d606552898179c145999df866fd7e5c773562dfebf319951ee991db9b9fb2c1860d8d295a0036b27e635a82ac0c15ae9be7602232c8ed22e9b798469228
|
@@ -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',
|
@@ -211,6 +211,6 @@ module Selenium
|
|
211
211
|
end
|
212
212
|
|
213
213
|
end # CSS
|
214
|
-
end #
|
214
|
+
end # V126
|
215
215
|
end # DevTools
|
216
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
|
@@ -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 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 # V126
|
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 V126
|
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 # 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 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 # V126
|
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 V126
|
24
24
|
class Emulation
|
25
25
|
EVENTS = {
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
@@ -89,6 +89,15 @@ module Selenium
|
|
89
89
|
devicePosture: device_posture)
|
90
90
|
end
|
91
91
|
|
92
|
+
def set_device_posture_override(posture:)
|
93
|
+
@devtools.send_cmd('Emulation.setDevicePostureOverride',
|
94
|
+
posture: posture)
|
95
|
+
end
|
96
|
+
|
97
|
+
def clear_device_posture_override
|
98
|
+
@devtools.send_cmd('Emulation.clearDevicePostureOverride')
|
99
|
+
end
|
100
|
+
|
92
101
|
def set_scrollbars_hidden(hidden:)
|
93
102
|
@devtools.send_cmd('Emulation.setScrollbarsHidden',
|
94
103
|
hidden: hidden)
|
@@ -220,6 +229,6 @@ module Selenium
|
|
220
229
|
end
|
221
230
|
|
222
231
|
end # Emulation
|
223
|
-
end #
|
232
|
+
end # V126
|
224
233
|
end # DevTools
|
225
234
|
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 EventBreakpoints
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -47,6 +47,6 @@ module Selenium
|
|
47
47
|
end
|
48
48
|
|
49
49
|
end # EventBreakpoints
|
50
|
-
end #
|
50
|
+
end # V126
|
51
51
|
end # DevTools
|
52
52
|
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 V126
|
24
|
+
class Extensions
|
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["Extensions.#{event}"] << block
|
33
|
+
end
|
34
|
+
|
35
|
+
def load_unpacked(path:)
|
36
|
+
@devtools.send_cmd('Extensions.loadUnpacked',
|
37
|
+
path: path)
|
38
|
+
end
|
39
|
+
|
40
|
+
end # Extensions
|
41
|
+
end # V126
|
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 V126
|
24
24
|
class FedCm
|
25
25
|
EVENTS = {
|
26
26
|
dialog_shown: 'dialogShown',
|
@@ -75,6 +75,6 @@ module Selenium
|
|
75
75
|
end
|
76
76
|
|
77
77
|
end # FedCm
|
78
|
-
end #
|
78
|
+
end # V126
|
79
79
|
end # DevTools
|
80
80
|
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 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 # V126
|
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 V126
|
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 # V126
|
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 V126
|
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 # V126
|
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 V126
|
24
24
|
class IndexedDB
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -105,6 +105,6 @@ module Selenium
|
|
105
105
|
end
|
106
106
|
|
107
107
|
end # IndexedDB
|
108
|
-
end #
|
108
|
+
end # V126
|
109
109
|
end # DevTools
|
110
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 V126
|
24
24
|
class Input
|
25
25
|
EVENTS = {
|
26
26
|
drag_intercepted: 'dragIntercepted',
|
@@ -167,6 +167,6 @@ module Selenium
|
|
167
167
|
end
|
168
168
|
|
169
169
|
end # Input
|
170
|
-
end #
|
170
|
+
end # V126
|
171
171
|
end # DevTools
|
172
172
|
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 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 # V126
|
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 V126
|
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 # V126
|
54
54
|
end # DevTools
|
55
55
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V126
|
24
24
|
class LayerTree
|
25
25
|
EVENTS = {
|
26
26
|
layer_painted: 'layerPainted',
|
@@ -86,6 +86,6 @@ module Selenium
|
|
86
86
|
end
|
87
87
|
|
88
88
|
end # LayerTree
|
89
|
-
end #
|
89
|
+
end # V126
|
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 V126
|
24
24
|
class Log
|
25
25
|
EVENTS = {
|
26
26
|
entry_added: 'entryAdded',
|
@@ -57,6 +57,6 @@ module Selenium
|
|
57
57
|
end
|
58
58
|
|
59
59
|
end # Log
|
60
|
-
end #
|
60
|
+
end # V126
|
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 V126
|
24
24
|
class Media
|
25
25
|
EVENTS = {
|
26
26
|
player_properties_changed: 'playerPropertiesChanged',
|
@@ -48,6 +48,6 @@ module Selenium
|
|
48
48
|
end
|
49
49
|
|
50
50
|
end # Media
|
51
|
-
end #
|
51
|
+
end # 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 Memory
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -77,6 +77,6 @@ module Selenium
|
|
77
77
|
end
|
78
78
|
|
79
79
|
end # Memory
|
80
|
-
end #
|
80
|
+
end # V126
|
81
81
|
end # DevTools
|
82
82
|
end # Selenium
|