selenium-devtools 0.141.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/Gemfile +0 -4
- data/lib/selenium/devtools/{v139 → v142}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/animation.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/audits.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/autofill.rb +5 -4
- data/lib/selenium/devtools/{v139 → v142}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/browser.rb +11 -3
- data/lib/selenium/devtools/{v139 → v142}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/cast.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/console.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/css.rb +6 -2
- data/lib/selenium/devtools/{v139 → v142}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/dom.rb +15 -6
- data/lib/selenium/devtools/{v139 → v142}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/emulation.rb +30 -2
- data/lib/selenium/devtools/{v139 → v142}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v139 → 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/{v139 → v142}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/log.rb +2 -2
- data/lib/selenium/devtools/{v139 → 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/{v139 → v142}/page.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/performance.rb +2 -2
- data/lib/selenium/devtools/{v139 → 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/{v139 → v142}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v139 → 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/{v139 → v142}/storage.rb +7 -2
- data/lib/selenium/devtools/{v139 → v142}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v139 → 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/{v139 → 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 +56 -56
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d01b68fb44ab061a759d714c1068f54ba8a936b59ffba9967aa4df402d5c0980
|
|
4
|
+
data.tar.gz: 7bd1010350453be026514beaf790cc7783760e85eaf200e09965eeb8d6a16146
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f871d78f662f876f4abe853df964ff121f073a69ba898ca51637d83017c6e84d129a833656da3bd63d154594c47a88c50ad048eea44c6528a1e66f14cb728d7f
|
|
7
|
+
data.tar.gz: 49b7da0a21c6cee284f7d1c8c847d1e84a8bb19c235cfe746c833c68670829582683a6ddfd40fed75c73dcccdcbde3a29994301212432b86feb332a32f81a7ec
|
data/Gemfile
CHANGED
|
@@ -10,7 +10,3 @@ gem 'activesupport', '~> 7.0', require: false, platforms: %i[mri mingw x64_mingw
|
|
|
10
10
|
gem 'curb', '~> 1.0.5', require: false, platforms: %i[mri mingw x64_mingw]
|
|
11
11
|
gem 'debug', '~> 1.7', require: false, platforms: %i[mri mingw x64_mingw]
|
|
12
12
|
gem 'steep', '~> 1.5.0', require: false, platforms: %i[mri mingw x64_mingw]
|
|
13
|
-
|
|
14
|
-
# Prism staring with 1.5 fails to build with the following error:
|
|
15
|
-
# src/prism.c:8651:62: error: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Werror=sign-conversion]
|
|
16
|
-
gem 'prism', ['~> 1.0', '< 1.5']
|
|
@@ -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 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 # 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 Animation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
animation_canceled: 'animationCanceled',
|
|
@@ -90,6 +90,6 @@ module Selenium
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
end # Animation
|
|
93
|
-
end #
|
|
93
|
+
end # V142
|
|
94
94
|
end # DevTools
|
|
95
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 V142
|
|
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 # V142
|
|
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 V142
|
|
24
24
|
class Autofill
|
|
25
25
|
EVENTS = {
|
|
26
26
|
address_form_filled: 'addressFormFilled',
|
|
@@ -35,11 +35,12 @@ module Selenium
|
|
|
35
35
|
@devtools.callbacks["Autofill.#{event}"] << block
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
def trigger(field_id:, frame_id: nil, card:)
|
|
38
|
+
def trigger(field_id:, frame_id: nil, card: nil, address: nil)
|
|
39
39
|
@devtools.send_cmd('Autofill.trigger',
|
|
40
40
|
fieldId: field_id,
|
|
41
41
|
frameId: frame_id,
|
|
42
|
-
card: card
|
|
42
|
+
card: card,
|
|
43
|
+
address: address)
|
|
43
44
|
end
|
|
44
45
|
|
|
45
46
|
def set_addresses(addresses:)
|
|
@@ -56,6 +57,6 @@ module Selenium
|
|
|
56
57
|
end
|
|
57
58
|
|
|
58
59
|
end # Autofill
|
|
59
|
-
end #
|
|
60
|
+
end # V142
|
|
60
61
|
end # DevTools
|
|
61
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 V142
|
|
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 # 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 BluetoothEmulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
gatt_operation_received: 'gattOperationReceived',
|
|
@@ -128,6 +128,6 @@ module Selenium
|
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
end # BluetoothEmulation
|
|
131
|
-
end #
|
|
131
|
+
end # V142
|
|
132
132
|
end # DevTools
|
|
133
133
|
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 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',
|
|
@@ -253,6 +253,11 @@ module Selenium
|
|
|
253
253
|
imageTypes: image_types)
|
|
254
254
|
end
|
|
255
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
|
+
|
|
256
261
|
def set_hardware_concurrency_override(hardware_concurrency:)
|
|
257
262
|
@devtools.send_cmd('Emulation.setHardwareConcurrencyOverride',
|
|
258
263
|
hardwareConcurrency: hardware_concurrency)
|
|
@@ -276,7 +281,30 @@ module Selenium
|
|
|
276
281
|
difference: difference)
|
|
277
282
|
end
|
|
278
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
|
+
|
|
279
307
|
end # Emulation
|
|
280
|
-
end #
|
|
308
|
+
end # V142
|
|
281
309
|
end # DevTools
|
|
282
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
|