Class HeapProfiler

java.lang.Object
org.openqa.selenium.devtools.v85.heapprofiler.HeapProfiler

@Beta public class HeapProfiler extends Object
  • 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

      public static org.openqa.selenium.devtools.Command<Void> collectGarbage()
    • disable

      public static org.openqa.selenium.devtools.Command<Void> disable()
    • enable

      public static org.openqa.selenium.devtools.Command<Void> 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

      public static org.openqa.selenium.devtools.Command<SamplingHeapProfile> getSamplingProfile()
    • startSampling

      public static org.openqa.selenium.devtools.Command<Void> startSampling(Optional<Number> samplingInterval)
    • startTrackingHeapObjects

      public static org.openqa.selenium.devtools.Command<Void> startTrackingHeapObjects(Optional<Boolean> trackAllocations)
    • stopSampling

      public static org.openqa.selenium.devtools.Command<SamplingHeapProfile> stopSampling()
    • stopTrackingHeapObjects

      public static org.openqa.selenium.devtools.Command<Void> stopTrackingHeapObjects(Optional<Boolean> reportProgress, Optional<Boolean> treatGlobalObjectsAsRoots)
    • takeHeapSnapshot

      public static org.openqa.selenium.devtools.Command<Void> takeHeapSnapshot(Optional<Boolean> reportProgress, Optional<Boolean> treatGlobalObjectsAsRoots)
    • addHeapSnapshotChunk

      public static org.openqa.selenium.devtools.Event<String> addHeapSnapshotChunk()
    • heapStatsUpdate

      public static org.openqa.selenium.devtools.Event<List<Integer>> heapStatsUpdate()
    • lastSeenObjectId

      public static org.openqa.selenium.devtools.Event<LastSeenObjectId> lastSeenObjectId()
    • reportHeapSnapshotProgress

      public static org.openqa.selenium.devtools.Event<ReportHeapSnapshotProgress> reportHeapSnapshotProgress()
    • resetProfiles

      public static org.openqa.selenium.devtools.Event<Void> resetProfiles()