selenium-devtools 0.123.0 → 0.125.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/{v122 → v124}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/animation.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/audits.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/browser.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/cast.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/console.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/css.rb +8 -2
- data/lib/selenium/devtools/{v121 → v124}/database.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/dom.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/input.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/io.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/log.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/media.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/memory.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/network.rb +10 -6
- data/lib/selenium/devtools/{v121 → v124}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/page.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/performance.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/preload.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/schema.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/security.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v122 → v124}/storage.rb +7 -2
- data/lib/selenium/devtools/{v121 → v124}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/target.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v121 → v124}/web_authn.rb +10 -2
- data/lib/selenium/devtools/{v121.rb → v124.rb} +3 -3
- data/lib/selenium/devtools/{v121 → v125}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/animation.rb +3 -2
- data/lib/selenium/devtools/{v121 → v125}/audits.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/browser.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/cast.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/console.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/css.rb +14 -6
- data/lib/selenium/devtools/{v122 → v125}/database.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v121 → 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/{v121 → v125}/emulation.rb +11 -2
- data/lib/selenium/devtools/{v122 → v125}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/fed_cm.rb +9 -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/{v121 → 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/{v121 → v125}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/io.rb +2 -2
- data/lib/selenium/devtools/{v121 → 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/{v121 → v125}/memory.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/network.rb +16 -6
- 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/{v121 → 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/{v121 → v125}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/schema.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/security.rb +2 -2
- data/lib/selenium/devtools/{v122 → v125}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v121 → v125}/storage.rb +18 -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/{v122 → v125}/web_authn.rb +10 -2
- data/lib/selenium/devtools/{v122.rb → v125.rb} +4 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +105 -104
@@ -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 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 # V125
|
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 V125
|
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 # V125
|
51
51
|
end # DevTools
|
52
52
|
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 FedCm
|
25
25
|
EVENTS = {
|
26
26
|
dialog_shown: 'dialogShown',
|
@@ -57,6 +57,13 @@ module Selenium
|
|
57
57
|
dialogButton: dialog_button)
|
58
58
|
end
|
59
59
|
|
60
|
+
def open_url(dialog_id:, account_index:, account_url_type:)
|
61
|
+
@devtools.send_cmd('FedCm.openUrl',
|
62
|
+
dialogId: dialog_id,
|
63
|
+
accountIndex: account_index,
|
64
|
+
accountUrlType: account_url_type)
|
65
|
+
end
|
66
|
+
|
60
67
|
def dismiss_dialog(dialog_id:, trigger_cooldown: nil)
|
61
68
|
@devtools.send_cmd('FedCm.dismissDialog',
|
62
69
|
dialogId: dialog_id,
|
@@ -68,6 +75,6 @@ module Selenium
|
|
68
75
|
end
|
69
76
|
|
70
77
|
end # FedCm
|
71
|
-
end #
|
78
|
+
end # V125
|
72
79
|
end # DevTools
|
73
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 V125
|
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 # V125
|
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 V125
|
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 # 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 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 # V125
|
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 V125
|
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 # V125
|
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 V125
|
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 # V125
|
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 V125
|
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 # 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 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 # V125
|
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 V125
|
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 # V125
|
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 V125
|
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 # V125
|
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 V125
|
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 # V125
|
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 V125
|
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 # V125
|
81
81
|
end # DevTools
|
82
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 V125
|
24
24
|
class Network
|
25
25
|
EVENTS = {
|
26
26
|
data_received: 'dataReceived',
|
@@ -45,6 +45,7 @@ module Selenium
|
|
45
45
|
web_transport_closed: 'webTransportClosed',
|
46
46
|
request_will_be_sent_extra_info: 'requestWillBeSentExtraInfo',
|
47
47
|
response_received_extra_info: 'responseReceivedExtraInfo',
|
48
|
+
response_received_early_hints: 'responseReceivedEarlyHints',
|
48
49
|
trust_token_operation_done: 'trustTokenOperationDone',
|
49
50
|
subresource_web_bundle_metadata_received: 'subresourceWebBundleMetadataReceived',
|
50
51
|
subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
|
@@ -105,25 +106,29 @@ module Selenium
|
|
105
106
|
authChallengeResponse: auth_challenge_response)
|
106
107
|
end
|
107
108
|
|
108
|
-
def delete_cookies(name:, url: nil, domain: nil, path: nil)
|
109
|
+
def delete_cookies(name:, url: nil, domain: nil, path: nil, partition_key: nil)
|
109
110
|
@devtools.send_cmd('Network.deleteCookies',
|
110
111
|
name: name,
|
111
112
|
url: url,
|
112
113
|
domain: domain,
|
113
|
-
path: path
|
114
|
+
path: path,
|
115
|
+
partitionKey: partition_key)
|
114
116
|
end
|
115
117
|
|
116
118
|
def disable
|
117
119
|
@devtools.send_cmd('Network.disable')
|
118
120
|
end
|
119
121
|
|
120
|
-
def emulate_network_conditions(offline:, latency:, download_throughput:, upload_throughput:, connection_type: nil)
|
122
|
+
def emulate_network_conditions(offline:, latency:, download_throughput:, upload_throughput:, connection_type: nil, packet_loss: nil, packet_queue_length: nil, packet_reordering: nil)
|
121
123
|
@devtools.send_cmd('Network.emulateNetworkConditions',
|
122
124
|
offline: offline,
|
123
125
|
latency: latency,
|
124
126
|
downloadThroughput: download_throughput,
|
125
127
|
uploadThroughput: upload_throughput,
|
126
|
-
connectionType: connection_type
|
128
|
+
connectionType: connection_type,
|
129
|
+
packetLoss: packet_loss,
|
130
|
+
packetQueueLength: packet_queue_length,
|
131
|
+
packetReordering: packet_reordering)
|
127
132
|
end
|
128
133
|
|
129
134
|
def enable(max_total_buffer_size: nil, max_resource_buffer_size: nil, max_post_data_size: nil)
|
@@ -241,6 +246,11 @@ module Selenium
|
|
241
246
|
userAgentMetadata: user_agent_metadata)
|
242
247
|
end
|
243
248
|
|
249
|
+
def stream_resource_content(request_id:)
|
250
|
+
@devtools.send_cmd('Network.streamResourceContent',
|
251
|
+
requestId: request_id)
|
252
|
+
end
|
253
|
+
|
244
254
|
def get_security_isolation_status(frame_id: nil)
|
245
255
|
@devtools.send_cmd('Network.getSecurityIsolationStatus',
|
246
256
|
frameId: frame_id)
|
@@ -259,6 +269,6 @@ module Selenium
|
|
259
269
|
end
|
260
270
|
|
261
271
|
end # Network
|
262
|
-
end #
|
272
|
+
end # V125
|
263
273
|
end # DevTools
|
264
274
|
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 Overlay
|
25
25
|
EVENTS = {
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
@@ -202,6 +202,6 @@ module Selenium
|
|
202
202
|
end
|
203
203
|
|
204
204
|
end # Overlay
|
205
|
-
end #
|
205
|
+
end # V125
|
206
206
|
end # DevTools
|
207
207
|
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 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',
|
@@ -28,10 +28,13 @@ module Selenium
|
|
28
28
|
indexed_db_content_updated: 'indexedDBContentUpdated',
|
29
29
|
indexed_db_list_updated: 'indexedDBListUpdated',
|
30
30
|
interest_group_accessed: 'interestGroupAccessed',
|
31
|
+
interest_group_auction_event_occurred: 'interestGroupAuctionEventOccurred',
|
32
|
+
interest_group_auction_network_request_created: 'interestGroupAuctionNetworkRequestCreated',
|
31
33
|
shared_storage_accessed: 'sharedStorageAccessed',
|
32
34
|
storage_bucket_created_or_updated: 'storageBucketCreatedOrUpdated',
|
33
35
|
storage_bucket_deleted: 'storageBucketDeleted',
|
34
36
|
attribution_reporting_source_registered: 'attributionReportingSourceRegistered',
|
37
|
+
attribution_reporting_trigger_registered: 'attributionReportingTriggerRegistered',
|
35
38
|
}.freeze
|
36
39
|
|
37
40
|
def initialize(devtools)
|
@@ -147,6 +150,11 @@ module Selenium
|
|
147
150
|
enable: enable)
|
148
151
|
end
|
149
152
|
|
153
|
+
def set_interest_group_auction_tracking(enable:)
|
154
|
+
@devtools.send_cmd('Storage.setInterestGroupAuctionTracking',
|
155
|
+
enable: enable)
|
156
|
+
end
|
157
|
+
|
150
158
|
def get_shared_storage_metadata(owner_origin:)
|
151
159
|
@devtools.send_cmd('Storage.getSharedStorageMetadata',
|
152
160
|
ownerOrigin: owner_origin)
|
@@ -211,7 +219,15 @@ module Selenium
|
|
211
219
|
enable: enable)
|
212
220
|
end
|
213
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
|
+
|
214
230
|
end # Storage
|
215
|
-
end #
|
231
|
+
end # V125
|
216
232
|
end # DevTools
|
217
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
|