Class HeapProfiler
java.lang.Object
org.openqa.selenium.devtools.v125.heapprofiler.HeapProfiler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Event<String>static org.openqa.selenium.devtools.Command<Void>addInspectedHeapObject(HeapSnapshotObjectId heapObjectId) Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).static org.openqa.selenium.devtools.Command<Void>static org.openqa.selenium.devtools.Command<Void>disable()static org.openqa.selenium.devtools.Command<Void>enable()static org.openqa.selenium.devtools.Command<HeapSnapshotObjectId>getHeapObjectId(RemoteObjectId objectId) static org.openqa.selenium.devtools.Command<RemoteObject>getObjectByHeapObjectId(HeapSnapshotObjectId objectId, Optional<String> objectGroup) static org.openqa.selenium.devtools.Command<SamplingHeapProfile>static org.openqa.selenium.devtools.Event<LastSeenObjectId>static org.openqa.selenium.devtools.Event<ReportHeapSnapshotProgress>static org.openqa.selenium.devtools.Event<Void>static org.openqa.selenium.devtools.Command<Void>startSampling(Optional<Number> samplingInterval, Optional<Boolean> includeObjectsCollectedByMajorGC, Optional<Boolean> includeObjectsCollectedByMinorGC) static org.openqa.selenium.devtools.Command<Void>startTrackingHeapObjects(Optional<Boolean> trackAllocations) static org.openqa.selenium.devtools.Command<SamplingHeapProfile>static org.openqa.selenium.devtools.Command<Void>stopTrackingHeapObjects(Optional<Boolean> reportProgress, Optional<Boolean> treatGlobalObjectsAsRoots, Optional<Boolean> captureNumericValue, Optional<Boolean> exposeInternals) static org.openqa.selenium.devtools.Command<Void>takeHeapSnapshot(Optional<Boolean> reportProgress, Optional<Boolean> treatGlobalObjectsAsRoots, Optional<Boolean> captureNumericValue, Optional<Boolean> exposeInternals)
-
Constructor Details
-
HeapProfiler
public HeapProfiler()
-
-
Method Details
-
addInspectedHeapObject
public static org.openqa.selenium.devtools.Command<Void> addInspectedHeapObject(HeapSnapshotObjectId heapObjectId) Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). -
collectGarbage
-
disable
-
enable
-
getHeapObjectId
public static org.openqa.selenium.devtools.Command<HeapSnapshotObjectId> getHeapObjectId(RemoteObjectId objectId) -
getObjectByHeapObjectId
public static org.openqa.selenium.devtools.Command<RemoteObject> getObjectByHeapObjectId(HeapSnapshotObjectId objectId, Optional<String> objectGroup) -
getSamplingProfile
-
startSampling
-
startTrackingHeapObjects
-
stopSampling
-
stopTrackingHeapObjects
-
takeHeapSnapshot
-
addHeapSnapshotChunk
-
heapStatsUpdate
-
lastSeenObjectId
-
reportHeapSnapshotProgress
public static org.openqa.selenium.devtools.Event<ReportHeapSnapshotProgress> reportHeapSnapshotProgress() -
resetProfiles
-