java.lang.Object
org.openqa.selenium.devtools.v85.profiler.Profiler

public class Profiler extends Object
  • Constructor Details

    • Profiler

      public Profiler()
  • Method Details

    • disable

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

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

      public static org.openqa.selenium.devtools.Command<List<ScriptCoverage>> getBestEffortCoverage()
      Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
    • setSamplingInterval

      public static org.openqa.selenium.devtools.Command<Void> setSamplingInterval(Integer interval)
      Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
    • start

      public static org.openqa.selenium.devtools.Command<Void> start()
    • startPreciseCoverage

      public static org.openqa.selenium.devtools.Command<Number> startPreciseCoverage(Optional<Boolean> callCount, Optional<Boolean> detailed, Optional<Boolean> allowTriggeredUpdates)
      Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.
    • startTypeProfile

      @Beta public static org.openqa.selenium.devtools.Command<Void> startTypeProfile()
      Enable type profile.
    • stop

      public static org.openqa.selenium.devtools.Command<Profile> stop()
    • stopPreciseCoverage

      public static org.openqa.selenium.devtools.Command<Void> stopPreciseCoverage()
      Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
    • stopTypeProfile

      @Beta public static org.openqa.selenium.devtools.Command<Void> stopTypeProfile()
      Disable type profile. Disabling releases type profile data collected so far.
    • takePreciseCoverage

      public static org.openqa.selenium.devtools.Command<Profiler.TakePreciseCoverageResponse> takePreciseCoverage()
      Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.
    • takeTypeProfile

      @Beta public static org.openqa.selenium.devtools.Command<List<ScriptTypeProfile>> takeTypeProfile()
      Collect type profile.
    • enableRuntimeCallStats

      @Beta public static org.openqa.selenium.devtools.Command<Void> enableRuntimeCallStats()
      Enable run time call stats collection.
    • disableRuntimeCallStats

      @Beta public static org.openqa.selenium.devtools.Command<Void> disableRuntimeCallStats()
      Disable run time call stats collection.
    • getRuntimeCallStats

      @Beta public static org.openqa.selenium.devtools.Command<List<CounterInfo>> getRuntimeCallStats()
      Retrieve run time call stats.
    • consoleProfileFinished

      public static org.openqa.selenium.devtools.Event<ConsoleProfileFinished> consoleProfileFinished()
    • consoleProfileStarted

      public static org.openqa.selenium.devtools.Event<ConsoleProfileStarted> consoleProfileStarted()
    • preciseCoverageDeltaUpdate

      public static org.openqa.selenium.devtools.Event<PreciseCoverageDeltaUpdate> preciseCoverageDeltaUpdate()