selenium-devtools 0.140.0 → 0.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/selenium/devtools/{v139 → v141}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/animation.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/audits.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/browser.rb +11 -3
- data/lib/selenium/devtools/{v139 → v141}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/cast.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/console.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/css.rb +6 -2
- data/lib/selenium/devtools/{v139 → v141}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/dom.rb +14 -6
- data/lib/selenium/devtools/{v138 → v141}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/emulation.rb +30 -2
- data/lib/selenium/devtools/{v138 → v141}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/input.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/io.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/log.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/media.rb +3 -3
- data/lib/selenium/devtools/{v138 → v141}/memory.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/network.rb +9 -4
- data/lib/selenium/devtools/{v138 → v141}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/page.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/performance.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/preload.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/schema.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/security.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/service_worker.rb +2 -7
- data/lib/selenium/devtools/{v139 → v141}/storage.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/target.rb +7 -2
- data/lib/selenium/devtools/{v138 → v141}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v139 → v141}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v138.rb → v141.rb} +13 -13
- data/lib/selenium/devtools/{v138 → v142}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/animation.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/audits.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/autofill.rb +5 -4
- data/lib/selenium/devtools/{v138 → v142}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/browser.rb +11 -3
- data/lib/selenium/devtools/{v138 → v142}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/cast.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/console.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/css.rb +6 -2
- data/lib/selenium/devtools/{v138 → v142}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/dom.rb +15 -6
- data/lib/selenium/devtools/{v139 → v142}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/emulation.rb +35 -2
- data/lib/selenium/devtools/{v139 → v142}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/heap_profiler.rb +4 -3
- data/lib/selenium/devtools/{v139 → v142}/indexed_db.rb +3 -3
- data/lib/selenium/devtools/{v139 → v142}/input.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/io.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/log.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/media.rb +3 -3
- data/lib/selenium/devtools/{v139 → v142}/memory.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/network.rb +29 -4
- data/lib/selenium/devtools/{v139 → v142}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/page.rb +4 -4
- data/lib/selenium/devtools/{v139 → v142}/performance.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/preload.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/schema.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/security.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/service_worker.rb +2 -7
- data/lib/selenium/devtools/{v138 → v142}/storage.rb +8 -2
- data/lib/selenium/devtools/{v139 → v142}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/target.rb +7 -2
- data/lib/selenium/devtools/{v139 → v142}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v138 → v142}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v139.rb → v142.rb} +13 -13
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +110 -110
|
@@ -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 V142
|
|
24
24
|
class Browser
|
|
25
25
|
EVENTS = {
|
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -36,11 +36,12 @@ module Selenium
|
|
|
36
36
|
@devtools.callbacks["Browser.#{event}"] << block
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
def set_permission(permission:, setting:, origin: nil, browser_context_id: nil)
|
|
39
|
+
def set_permission(permission:, setting:, origin: nil, embedding_origin: nil, browser_context_id: nil)
|
|
40
40
|
@devtools.send_cmd('Browser.setPermission',
|
|
41
41
|
permission: permission,
|
|
42
42
|
setting: setting,
|
|
43
43
|
origin: origin,
|
|
44
|
+
embeddingOrigin: embedding_origin,
|
|
44
45
|
browserContextId: browser_context_id)
|
|
45
46
|
end
|
|
46
47
|
|
|
@@ -118,6 +119,13 @@ module Selenium
|
|
|
118
119
|
bounds: bounds)
|
|
119
120
|
end
|
|
120
121
|
|
|
122
|
+
def set_contents_size(window_id:, width: nil, height: nil)
|
|
123
|
+
@devtools.send_cmd('Browser.setContentsSize',
|
|
124
|
+
windowId: window_id,
|
|
125
|
+
width: width,
|
|
126
|
+
height: height)
|
|
127
|
+
end
|
|
128
|
+
|
|
121
129
|
def set_dock_tile(badge_label: nil, image: nil)
|
|
122
130
|
@devtools.send_cmd('Browser.setDockTile',
|
|
123
131
|
badgeLabel: badge_label,
|
|
@@ -143,6 +151,6 @@ module Selenium
|
|
|
143
151
|
end
|
|
144
152
|
|
|
145
153
|
end # Browser
|
|
146
|
-
end #
|
|
154
|
+
end # V142
|
|
147
155
|
end # DevTools
|
|
148
156
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -119,6 +119,10 @@ module Selenium
|
|
|
119
119
|
nodeId: node_id)
|
|
120
120
|
end
|
|
121
121
|
|
|
122
|
+
def get_environment_variables
|
|
123
|
+
@devtools.send_cmd('CSS.getEnvironmentVariables')
|
|
124
|
+
end
|
|
125
|
+
|
|
122
126
|
def get_media_queries
|
|
123
127
|
@devtools.send_cmd('CSS.getMediaQueries')
|
|
124
128
|
end
|
|
@@ -244,6 +248,6 @@ module Selenium
|
|
|
244
248
|
end
|
|
245
249
|
|
|
246
250
|
end # CSS
|
|
247
|
-
end #
|
|
251
|
+
end # V142
|
|
248
252
|
end # DevTools
|
|
249
253
|
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 V142
|
|
24
24
|
class Debugger
|
|
25
25
|
EVENTS = {
|
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -233,6 +233,6 @@ module Selenium
|
|
|
233
233
|
end
|
|
234
234
|
|
|
235
235
|
end # Debugger
|
|
236
|
-
end #
|
|
236
|
+
end # V142
|
|
237
237
|
end # DevTools
|
|
238
238
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -35,6 +35,7 @@ module Selenium
|
|
|
35
35
|
pseudo_element_added: 'pseudoElementAdded',
|
|
36
36
|
top_layer_elements_updated: 'topLayerElementsUpdated',
|
|
37
37
|
scrollable_flag_updated: 'scrollableFlagUpdated',
|
|
38
|
+
affected_by_starting_styles_flag_updated: 'affectedByStartingStylesFlagUpdated',
|
|
38
39
|
pseudo_element_removed: 'pseudoElementRemoved',
|
|
39
40
|
set_child_nodes: 'setChildNodes',
|
|
40
41
|
shadow_root_popped: 'shadowRootPopped',
|
|
@@ -146,11 +147,12 @@ module Selenium
|
|
|
146
147
|
ignorePointerEventsNone: ignore_pointer_events_none)
|
|
147
148
|
end
|
|
148
149
|
|
|
149
|
-
def get_outer_html(node_id: nil, backend_node_id: nil, object_id: nil)
|
|
150
|
+
def get_outer_html(node_id: nil, backend_node_id: nil, object_id: nil, include_shadow_dom: nil)
|
|
150
151
|
@devtools.send_cmd('DOM.getOuterHTML',
|
|
151
152
|
nodeId: node_id,
|
|
152
153
|
backendNodeId: backend_node_id,
|
|
153
|
-
objectId: object_id
|
|
154
|
+
objectId: object_id,
|
|
155
|
+
includeShadowDOM: include_shadow_dom)
|
|
154
156
|
end
|
|
155
157
|
|
|
156
158
|
def get_relayout_boundary(node_id:)
|
|
@@ -334,13 +336,14 @@ module Selenium
|
|
|
334
336
|
frameId: frame_id)
|
|
335
337
|
end
|
|
336
338
|
|
|
337
|
-
def get_container_for_node(node_id:, container_name: nil, physical_axes: nil, logical_axes: nil, queries_scroll_state: nil)
|
|
339
|
+
def get_container_for_node(node_id:, container_name: nil, physical_axes: nil, logical_axes: nil, queries_scroll_state: nil, queries_anchored: nil)
|
|
338
340
|
@devtools.send_cmd('DOM.getContainerForNode',
|
|
339
341
|
nodeId: node_id,
|
|
340
342
|
containerName: container_name,
|
|
341
343
|
physicalAxes: physical_axes,
|
|
342
344
|
logicalAxes: logical_axes,
|
|
343
|
-
queriesScrollState: queries_scroll_state
|
|
345
|
+
queriesScrollState: queries_scroll_state,
|
|
346
|
+
queriesAnchored: queries_anchored)
|
|
344
347
|
end
|
|
345
348
|
|
|
346
349
|
def get_querying_descendants_for_container(node_id:)
|
|
@@ -354,7 +357,13 @@ module Selenium
|
|
|
354
357
|
anchorSpecifier: anchor_specifier)
|
|
355
358
|
end
|
|
356
359
|
|
|
360
|
+
def force_show_popover(node_id:, enable:)
|
|
361
|
+
@devtools.send_cmd('DOM.forceShowPopover',
|
|
362
|
+
nodeId: node_id,
|
|
363
|
+
enable: enable)
|
|
364
|
+
end
|
|
365
|
+
|
|
357
366
|
end # DOM
|
|
358
|
-
end #
|
|
367
|
+
end # V142
|
|
359
368
|
end # DevTools
|
|
360
369
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -139,6 +139,11 @@ module Selenium
|
|
|
139
139
|
type: type)
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
+
def set_emulated_os_text_scale(scale: nil)
|
|
143
|
+
@devtools.send_cmd('Emulation.setEmulatedOSTextScale',
|
|
144
|
+
scale: scale)
|
|
145
|
+
end
|
|
146
|
+
|
|
142
147
|
def set_geolocation_override(latitude: nil, longitude: nil, accuracy: nil, altitude: nil, altitude_accuracy: nil, heading: nil, speed: nil)
|
|
143
148
|
@devtools.send_cmd('Emulation.setGeolocationOverride',
|
|
144
149
|
latitude: latitude,
|
|
@@ -248,6 +253,11 @@ module Selenium
|
|
|
248
253
|
imageTypes: image_types)
|
|
249
254
|
end
|
|
250
255
|
|
|
256
|
+
def set_data_saver_override(data_saver_enabled: nil)
|
|
257
|
+
@devtools.send_cmd('Emulation.setDataSaverOverride',
|
|
258
|
+
dataSaverEnabled: data_saver_enabled)
|
|
259
|
+
end
|
|
260
|
+
|
|
251
261
|
def set_hardware_concurrency_override(hardware_concurrency:)
|
|
252
262
|
@devtools.send_cmd('Emulation.setHardwareConcurrencyOverride',
|
|
253
263
|
hardwareConcurrency: hardware_concurrency)
|
|
@@ -271,7 +281,30 @@ module Selenium
|
|
|
271
281
|
difference: difference)
|
|
272
282
|
end
|
|
273
283
|
|
|
284
|
+
def get_screen_infos
|
|
285
|
+
@devtools.send_cmd('Emulation.getScreenInfos')
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
def add_screen(left:, top:, width:, height:, work_area_insets: nil, device_pixel_ratio: nil, rotation: nil, color_depth: nil, label: nil, is_internal: nil)
|
|
289
|
+
@devtools.send_cmd('Emulation.addScreen',
|
|
290
|
+
left: left,
|
|
291
|
+
top: top,
|
|
292
|
+
width: width,
|
|
293
|
+
height: height,
|
|
294
|
+
workAreaInsets: work_area_insets,
|
|
295
|
+
devicePixelRatio: device_pixel_ratio,
|
|
296
|
+
rotation: rotation,
|
|
297
|
+
colorDepth: color_depth,
|
|
298
|
+
label: label,
|
|
299
|
+
isInternal: is_internal)
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
def remove_screen(screen_id:)
|
|
303
|
+
@devtools.send_cmd('Emulation.removeScreen',
|
|
304
|
+
screenId: screen_id)
|
|
305
|
+
end
|
|
306
|
+
|
|
274
307
|
end # Emulation
|
|
275
|
-
end #
|
|
308
|
+
end # V142
|
|
276
309
|
end # DevTools
|
|
277
310
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
24
24
|
class Extensions
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -70,6 +70,6 @@ module Selenium
|
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
end # Extensions
|
|
73
|
-
end #
|
|
73
|
+
end # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
24
24
|
class FileSystem
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -38,6 +38,6 @@ module Selenium
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
end # FileSystem
|
|
41
|
-
end #
|
|
41
|
+
end # V142
|
|
42
42
|
end # DevTools
|
|
43
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 V142
|
|
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 # V142
|
|
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 V142
|
|
24
24
|
class HeapProfiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
|
@@ -71,9 +71,10 @@ module Selenium
|
|
|
71
71
|
@devtools.send_cmd('HeapProfiler.getSamplingProfile')
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
def start_sampling(sampling_interval: nil, include_objects_collected_by_major_gc: nil, include_objects_collected_by_minor_gc: nil)
|
|
74
|
+
def start_sampling(sampling_interval: nil, stack_depth: nil, include_objects_collected_by_major_gc: nil, include_objects_collected_by_minor_gc: nil)
|
|
75
75
|
@devtools.send_cmd('HeapProfiler.startSampling',
|
|
76
76
|
samplingInterval: sampling_interval,
|
|
77
|
+
stackDepth: stack_depth,
|
|
77
78
|
includeObjectsCollectedByMajorGC: include_objects_collected_by_major_gc,
|
|
78
79
|
includeObjectsCollectedByMinorGC: include_objects_collected_by_minor_gc)
|
|
79
80
|
end
|
|
@@ -104,6 +105,6 @@ module Selenium
|
|
|
104
105
|
end
|
|
105
106
|
|
|
106
107
|
end # HeapProfiler
|
|
107
|
-
end #
|
|
108
|
+
end # V142
|
|
108
109
|
end # DevTools
|
|
109
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 V142
|
|
24
24
|
class IndexedDB
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -67,7 +67,7 @@ module Selenium
|
|
|
67
67
|
@devtools.send_cmd('IndexedDB.enable')
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
def request_data(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:, object_store_name:, index_name
|
|
70
|
+
def request_data(security_origin: nil, storage_key: nil, storage_bucket: nil, database_name:, object_store_name:, index_name: nil, skip_count:, page_size:, key_range: nil)
|
|
71
71
|
@devtools.send_cmd('IndexedDB.requestData',
|
|
72
72
|
securityOrigin: security_origin,
|
|
73
73
|
storageKey: storage_key,
|
|
@@ -105,6 +105,6 @@ module Selenium
|
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
end # IndexedDB
|
|
108
|
-
end #
|
|
108
|
+
end # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
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 V142
|
|
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 # V142
|
|
61
61
|
end # DevTools
|
|
62
62
|
end # Selenium
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V142
|
|
24
24
|
class Media
|
|
25
25
|
EVENTS = {
|
|
26
26
|
player_properties_changed: 'playerPropertiesChanged',
|
|
27
27
|
player_events_added: 'playerEventsAdded',
|
|
28
28
|
player_messages_logged: 'playerMessagesLogged',
|
|
29
29
|
player_errors_raised: 'playerErrorsRaised',
|
|
30
|
-
|
|
30
|
+
player_created: 'playerCreated',
|
|
31
31
|
}.freeze
|
|
32
32
|
|
|
33
33
|
def initialize(devtools)
|
|
@@ -48,6 +48,6 @@ module Selenium
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
end # Media
|
|
51
|
-
end #
|
|
51
|
+
end # V142
|
|
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 V142
|
|
24
24
|
class Memory
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -81,6 +81,6 @@ module Selenium
|
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
end # Memory
|
|
84
|
-
end #
|
|
84
|
+
end # V142
|
|
85
85
|
end # DevTools
|
|
86
86
|
end # Selenium
|