selenium-devtools 0.109.0 → 0.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/selenium/devtools/{v108 → v110}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/animation.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/audits.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/browser.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/cache_storage.rb +5 -4
- data/lib/selenium/devtools/{v107 → v110}/cast.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/console.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/css.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/database.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/dom.rb +6 -4
- data/lib/selenium/devtools/{v108 → v110}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/headless_experimental.rb +2 -5
- data/lib/selenium/devtools/{v108 → v110}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/input.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/io.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/log.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/media.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/memory.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/network.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/page.rb +10 -4
- data/lib/selenium/devtools/{v107 → v110}/performance.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/schema.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/security.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/storage.rb +47 -2
- data/lib/selenium/devtools/{v107 → v110}/system_info.rb +7 -2
- data/lib/selenium/devtools/{v108 → v110}/target.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v108 → v110}/web_authn.rb +14 -2
- data/lib/selenium/devtools/v110.rb +1 -0
- data/lib/selenium/devtools/{v107 → v111}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/animation.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/audits.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/browser.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/cache_storage.rb +5 -4
- data/lib/selenium/devtools/{v108 → v111}/cast.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/console.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/css.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/database.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/dom.rb +6 -4
- data/lib/selenium/devtools/{v107 → v111}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/headless_experimental.rb +2 -5
- data/lib/selenium/devtools/{v107 → v111}/heap_profiler.rb +6 -4
- data/lib/selenium/devtools/{v107 → v111}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/input.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/io.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/log.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/media.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/memory.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/network.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/page.rb +10 -4
- data/lib/selenium/devtools/{v108 → v111}/performance.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/profiler.rb +2 -14
- data/lib/selenium/devtools/{v107 → v111}/runtime.rb +4 -3
- data/lib/selenium/devtools/{v107 → v111}/schema.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/security.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/storage.rb +52 -2
- data/lib/selenium/devtools/{v108 → v111}/system_info.rb +7 -2
- data/lib/selenium/devtools/{v107 → v111}/target.rb +5 -4
- data/lib/selenium/devtools/{v108 → v111}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v108 → v111}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v107 → v111}/web_authn.rb +14 -2
- data/lib/selenium/devtools/v111.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +99 -99
- data/lib/selenium/devtools/v107.rb +0 -1
- data/lib/selenium/devtools/v108.rb +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '08dc4875a278620870c8db0f38c19153d094c770c22a466697df095cdbec67e5'
|
|
4
|
+
data.tar.gz: 1d282f189c997dd1277b97a54f689bd96db38d0f9ead3f675509f9965118b2ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bfa28933c8ab7c93316bb8bbca76c9a8db8f7f91ddffc2da5f615c56c331deb454bd95f7193713fac094cf3eb357f809ca96c67922de47da184cb50272867bc
|
|
7
|
+
data.tar.gz: cd8ca6c4a3ee0fe90cc76ddbd81a36bd0198ef050e6f0c09d44416816cf555e101d7801506232c63f9516a9faa635ba953084f06ebd9545f07ec6baf2a96ae12
|
|
@@ -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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
24
24
|
class Audits
|
|
25
25
|
EVENTS = {
|
|
26
26
|
issue_added: 'issueAdded',
|
|
@@ -57,6 +57,6 @@ module Selenium
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
end # Audits
|
|
60
|
-
end #
|
|
60
|
+
end # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
24
24
|
class Browser
|
|
25
25
|
EVENTS = {
|
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -130,6 +130,6 @@ module Selenium
|
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
end # Browser
|
|
133
|
-
end #
|
|
133
|
+
end # V110
|
|
134
134
|
end # DevTools
|
|
135
135
|
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 V110
|
|
24
24
|
class CacheStorage
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -43,9 +43,10 @@ module Selenium
|
|
|
43
43
|
request: request)
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
def request_cache_names(security_origin:)
|
|
46
|
+
def request_cache_names(security_origin: nil, storage_key: nil)
|
|
47
47
|
@devtools.send_cmd('CacheStorage.requestCacheNames',
|
|
48
|
-
securityOrigin: security_origin
|
|
48
|
+
securityOrigin: security_origin,
|
|
49
|
+
storageKey: storage_key)
|
|
49
50
|
end
|
|
50
51
|
|
|
51
52
|
def request_cached_response(cache_id:, request_url:, request_headers:)
|
|
@@ -64,6 +65,6 @@ module Selenium
|
|
|
64
65
|
end
|
|
65
66
|
|
|
66
67
|
end # CacheStorage
|
|
67
|
-
end #
|
|
68
|
+
end # V110
|
|
68
69
|
end # DevTools
|
|
69
70
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -196,6 +196,6 @@ module Selenium
|
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
end # CSS
|
|
199
|
-
end #
|
|
199
|
+
end # V110
|
|
200
200
|
end # DevTools
|
|
201
201
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -323,10 +323,12 @@ module Selenium
|
|
|
323
323
|
frameId: frame_id)
|
|
324
324
|
end
|
|
325
325
|
|
|
326
|
-
def get_container_for_node(node_id:, container_name: nil)
|
|
326
|
+
def get_container_for_node(node_id:, container_name: nil, physical_axes: nil, logical_axes: nil)
|
|
327
327
|
@devtools.send_cmd('DOM.getContainerForNode',
|
|
328
328
|
nodeId: node_id,
|
|
329
|
-
containerName: container_name
|
|
329
|
+
containerName: container_name,
|
|
330
|
+
physicalAxes: physical_axes,
|
|
331
|
+
logicalAxes: logical_axes)
|
|
330
332
|
end
|
|
331
333
|
|
|
332
334
|
def get_querying_descendants_for_container(node_id:)
|
|
@@ -335,6 +337,6 @@ module Selenium
|
|
|
335
337
|
end
|
|
336
338
|
|
|
337
339
|
end # DOM
|
|
338
|
-
end #
|
|
340
|
+
end # V110
|
|
339
341
|
end # DevTools
|
|
340
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -201,6 +201,6 @@ module Selenium
|
|
|
201
201
|
end
|
|
202
202
|
|
|
203
203
|
end # Emulation
|
|
204
|
-
end #
|
|
204
|
+
end # V110
|
|
205
205
|
end # DevTools
|
|
206
206
|
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 V110
|
|
24
24
|
class EventBreakpoints
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -43,6 +43,6 @@ module Selenium
|
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
end # EventBreakpoints
|
|
46
|
-
end #
|
|
46
|
+
end # V110
|
|
47
47
|
end # DevTools
|
|
48
48
|
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 V110
|
|
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 # V110
|
|
102
102
|
end # DevTools
|
|
103
103
|
end # Selenium
|
|
@@ -20,11 +20,8 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V110
|
|
24
24
|
class HeadlessExperimental
|
|
25
|
-
EVENTS = {
|
|
26
|
-
needs_begin_frames_changed: 'needsBeginFramesChanged',
|
|
27
|
-
}.freeze
|
|
28
25
|
|
|
29
26
|
def initialize(devtools)
|
|
30
27
|
@devtools = devtools
|
|
@@ -52,6 +49,6 @@ module Selenium
|
|
|
52
49
|
end
|
|
53
50
|
|
|
54
51
|
end # HeadlessExperimental
|
|
55
|
-
end #
|
|
52
|
+
end # V110
|
|
56
53
|
end # DevTools
|
|
57
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 V110
|
|
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 # V110
|
|
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 V110
|
|
24
24
|
class IndexedDB
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -98,6 +98,6 @@ module Selenium
|
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
end # IndexedDB
|
|
101
|
-
end #
|
|
101
|
+
end # V110
|
|
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 V110
|
|
24
24
|
class Input
|
|
25
25
|
EVENTS = {
|
|
26
26
|
drag_intercepted: 'dragIntercepted',
|
|
@@ -163,6 +163,6 @@ module Selenium
|
|
|
163
163
|
end
|
|
164
164
|
|
|
165
165
|
end # Input
|
|
166
|
-
end #
|
|
166
|
+
end # V110
|
|
167
167
|
end # DevTools
|
|
168
168
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
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 V110
|
|
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 # V110
|
|
263
263
|
end # DevTools
|
|
264
264
|
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 V110
|
|
24
24
|
class Overlay
|
|
25
25
|
EVENTS = {
|
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
|
@@ -197,6 +197,6 @@ module Selenium
|
|
|
197
197
|
end
|
|
198
198
|
|
|
199
199
|
end # Overlay
|
|
200
|
-
end #
|
|
200
|
+
end # V110
|
|
201
201
|
end # DevTools
|
|
202
202
|
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 V110
|
|
24
24
|
class Page
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -77,13 +77,14 @@ module Selenium
|
|
|
77
77
|
@devtools.send_cmd('Page.bringToFront')
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
def capture_screenshot(format: nil, quality: nil, clip: nil, from_surface: nil, capture_beyond_viewport: nil)
|
|
80
|
+
def capture_screenshot(format: nil, quality: nil, clip: nil, from_surface: nil, capture_beyond_viewport: nil, optimize_for_speed: nil)
|
|
81
81
|
@devtools.send_cmd('Page.captureScreenshot',
|
|
82
82
|
format: format,
|
|
83
83
|
quality: quality,
|
|
84
84
|
clip: clip,
|
|
85
85
|
fromSurface: from_surface,
|
|
86
|
-
captureBeyondViewport: capture_beyond_viewport
|
|
86
|
+
captureBeyondViewport: capture_beyond_viewport,
|
|
87
|
+
optimizeForSpeed: optimize_for_speed)
|
|
87
88
|
end
|
|
88
89
|
|
|
89
90
|
def capture_snapshot(format: nil)
|
|
@@ -140,6 +141,11 @@ module Selenium
|
|
|
140
141
|
@devtools.send_cmd('Page.getAppId')
|
|
141
142
|
end
|
|
142
143
|
|
|
144
|
+
def get_ad_script_id(frame_id:)
|
|
145
|
+
@devtools.send_cmd('Page.getAdScriptId',
|
|
146
|
+
frameId: frame_id)
|
|
147
|
+
end
|
|
148
|
+
|
|
143
149
|
def get_cookies
|
|
144
150
|
@devtools.send_cmd('Page.getCookies')
|
|
145
151
|
end
|
|
@@ -389,6 +395,6 @@ module Selenium
|
|
|
389
395
|
end
|
|
390
396
|
|
|
391
397
|
end # Page
|
|
392
|
-
end #
|
|
398
|
+
end # V110
|
|
393
399
|
end # DevTools
|
|
394
400
|
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 V110
|
|
24
24
|
class Performance
|
|
25
25
|
EVENTS = {
|
|
26
26
|
metrics: 'metrics',
|
|
@@ -54,6 +54,6 @@ module Selenium
|
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
end # Performance
|
|
57
|
-
end #
|
|
57
|
+
end # V110
|
|
58
58
|
end # DevTools
|
|
59
59
|
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 V110
|
|
24
24
|
class PerformanceTimeline
|
|
25
25
|
EVENTS = {
|
|
26
26
|
timeline_event_added: 'timelineEventAdded',
|
|
@@ -41,6 +41,6 @@ module Selenium
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
end # PerformanceTimeline
|
|
44
|
-
end #
|
|
44
|
+
end # V110
|
|
45
45
|
end # DevTools
|
|
46
46
|
end # Selenium
|