selenium-devtools 0.91.1 → 0.92.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/selenium/devtools/v92.rb +1 -0
- data/lib/selenium/devtools/{v89 → v92}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/animation.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/audits.rb +7 -2
- data/lib/selenium/devtools/{v88 → v92}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/browser.rb +15 -4
- data/lib/selenium/devtools/{v88 → v92}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/cast.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/console.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/css.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/database.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/dom.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/dom_snapshot.rb +6 -4
- data/lib/selenium/devtools/{v88 → v92}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v88 → v92}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/input.rb +19 -2
- data/lib/selenium/devtools/{v88 → v92}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/io.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/log.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/media.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/memory.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/network.rb +17 -4
- data/lib/selenium/devtools/{v89 → v92}/overlay.rb +12 -2
- data/lib/selenium/devtools/{v89 → v92}/page.rb +16 -4
- data/lib/selenium/devtools/{v89 → v92}/performance.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/schema.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/security.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/storage.rb +11 -2
- data/lib/selenium/devtools/{v89 → v92}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/target.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v89 → v92}/tracing.rb +5 -4
- data/lib/selenium/devtools/{v88 → v92}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v88 → v92}/web_authn.rb +2 -2
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +49 -95
- data/lib/selenium/devtools/v88.rb +0 -1
- data/lib/selenium/devtools/v88/accessibility.rb +0 -67
- data/lib/selenium/devtools/v88/application_cache.rb +0 -60
- data/lib/selenium/devtools/v88/cast.rb +0 -66
- data/lib/selenium/devtools/v88/console.rb +0 -53
- data/lib/selenium/devtools/v88/database.rb +0 -60
- data/lib/selenium/devtools/v88/debugger.rb +0 -227
- data/lib/selenium/devtools/v88/device_orientation.rb +0 -49
- data/lib/selenium/devtools/v88/dom.rb +0 -323
- data/lib/selenium/devtools/v88/dom_debugger.rb +0 -89
- data/lib/selenium/devtools/v88/emulation.rb +0 -192
- data/lib/selenium/devtools/v88/fetch.rb +0 -93
- data/lib/selenium/devtools/v88/headless_experimental.rb +0 -57
- data/lib/selenium/devtools/v88/heap_profiler.rb +0 -103
- data/lib/selenium/devtools/v88/media.rb +0 -53
- data/lib/selenium/devtools/v88/network.rb +0 -241
- data/lib/selenium/devtools/v88/overlay.rb +0 -177
- data/lib/selenium/devtools/v88/page.rb +0 -370
- data/lib/selenium/devtools/v88/performance.rb +0 -59
- data/lib/selenium/devtools/v88/profiler.rb +0 -119
- data/lib/selenium/devtools/v88/runtime.rb +0 -191
- data/lib/selenium/devtools/v88/service_worker.rb +0 -112
- data/lib/selenium/devtools/v88/system_info.rb +0 -46
- data/lib/selenium/devtools/v88/tethering.rb +0 -51
- data/lib/selenium/devtools/v88/tracing.rb +0 -73
- data/lib/selenium/devtools/v89.rb +0 -1
- data/lib/selenium/devtools/v89/animation.rb +0 -94
- data/lib/selenium/devtools/v89/audits.rb +0 -57
- data/lib/selenium/devtools/v89/background_service.rb +0 -63
- data/lib/selenium/devtools/v89/browser.rb +0 -124
- data/lib/selenium/devtools/v89/cache_storage.rb +0 -69
- data/lib/selenium/devtools/v89/css.rb +0 -175
- data/lib/selenium/devtools/v89/dom_snapshot.rb +0 -61
- data/lib/selenium/devtools/v89/dom_storage.rb +0 -75
- data/lib/selenium/devtools/v89/indexed_db.rb +0 -96
- data/lib/selenium/devtools/v89/input.rb +0 -142
- data/lib/selenium/devtools/v89/inspector.rb +0 -51
- data/lib/selenium/devtools/v89/io.rb +0 -55
- data/lib/selenium/devtools/v89/layer_tree.rb +0 -91
- data/lib/selenium/devtools/v89/log.rb +0 -62
- data/lib/selenium/devtools/v89/memory.rb +0 -82
- data/lib/selenium/devtools/v89/schema.rb +0 -42
- data/lib/selenium/devtools/v89/security.rb +0 -67
- data/lib/selenium/devtools/v89/storage.rb +0 -97
- data/lib/selenium/devtools/v89/target.rb +0 -139
- data/lib/selenium/devtools/v89/web_audio.rb +0 -66
- data/lib/selenium/devtools/v89/web_authn.rb +0 -96
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07a1779a4b87d9f03ef6382f5066689f8d0912fc7ba8834205a217540640f049
|
4
|
+
data.tar.gz: e0e27f76be82584a1e1537197a9d6041bae10edeb1417ac3a3e5f6cd83eb6448
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7045dab94694748ff52c0e446c7b573edf40b947a9f3bb02a270408dd6f22373e5af4d0a4fa7663cf02ae66d5e2be4ad4da53a2255bece8a84cd54b68670b18b
|
7
|
+
data.tar.gz: 875c29b0468cc22cc4c5e2fd914297d1787094431da6b6ff15ab69cda3a3253fe9ab0db4f6fbcb72e22fbc668829cd5ecff53b4364856fc731010b54fa3e3605
|
@@ -0,0 +1 @@
|
|
1
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v92/*", &method(:require))
|
@@ -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 V92
|
24
24
|
class Accessibility
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -68,6 +68,6 @@ module Selenium
|
|
68
68
|
end
|
69
69
|
|
70
70
|
end # Accessibility
|
71
|
-
end #
|
71
|
+
end # V92
|
72
72
|
end # DevTools
|
73
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 V92
|
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 # V92
|
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 V92
|
24
24
|
class ApplicationCache
|
25
25
|
EVENTS = {
|
26
26
|
application_cache_status_updated: 'applicationCacheStatusUpdated',
|
@@ -55,6 +55,6 @@ module Selenium
|
|
55
55
|
end
|
56
56
|
|
57
57
|
end # ApplicationCache
|
58
|
-
end #
|
58
|
+
end # V92
|
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 V92
|
24
24
|
class Audits
|
25
25
|
EVENTS = {
|
26
26
|
issue_added: 'issueAdded',
|
@@ -51,7 +51,12 @@ module Selenium
|
|
51
51
|
@devtools.send_cmd('Audits.enable')
|
52
52
|
end
|
53
53
|
|
54
|
+
def check_contrast(report_aaa: nil)
|
55
|
+
@devtools.send_cmd('Audits.checkContrast',
|
56
|
+
reportAAA: report_aaa)
|
57
|
+
end
|
58
|
+
|
54
59
|
end # Audits
|
55
|
-
end #
|
60
|
+
end # V92
|
56
61
|
end # DevTools
|
57
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 V92
|
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 # V92
|
62
62
|
end # DevTools
|
63
63
|
end # Selenium
|
@@ -20,8 +20,12 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V92
|
24
24
|
class Browser
|
25
|
+
EVENTS = {
|
26
|
+
download_will_begin: 'downloadWillBegin',
|
27
|
+
download_progress: 'downloadProgress',
|
28
|
+
}.freeze
|
25
29
|
|
26
30
|
def initialize(devtools)
|
27
31
|
@devtools = devtools
|
@@ -52,11 +56,18 @@ module Selenium
|
|
52
56
|
browserContextId: browser_context_id)
|
53
57
|
end
|
54
58
|
|
55
|
-
def set_download_behavior(behavior:, browser_context_id: nil, download_path: nil)
|
59
|
+
def set_download_behavior(behavior:, browser_context_id: nil, download_path: nil, events_enabled: nil)
|
56
60
|
@devtools.send_cmd('Browser.setDownloadBehavior',
|
57
61
|
behavior: behavior,
|
58
62
|
browserContextId: browser_context_id,
|
59
|
-
downloadPath: download_path
|
63
|
+
downloadPath: download_path,
|
64
|
+
eventsEnabled: events_enabled)
|
65
|
+
end
|
66
|
+
|
67
|
+
def cancel_download(guid:, browser_context_id: nil)
|
68
|
+
@devtools.send_cmd('Browser.cancelDownload',
|
69
|
+
guid: guid,
|
70
|
+
browserContextId: browser_context_id)
|
60
71
|
end
|
61
72
|
|
62
73
|
def close
|
@@ -119,6 +130,6 @@ module Selenium
|
|
119
130
|
end
|
120
131
|
|
121
132
|
end # Browser
|
122
|
-
end #
|
133
|
+
end # V92
|
123
134
|
end # DevTools
|
124
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 V92
|
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 # V92
|
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 V92
|
24
24
|
class Cast
|
25
25
|
EVENTS = {
|
26
26
|
sinks_updated: 'sinksUpdated',
|
@@ -61,6 +61,6 @@ module Selenium
|
|
61
61
|
end
|
62
62
|
|
63
63
|
end # Cast
|
64
|
-
end #
|
64
|
+
end # V92
|
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 V92
|
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 # V92
|
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 V92
|
24
24
|
class CSS
|
25
25
|
EVENTS = {
|
26
26
|
fonts_updated: 'fontsUpdated',
|
@@ -170,6 +170,6 @@ module Selenium
|
|
170
170
|
end
|
171
171
|
|
172
172
|
end # CSS
|
173
|
-
end #
|
173
|
+
end # V92
|
174
174
|
end # DevTools
|
175
175
|
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 V92
|
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 # V92
|
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 V92
|
24
24
|
class Debugger
|
25
25
|
EVENTS = {
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
@@ -215,6 +215,6 @@ module Selenium
|
|
215
215
|
end
|
216
216
|
|
217
217
|
end # Debugger
|
218
|
-
end #
|
218
|
+
end # V92
|
219
219
|
end # DevTools
|
220
220
|
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 V92
|
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 # V92
|
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 V92
|
24
24
|
class DOM
|
25
25
|
EVENTS = {
|
26
26
|
attribute_modified: 'attributeModified',
|
@@ -318,6 +318,6 @@ module Selenium
|
|
318
318
|
end
|
319
319
|
|
320
320
|
end # DOM
|
321
|
-
end #
|
321
|
+
end # V92
|
322
322
|
end # DevTools
|
323
323
|
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 V92
|
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 # V92
|
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 V92
|
24
24
|
class DOMSnapshot
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -48,14 +48,16 @@ module Selenium
|
|
48
48
|
includeUserAgentShadowTree: include_user_agent_shadow_tree)
|
49
49
|
end
|
50
50
|
|
51
|
-
def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil)
|
51
|
+
def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil, include_blended_background_colors: nil, include_text_color_opacities: nil)
|
52
52
|
@devtools.send_cmd('DOMSnapshot.captureSnapshot',
|
53
53
|
computedStyles: computed_styles,
|
54
54
|
includePaintOrder: include_paint_order,
|
55
|
-
includeDOMRects: include_dom_rects
|
55
|
+
includeDOMRects: include_dom_rects,
|
56
|
+
includeBlendedBackgroundColors: include_blended_background_colors,
|
57
|
+
includeTextColorOpacities: include_text_color_opacities)
|
56
58
|
end
|
57
59
|
|
58
60
|
end # DOMSnapshot
|
59
|
-
end #
|
61
|
+
end # V92
|
60
62
|
end # DevTools
|
61
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 V92
|
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 # V92
|
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 V92
|
24
24
|
class Emulation
|
25
25
|
EVENTS = {
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
@@ -187,6 +187,6 @@ module Selenium
|
|
187
187
|
end
|
188
188
|
|
189
189
|
end # Emulation
|
190
|
-
end #
|
190
|
+
end # V92
|
191
191
|
end # DevTools
|
192
192
|
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 V92
|
24
24
|
class Fetch
|
25
25
|
EVENTS = {
|
26
26
|
request_paused: 'requestPaused',
|
@@ -88,6 +88,6 @@ module Selenium
|
|
88
88
|
end
|
89
89
|
|
90
90
|
end # Fetch
|
91
|
-
end #
|
91
|
+
end # V92
|
92
92
|
end # DevTools
|
93
93
|
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 V92
|
24
24
|
class HeadlessExperimental
|
25
25
|
EVENTS = {
|
26
26
|
needs_begin_frames_changed: 'needsBeginFramesChanged',
|
@@ -52,6 +52,6 @@ module Selenium
|
|
52
52
|
end
|
53
53
|
|
54
54
|
end # HeadlessExperimental
|
55
|
-
end #
|
55
|
+
end # V92
|
56
56
|
end # DevTools
|
57
57
|
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 V92
|
24
24
|
class HeapProfiler
|
25
25
|
EVENTS = {
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
@@ -85,19 +85,21 @@ module Selenium
|
|
85
85
|
@devtools.send_cmd('HeapProfiler.stopSampling')
|
86
86
|
end
|
87
87
|
|
88
|
-
def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil)
|
88
|
+
def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
|
89
89
|
@devtools.send_cmd('HeapProfiler.stopTrackingHeapObjects',
|
90
90
|
reportProgress: report_progress,
|
91
|
-
treatGlobalObjectsAsRoots: treat_global_objects_as_roots
|
91
|
+
treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
|
92
|
+
captureNumericValue: capture_numeric_value)
|
92
93
|
end
|
93
94
|
|
94
|
-
def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil)
|
95
|
+
def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
|
95
96
|
@devtools.send_cmd('HeapProfiler.takeHeapSnapshot',
|
96
97
|
reportProgress: report_progress,
|
97
|
-
treatGlobalObjectsAsRoots: treat_global_objects_as_roots
|
98
|
+
treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
|
99
|
+
captureNumericValue: capture_numeric_value)
|
98
100
|
end
|
99
101
|
|
100
102
|
end # HeapProfiler
|
101
|
-
end #
|
103
|
+
end # V92
|
102
104
|
end # DevTools
|
103
105
|
end # Selenium
|