selenium-devtools 0.108.0 → 0.110.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/NOTICE +1 -1
- data/lib/selenium/devtools/{v107 → v109}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/animation.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/audits.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/browser.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/cast.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/console.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/css.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/database.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/dom.rb +6 -4
- data/lib/selenium/devtools/{v107 → v109}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/headless_experimental.rb +2 -5
- data/lib/selenium/devtools/{v107 → v109}/heap_profiler.rb +6 -4
- data/lib/selenium/devtools/{v107 → v109}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/input.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/io.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/log.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/media.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/memory.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/network.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/page.rb +10 -4
- data/lib/selenium/devtools/{v106 → v109}/performance.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/profiler.rb +2 -14
- data/lib/selenium/devtools/{v107 → v109}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/schema.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/security.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/storage.rb +37 -2
- data/lib/selenium/devtools/{v107 → v109}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v107 → v109}/target.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v106 → v109}/web_authn.rb +10 -2
- data/lib/selenium/devtools/v109.rb +1 -0
- data/lib/selenium/devtools/{v106 → v110}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/animation.rb +2 -2
- data/lib/selenium/devtools/{v106 → 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/{v106 → v110}/cache_storage.rb +5 -4
- data/lib/selenium/devtools/{v107 → v110}/cast.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/console.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/css.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/database.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/dom.rb +6 -4
- data/lib/selenium/devtools/{v106 → v110}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v106 → 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/{v106 → v110}/heap_profiler.rb +6 -4
- data/lib/selenium/devtools/{v106 → v110}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/input.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v107 → v110}/io.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/log.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/media.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/memory.rb +2 -2
- data/lib/selenium/devtools/{v106 → 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/{v106 → v110}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v106 → v110}/profiler.rb +2 -14
- data/lib/selenium/devtools/{v106 → v110}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v106 → 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/{v106 → v110}/storage.rb +47 -2
- data/lib/selenium/devtools/{v106 → v110}/system_info.rb +7 -2
- data/lib/selenium/devtools/{v106 → 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/{v107 → v110}/web_authn.rb +14 -2
- data/lib/selenium/devtools/v110.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +1 -1
- metadata +99 -99
- data/lib/selenium/devtools/v106.rb +0 -1
- data/lib/selenium/devtools/v107.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: b5f025c49651fbea0b768a20aeef5e6ac1f64b16dbe5a2b802b6bf70ed064bb2
|
4
|
+
data.tar.gz: e68522626e2389ec7e28ab72837dc3f0bec19152bceaa018bc6cb554b3f5059e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ebf4bac5cc0cc1669c949a7292ea2ff2ec5222e2e6c9272ccdb1fded316efa448870e11682872c344f1af27259341ecb56e9f9511dc06fdc2fc644256ae0fce
|
7
|
+
data.tar.gz: 4a44b2239b0bd36eabd830a8d53ceaa704eef306cdd14116e875566f461f569f7de6f6906bb03e75537c3cac13a7771bdaebe1f4145a44829ac50578d3bb4536
|
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 2023 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-2023 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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
24
24
|
class CacheStorage
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -64,6 +64,6 @@ module Selenium
|
|
64
64
|
end
|
65
65
|
|
66
66
|
end # CacheStorage
|
67
|
-
end #
|
67
|
+
end # V109
|
68
68
|
end # DevTools
|
69
69
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
24
24
|
class HeapProfiler
|
25
25
|
EVENTS = {
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
@@ -71,9 +71,11 @@ module Selenium
|
|
71
71
|
@devtools.send_cmd('HeapProfiler.getSamplingProfile')
|
72
72
|
end
|
73
73
|
|
74
|
-
def start_sampling(sampling_interval: nil)
|
74
|
+
def start_sampling(sampling_interval: nil, include_objects_collected_by_major_gc: nil, include_objects_collected_by_minor_gc: nil)
|
75
75
|
@devtools.send_cmd('HeapProfiler.startSampling',
|
76
|
-
samplingInterval: sampling_interval
|
76
|
+
samplingInterval: sampling_interval,
|
77
|
+
includeObjectsCollectedByMajorGC: include_objects_collected_by_major_gc,
|
78
|
+
includeObjectsCollectedByMinorGC: include_objects_collected_by_minor_gc)
|
77
79
|
end
|
78
80
|
|
79
81
|
def start_tracking_heap_objects(track_allocations: nil)
|
@@ -102,6 +104,6 @@ module Selenium
|
|
102
104
|
end
|
103
105
|
|
104
106
|
end # HeapProfiler
|
105
|
-
end #
|
107
|
+
end # V109
|
106
108
|
end # DevTools
|
107
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
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 V109
|
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 # V109
|
58
58
|
end # DevTools
|
59
59
|
end # Selenium
|