selenium-devtools 0.140.0 → 0.141.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 +4 -0
- data/lib/selenium/devtools/{v138 → v141}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/animation.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/audits.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/browser.rb +11 -3
- data/lib/selenium/devtools/{v138 → v141}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/cast.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/console.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/css.rb +6 -2
- data/lib/selenium/devtools/{v138 → v141}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/dom.rb +14 -6
- data/lib/selenium/devtools/{v138 → v141}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/emulation.rb +35 -2
- data/lib/selenium/devtools/{v138 → v141}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v138 → 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/{v138 → v141}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v138 → v141}/log.rb +2 -2
- data/lib/selenium/devtools/{v138 → 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/{v138 → v141}/page.rb +4 -4
- data/lib/selenium/devtools/{v138 → v141}/performance.rb +2 -2
- data/lib/selenium/devtools/{v138 → 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/{v138 → v141}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v138 → 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/{v138 → v141}/storage.rb +3 -2
- data/lib/selenium/devtools/{v138 → v141}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v138 → 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/{v138 → v141}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v138.rb → v141.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: 2102cc6a358d63b330d197d9999a430d88fb85aa6ed5f18b0d25a23966a584db
|
4
|
+
data.tar.gz: 6114d69ee8fc7fbe0ef8b4aa97abd671407ae4a776f80a0d1cae3f98481a7f8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dd055d78a3951f7a2734a994e8601a3fd2fd7b79ae398cce80f440cff06aebdac974622aa756c85be4830bd1cf05a5557de697b8a690f733ded7ad6b2bb9b0f
|
7
|
+
data.tar.gz: 104106b918f28ebda9e55fa46d0c992b50b0aba80db74b73f9f70ca0bfb021bfa18aaf76ca0b450c6059760a200a1dd349f243d3fc1e59fbfc1a2c4b4651d952
|
data/Gemfile
CHANGED
@@ -10,3 +10,7 @@ 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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
24
24
|
class Autofill
|
25
25
|
EVENTS = {
|
26
26
|
address_form_filled: 'addressFormFilled',
|
@@ -56,6 +56,6 @@ module Selenium
|
|
56
56
|
end
|
57
57
|
|
58
58
|
end # Autofill
|
59
|
-
end #
|
59
|
+
end # V141
|
60
60
|
end # DevTools
|
61
61
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
24
24
|
class DOM
|
25
25
|
EVENTS = {
|
26
26
|
attribute_modified: 'attributeModified',
|
@@ -146,11 +146,12 @@ module Selenium
|
|
146
146
|
ignorePointerEventsNone: ignore_pointer_events_none)
|
147
147
|
end
|
148
148
|
|
149
|
-
def get_outer_html(node_id: nil, backend_node_id: nil, object_id: nil)
|
149
|
+
def get_outer_html(node_id: nil, backend_node_id: nil, object_id: nil, include_shadow_dom: nil)
|
150
150
|
@devtools.send_cmd('DOM.getOuterHTML',
|
151
151
|
nodeId: node_id,
|
152
152
|
backendNodeId: backend_node_id,
|
153
|
-
objectId: object_id
|
153
|
+
objectId: object_id,
|
154
|
+
includeShadowDOM: include_shadow_dom)
|
154
155
|
end
|
155
156
|
|
156
157
|
def get_relayout_boundary(node_id:)
|
@@ -334,13 +335,14 @@ module Selenium
|
|
334
335
|
frameId: frame_id)
|
335
336
|
end
|
336
337
|
|
337
|
-
def get_container_for_node(node_id:, container_name: nil, physical_axes: nil, logical_axes: nil, queries_scroll_state: nil)
|
338
|
+
def get_container_for_node(node_id:, container_name: nil, physical_axes: nil, logical_axes: nil, queries_scroll_state: nil, queries_anchored: nil)
|
338
339
|
@devtools.send_cmd('DOM.getContainerForNode',
|
339
340
|
nodeId: node_id,
|
340
341
|
containerName: container_name,
|
341
342
|
physicalAxes: physical_axes,
|
342
343
|
logicalAxes: logical_axes,
|
343
|
-
queriesScrollState: queries_scroll_state
|
344
|
+
queriesScrollState: queries_scroll_state,
|
345
|
+
queriesAnchored: queries_anchored)
|
344
346
|
end
|
345
347
|
|
346
348
|
def get_querying_descendants_for_container(node_id:)
|
@@ -354,7 +356,13 @@ module Selenium
|
|
354
356
|
anchorSpecifier: anchor_specifier)
|
355
357
|
end
|
356
358
|
|
359
|
+
def force_show_popover(node_id:, enable:)
|
360
|
+
@devtools.send_cmd('DOM.forceShowPopover',
|
361
|
+
nodeId: node_id,
|
362
|
+
enable: enable)
|
363
|
+
end
|
364
|
+
|
357
365
|
end # DOM
|
358
|
-
end #
|
366
|
+
end # V141
|
359
367
|
end # DevTools
|
360
368
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
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 V141
|
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 # V141
|
54
54
|
end # DevTools
|
55
55
|
end # Selenium
|