selenium-devtools 0.127.0 → 0.129.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/Gemfile +1 -0
- data/lib/selenium/devtools/{v126 → v128}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/animation.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/audits.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/browser.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/cast.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/console.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/css.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/database.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/dom.rb +8 -2
- data/lib/selenium/devtools/{v125 → v128}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/emulation.rb +15 -2
- data/lib/selenium/devtools/{v125 → v128}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v125/pwa.rb → v128/file_system.rb} +8 -8
- data/lib/selenium/devtools/{v125 → v128}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/input.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/io.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/log.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/media.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/memory.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/network.rb +3 -2
- data/lib/selenium/devtools/{v126 → v128}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/page.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/performance.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/preload.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/pwa.rb +20 -2
- data/lib/selenium/devtools/{v126 → v128}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/schema.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/security.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/storage.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/target.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v125 → v128}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v126 → v128}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v126.rb → v128.rb} +4 -3
- data/lib/selenium/devtools/{v125 → v129}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/animation.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/audits.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/background_service.rb +2 -2
- data/lib/selenium/devtools/v129/bluetooth_emulation.rb +60 -0
- data/lib/selenium/devtools/{v125 → v129}/browser.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/cast.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/console.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/css.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/database.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/dom.rb +18 -2
- data/lib/selenium/devtools/{v126 → v129}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/emulation.rb +15 -2
- data/lib/selenium/devtools/{v126 → v129}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/v129/extensions.rb +70 -0
- data/lib/selenium/devtools/{v125 → v129}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/fetch.rb +2 -2
- data/lib/selenium/devtools/v129/file_system.rb +43 -0
- data/lib/selenium/devtools/{v126 → v129}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/input.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/io.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/log.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/media.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/memory.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/network.rb +3 -2
- data/lib/selenium/devtools/{v125 → v129}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/page.rb +5 -4
- data/lib/selenium/devtools/{v126 → v129}/performance.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/preload.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/profiler.rb +2 -2
- data/lib/selenium/devtools/v129/pwa.rb +78 -0
- data/lib/selenium/devtools/{v125 → v129}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/schema.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/security.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/storage.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/target.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v126 → v129}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v125 → v129}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v125.rb → v129.rb} +6 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +111 -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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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
|
|
@@ -291,6 +297,10 @@ module Selenium
|
|
|
291
297
|
objectId: object_id)
|
|
292
298
|
end
|
|
293
299
|
|
|
300
|
+
def get_detached_dom_nodes
|
|
301
|
+
@devtools.send_cmd('DOM.getDetachedDomNodes')
|
|
302
|
+
end
|
|
303
|
+
|
|
294
304
|
def set_inspected_node(node_id:)
|
|
295
305
|
@devtools.send_cmd('DOM.setInspectedNode',
|
|
296
306
|
nodeId: node_id)
|
|
@@ -336,7 +346,13 @@ module Selenium
|
|
|
336
346
|
nodeId: node_id)
|
|
337
347
|
end
|
|
338
348
|
|
|
349
|
+
def get_anchor_element(node_id:, anchor_specifier: nil)
|
|
350
|
+
@devtools.send_cmd('DOM.getAnchorElement',
|
|
351
|
+
nodeId: node_id,
|
|
352
|
+
anchorSpecifier: anchor_specifier)
|
|
353
|
+
end
|
|
354
|
+
|
|
339
355
|
end # DOM
|
|
340
|
-
end #
|
|
356
|
+
end # V129
|
|
341
357
|
end # DevTools
|
|
342
358
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -150,6 +150,19 @@ module Selenium
|
|
|
150
150
|
reading: reading)
|
|
151
151
|
end
|
|
152
152
|
|
|
153
|
+
def set_pressure_source_override_enabled(enabled:, source:, metadata: nil)
|
|
154
|
+
@devtools.send_cmd('Emulation.setPressureSourceOverrideEnabled',
|
|
155
|
+
enabled: enabled,
|
|
156
|
+
source: source,
|
|
157
|
+
metadata: metadata)
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
def set_pressure_state_override(source:, state:)
|
|
161
|
+
@devtools.send_cmd('Emulation.setPressureStateOverride',
|
|
162
|
+
source: source,
|
|
163
|
+
state: state)
|
|
164
|
+
end
|
|
165
|
+
|
|
153
166
|
def set_idle_override(is_user_active:, is_screen_unlocked:)
|
|
154
167
|
@devtools.send_cmd('Emulation.setIdleOverride',
|
|
155
168
|
isUserActive: is_user_active,
|
|
@@ -229,6 +242,6 @@ module Selenium
|
|
|
229
242
|
end
|
|
230
243
|
|
|
231
244
|
end # Emulation
|
|
232
|
-
end #
|
|
245
|
+
end # V129
|
|
233
246
|
end # DevTools
|
|
234
247
|
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 V129
|
|
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 # V129
|
|
51
51
|
end # DevTools
|
|
52
52
|
end # Selenium
|
|
@@ -0,0 +1,70 @@
|
|
|
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 V129
|
|
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
|
+
def get_storage_items(id:, storage_area:, keys: nil)
|
|
41
|
+
@devtools.send_cmd('Extensions.getStorageItems',
|
|
42
|
+
id: id,
|
|
43
|
+
storageArea: storage_area,
|
|
44
|
+
keys: keys)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def remove_storage_items(id:, storage_area:, keys:)
|
|
48
|
+
@devtools.send_cmd('Extensions.removeStorageItems',
|
|
49
|
+
id: id,
|
|
50
|
+
storageArea: storage_area,
|
|
51
|
+
keys: keys)
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def clear_storage_items(id:, storage_area:)
|
|
55
|
+
@devtools.send_cmd('Extensions.clearStorageItems',
|
|
56
|
+
id: id,
|
|
57
|
+
storageArea: storage_area)
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def set_storage_items(id:, storage_area:, values:)
|
|
61
|
+
@devtools.send_cmd('Extensions.setStorageItems',
|
|
62
|
+
id: id,
|
|
63
|
+
storageArea: storage_area,
|
|
64
|
+
values: values)
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
end # Extensions
|
|
68
|
+
end # V129
|
|
69
|
+
end # DevTools
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
102
102
|
end # DevTools
|
|
103
103
|
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 V129
|
|
24
|
+
class FileSystem
|
|
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["FileSystem.#{event}"] << block
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def get_directory(bucket_file_system_locator:)
|
|
36
|
+
@devtools.send_cmd('FileSystem.getDirectory',
|
|
37
|
+
bucketFileSystemLocator: bucket_file_system_locator)
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end # FileSystem
|
|
41
|
+
end # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
24
24
|
class Network
|
|
25
25
|
EVENTS = {
|
|
26
26
|
data_received: 'dataReceived',
|
|
@@ -47,6 +47,7 @@ module Selenium
|
|
|
47
47
|
response_received_extra_info: 'responseReceivedExtraInfo',
|
|
48
48
|
response_received_early_hints: 'responseReceivedEarlyHints',
|
|
49
49
|
trust_token_operation_done: 'trustTokenOperationDone',
|
|
50
|
+
policy_updated: 'policyUpdated',
|
|
50
51
|
subresource_web_bundle_metadata_received: 'subresourceWebBundleMetadataReceived',
|
|
51
52
|
subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
|
|
52
53
|
subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
|
|
@@ -269,6 +270,6 @@ module Selenium
|
|
|
269
270
|
end
|
|
270
271
|
|
|
271
272
|
end # Network
|
|
272
|
-
end #
|
|
273
|
+
end # V129
|
|
273
274
|
end # DevTools
|
|
274
275
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
24
24
|
class Page
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -214,10 +214,11 @@ module Selenium
|
|
|
214
214
|
generateDocumentOutline: generate_document_outline)
|
|
215
215
|
end
|
|
216
216
|
|
|
217
|
-
def reload(ignore_cache: nil, script_to_evaluate_on_load: nil)
|
|
217
|
+
def reload(ignore_cache: nil, script_to_evaluate_on_load: nil, loader_id: nil)
|
|
218
218
|
@devtools.send_cmd('Page.reload',
|
|
219
219
|
ignoreCache: ignore_cache,
|
|
220
|
-
scriptToEvaluateOnLoad: script_to_evaluate_on_load
|
|
220
|
+
scriptToEvaluateOnLoad: script_to_evaluate_on_load,
|
|
221
|
+
loaderId: loader_id)
|
|
221
222
|
end
|
|
222
223
|
|
|
223
224
|
def remove_script_to_evaluate_on_load(identifier:)
|
|
@@ -404,6 +405,6 @@ module Selenium
|
|
|
404
405
|
end
|
|
405
406
|
|
|
406
407
|
end # Page
|
|
407
|
-
end #
|
|
408
|
+
end # V129
|
|
408
409
|
end # DevTools
|
|
409
410
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
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 V129
|
|
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 # V129
|
|
82
82
|
end # DevTools
|
|
83
83
|
end # Selenium
|