selenium-devtools 0.120.0 → 0.122.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/LICENSE +1 -1
- data/NOTICE +1 -1
- data/lib/selenium/devtools/{v119 → v121}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/animation.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/audits.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/browser.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/cast.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/console.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/css.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/database.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/dom.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/emulation.rb +23 -4
- data/lib/selenium/devtools/{v118 → v121}/event_breakpoints.rb +6 -2
- data/lib/selenium/devtools/{v118 → v121}/fed_cm.rb +7 -5
- data/lib/selenium/devtools/{v118 → v121}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/input.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/io.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/log.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/media.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/memory.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/network.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v118 → v121}/page.rb +5 -8
- data/lib/selenium/devtools/{v118 → v121}/performance.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/preload.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/schema.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/security.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/storage.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/target.rb +2 -2
- data/lib/selenium/devtools/{v119 → v121}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v118 → v121}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v118.rb → v121.rb} +3 -3
- data/lib/selenium/devtools/{v118 → v122}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/animation.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/audits.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/browser.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/cast.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/console.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/css.rb +15 -6
- data/lib/selenium/devtools/{v119 → v122}/database.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/dom.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/emulation.rb +23 -4
- data/lib/selenium/devtools/{v119 → v122}/event_breakpoints.rb +6 -2
- data/lib/selenium/devtools/{v119 → v122}/fed_cm.rb +14 -5
- data/lib/selenium/devtools/{v119 → v122}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/input.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/io.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/log.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/media.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/memory.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/network.rb +7 -2
- data/lib/selenium/devtools/{v119 → v122}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v119 → v122}/page.rb +5 -8
- data/lib/selenium/devtools/{v119 → v122}/performance.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/preload.rb +2 -3
- data/lib/selenium/devtools/{v119 → v122}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/runtime.rb +4 -6
- data/lib/selenium/devtools/{v119 → v122}/schema.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/security.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/storage.rb +9 -2
- data/lib/selenium/devtools/{v119 → v122}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/target.rb +2 -2
- data/lib/selenium/devtools/{v118 → v122}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v119 → v122}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v119.rb → v122.rb} +3 -3
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +0 -2
- metadata +107 -107
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 150655b4e1f2c4c36f1adfdc6f44a3b8855061ea8ddb5f577de170536082b16a
|
|
4
|
+
data.tar.gz: 45a3b8c9d63c064d28f47331b867efb04577da73947ea33151d641ceb0efdbb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 578b51ee378e764708134a6e33a75b18b9d6657dbfbdcf80b63fc053fcf96966b03077809968f717e86027d0613bceec1f1aa9f442919b41be21df193438f89a
|
|
7
|
+
data.tar.gz: d97bf35624653a7332c0caff9f4a50413e7db74d4dccc8b38da5500bae0befc18095fff94bc086adfd2ad70c85207bd7e0fd124ba0718dd615688a1786e03f31
|
data/LICENSE
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
same "printed page" as the copyright notice for easier
|
|
188
188
|
identification within third-party archives.
|
|
189
189
|
|
|
190
|
-
Copyright
|
|
190
|
+
Copyright 2024 Software Freedom Conservancy (SFC)
|
|
191
191
|
|
|
192
192
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
193
|
you may not use this file except in compliance with the License.
|
data/NOTICE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Copyright 2011-
|
|
1
|
+
Copyright 2011-2024 Software Freedom Conservancy
|
|
2
2
|
Copyright 2004-2011 Selenium committers
|
|
@@ -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 V121
|
|
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 # V121
|
|
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 V121
|
|
24
24
|
class Animation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
animation_canceled: 'animationCanceled',
|
|
@@ -89,6 +89,6 @@ module Selenium
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
end # Animation
|
|
92
|
-
end #
|
|
92
|
+
end # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
24
24
|
class Browser
|
|
25
25
|
EVENTS = {
|
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -135,6 +135,6 @@ module Selenium
|
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
end # Browser
|
|
138
|
-
end #
|
|
138
|
+
end # V121
|
|
139
139
|
end # DevTools
|
|
140
140
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -203,6 +203,6 @@ module Selenium
|
|
|
203
203
|
end
|
|
204
204
|
|
|
205
205
|
end # CSS
|
|
206
|
-
end #
|
|
206
|
+
end # V121
|
|
207
207
|
end # DevTools
|
|
208
208
|
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 V121
|
|
24
24
|
class Database
|
|
25
25
|
EVENTS = {
|
|
26
26
|
add_database: 'addDatabase',
|
|
@@ -55,6 +55,6 @@ module Selenium
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
end # Database
|
|
58
|
-
end #
|
|
58
|
+
end # V121
|
|
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 V121
|
|
24
24
|
class Debugger
|
|
25
25
|
EVENTS = {
|
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -227,6 +227,6 @@ module Selenium
|
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
end # Debugger
|
|
230
|
-
end #
|
|
230
|
+
end # V121
|
|
231
231
|
end # DevTools
|
|
232
232
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -337,6 +337,6 @@ module Selenium
|
|
|
337
337
|
end
|
|
338
338
|
|
|
339
339
|
end # DOM
|
|
340
|
-
end #
|
|
340
|
+
end # V121
|
|
341
341
|
end # DevTools
|
|
342
342
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -71,7 +71,7 @@ module Selenium
|
|
|
71
71
|
color: color)
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
def set_device_metrics_override(width:, height:, device_scale_factor:, mobile:, scale: nil, screen_width: nil, screen_height: nil, position_x: nil, position_y: nil, dont_set_visible_size: nil, screen_orientation: nil, viewport: nil, display_feature: nil)
|
|
74
|
+
def set_device_metrics_override(width:, height:, device_scale_factor:, mobile:, scale: nil, screen_width: nil, screen_height: nil, position_x: nil, position_y: nil, dont_set_visible_size: nil, screen_orientation: nil, viewport: nil, display_feature: nil, device_posture: nil)
|
|
75
75
|
@devtools.send_cmd('Emulation.setDeviceMetricsOverride',
|
|
76
76
|
width: width,
|
|
77
77
|
height: height,
|
|
@@ -85,7 +85,8 @@ module Selenium
|
|
|
85
85
|
dontSetVisibleSize: dont_set_visible_size,
|
|
86
86
|
screenOrientation: screen_orientation,
|
|
87
87
|
viewport: viewport,
|
|
88
|
-
displayFeature: display_feature
|
|
88
|
+
displayFeature: display_feature,
|
|
89
|
+
devicePosture: device_posture)
|
|
89
90
|
end
|
|
90
91
|
|
|
91
92
|
def set_scrollbars_hidden(hidden:)
|
|
@@ -122,6 +123,24 @@ module Selenium
|
|
|
122
123
|
accuracy: accuracy)
|
|
123
124
|
end
|
|
124
125
|
|
|
126
|
+
def get_overridden_sensor_information(type:)
|
|
127
|
+
@devtools.send_cmd('Emulation.getOverriddenSensorInformation',
|
|
128
|
+
type: type)
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
def set_sensor_override_enabled(enabled:, type:, metadata: nil)
|
|
132
|
+
@devtools.send_cmd('Emulation.setSensorOverrideEnabled',
|
|
133
|
+
enabled: enabled,
|
|
134
|
+
type: type,
|
|
135
|
+
metadata: metadata)
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
def set_sensor_override_readings(type:, reading:)
|
|
139
|
+
@devtools.send_cmd('Emulation.setSensorOverrideReadings',
|
|
140
|
+
type: type,
|
|
141
|
+
reading: reading)
|
|
142
|
+
end
|
|
143
|
+
|
|
125
144
|
def set_idle_override(is_user_active:, is_screen_unlocked:)
|
|
126
145
|
@devtools.send_cmd('Emulation.setIdleOverride',
|
|
127
146
|
isUserActive: is_user_active,
|
|
@@ -201,6 +220,6 @@ module Selenium
|
|
|
201
220
|
end
|
|
202
221
|
|
|
203
222
|
end # Emulation
|
|
204
|
-
end #
|
|
223
|
+
end # V121
|
|
205
224
|
end # DevTools
|
|
206
225
|
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 V121
|
|
24
24
|
class EventBreakpoints
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -42,7 +42,11 @@ module Selenium
|
|
|
42
42
|
eventName: event_name)
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
def disable
|
|
46
|
+
@devtools.send_cmd('EventBreakpoints.disable')
|
|
47
|
+
end
|
|
48
|
+
|
|
45
49
|
end # EventBreakpoints
|
|
46
|
-
end #
|
|
50
|
+
end # V121
|
|
47
51
|
end # DevTools
|
|
48
52
|
end # Selenium
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V121
|
|
24
24
|
class FedCm
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dialog_shown: 'dialogShown',
|
|
27
|
+
dialog_closed: 'dialogClosed',
|
|
27
28
|
}.freeze
|
|
28
29
|
|
|
29
30
|
def initialize(devtools)
|
|
@@ -50,9 +51,10 @@ module Selenium
|
|
|
50
51
|
accountIndex: account_index)
|
|
51
52
|
end
|
|
52
53
|
|
|
53
|
-
def
|
|
54
|
-
@devtools.send_cmd('FedCm.
|
|
55
|
-
dialogId: dialog_id
|
|
54
|
+
def click_dialog_button(dialog_id:, dialog_button:)
|
|
55
|
+
@devtools.send_cmd('FedCm.clickDialogButton',
|
|
56
|
+
dialogId: dialog_id,
|
|
57
|
+
dialogButton: dialog_button)
|
|
56
58
|
end
|
|
57
59
|
|
|
58
60
|
def dismiss_dialog(dialog_id:, trigger_cooldown: nil)
|
|
@@ -66,6 +68,6 @@ module Selenium
|
|
|
66
68
|
end
|
|
67
69
|
|
|
68
70
|
end # FedCm
|
|
69
|
-
end #
|
|
71
|
+
end # V121
|
|
70
72
|
end # DevTools
|
|
71
73
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
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 V121
|
|
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 # V121
|
|
61
61
|
end # DevTools
|
|
62
62
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V121
|
|
24
24
|
class Media
|
|
25
25
|
EVENTS = {
|
|
26
26
|
player_properties_changed: 'playerPropertiesChanged',
|
|
@@ -48,6 +48,6 @@ module Selenium
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
end # Media
|
|
51
|
-
end #
|
|
51
|
+
end # V121
|
|
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 V121
|
|
24
24
|
class Memory
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -77,6 +77,6 @@ module Selenium
|
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
end # Memory
|
|
80
|
-
end #
|
|
80
|
+
end # V121
|
|
81
81
|
end # DevTools
|
|
82
82
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V121
|
|
24
24
|
class Network
|
|
25
25
|
EVENTS = {
|
|
26
26
|
data_received: 'dataReceived',
|
|
@@ -259,6 +259,6 @@ module Selenium
|
|
|
259
259
|
end
|
|
260
260
|
|
|
261
261
|
end # Network
|
|
262
|
-
end #
|
|
262
|
+
end # V121
|
|
263
263
|
end # DevTools
|
|
264
264
|
end # Selenium
|