selenium-devtools 0.141.0 → 0.143.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/{v140 → v142}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/animation.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/audits.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/autofill.rb +5 -4
- data/lib/selenium/devtools/{v140 → v142}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/browser.rb +11 -3
- data/lib/selenium/devtools/{v140 → v142}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/cast.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/console.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/css.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/dom.rb +3 -2
- data/lib/selenium/devtools/{v139 → v142}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/emulation.rb +25 -2
- data/lib/selenium/devtools/{v139 → v142}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v140 → 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/{v140 → v142}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/log.rb +2 -2
- data/lib/selenium/devtools/{v140 → 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/{v140 → v142}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v140 → v142}/page.rb +2 -2
- data/lib/selenium/devtools/{v139 → v142}/performance.rb +2 -2
- data/lib/selenium/devtools/{v140 → 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/{v140 → v142}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v140 → 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/{v140 → v142}/service_worker.rb +2 -2
- 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/{v140 → v142}/target.rb +2 -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/{v140 → v142}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v139.rb → v142.rb} +13 -13
- data/lib/selenium/devtools/{v139 → v143}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/animation.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/audits.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/autofill.rb +5 -4
- data/lib/selenium/devtools/{v139 → v143}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/browser.rb +4 -3
- data/lib/selenium/devtools/{v139 → v143}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/cast.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/console.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/css.rb +6 -2
- data/lib/selenium/devtools/{v139 → v143}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/dom.rb +15 -6
- data/lib/selenium/devtools/{v140 → v143}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/emulation.rb +30 -2
- data/lib/selenium/devtools/{v140 → v143}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/heap_profiler.rb +4 -3
- data/lib/selenium/devtools/{v140 → v143}/indexed_db.rb +3 -3
- data/lib/selenium/devtools/{v140 → v143}/input.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/inspector.rb +3 -2
- data/lib/selenium/devtools/{v140 → v143}/io.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/log.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/media.rb +3 -3
- data/lib/selenium/devtools/{v140 → v143}/memory.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/network.rb +31 -9
- data/lib/selenium/devtools/{v139 → v143}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/page.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/performance.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/preload.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/schema.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/security.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/service_worker.rb +2 -7
- data/lib/selenium/devtools/{v140 → v143}/storage.rb +7 -2
- data/lib/selenium/devtools/{v140 → v143}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/target.rb +7 -2
- data/lib/selenium/devtools/{v140 → v143}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v140 → v143}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v139 → v143}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v140.rb → v143.rb} +13 -13
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +110 -110
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87dd003239a2e2b1fde782de90518de522d1e527519f0a467d0e03b8a2aa8bda
|
|
4
|
+
data.tar.gz: 85894fc72de973c561579fba6335e8d77a959ac3504eec9d4fc8f7cf152bd57c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59a5efc010b6cbad25b1f08c566613482a074d66285b2db668eb62ebe299994bbac705f5d888457a16154c1b4bdcbc92f94caa7ed6091c3efd4cd9ec9c91a80d
|
|
7
|
+
data.tar.gz: c4c93aaf066295f2ce5cba0cca92eb54f4a40209c56e8b7165f615583984df7c467881cd5be6d6ed983347503a4f7fe6509b7d4cd818c904e7c40ee3be1375de
|
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',
|
|
@@ -248,6 +248,6 @@ module Selenium
|
|
|
248
248
|
end
|
|
249
249
|
|
|
250
250
|
end # CSS
|
|
251
|
-
end #
|
|
251
|
+
end # V142
|
|
252
252
|
end # DevTools
|
|
253
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',
|
|
@@ -363,6 +364,6 @@ module Selenium
|
|
|
363
364
|
end
|
|
364
365
|
|
|
365
366
|
end # DOM
|
|
366
|
-
end #
|
|
367
|
+
end # V142
|
|
367
368
|
end # DevTools
|
|
368
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',
|
|
@@ -281,7 +281,30 @@ module Selenium
|
|
|
281
281
|
difference: difference)
|
|
282
282
|
end
|
|
283
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
|
+
|
|
284
307
|
end # Emulation
|
|
285
|
-
end #
|
|
308
|
+
end # V142
|
|
286
309
|
end # DevTools
|
|
287
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
|