Class Tracing


  • @Beta
    public class Tracing
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Tracing()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Event<BufferUsage> bufferUsage()  
      static org.openqa.selenium.devtools.Event<java.util.List<java.util.Map<java.lang.String,​java.lang.Object>>> dataCollected()  
      static org.openqa.selenium.devtools.Command<java.lang.Void> end()
      Stop trace events collection.
      static org.openqa.selenium.devtools.Command<java.util.List<java.lang.String>> getCategories()
      Gets supported tracing categories.
      static org.openqa.selenium.devtools.Command<java.lang.Void> recordClockSyncMarker​(java.lang.String syncId)
      Record a clock sync marker in the trace.
      static org.openqa.selenium.devtools.Command<Tracing.RequestMemoryDumpResponse> requestMemoryDump​(java.util.Optional<java.lang.Boolean> deterministic)
      Request a global memory dump.
      static org.openqa.selenium.devtools.Command<java.lang.Void> start​(java.util.Optional<java.lang.String> categories, java.util.Optional<java.lang.String> options, java.util.Optional<java.lang.Number> bufferUsageReportingInterval, java.util.Optional<Tracing.StartTransferMode> transferMode, java.util.Optional<StreamFormat> streamFormat, java.util.Optional<StreamCompression> streamCompression, java.util.Optional<TraceConfig> traceConfig)
      Start trace events collection.
      static org.openqa.selenium.devtools.Event<TracingComplete> tracingComplete()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Tracing

        public Tracing()
    • Method Detail

      • end

        public static org.openqa.selenium.devtools.Command<java.lang.Void> end()
        Stop trace events collection.
      • getCategories

        public static org.openqa.selenium.devtools.Command<java.util.List<java.lang.String>> getCategories()
        Gets supported tracing categories.
      • recordClockSyncMarker

        public static org.openqa.selenium.devtools.Command<java.lang.Void> recordClockSyncMarker​(java.lang.String syncId)
        Record a clock sync marker in the trace.
      • requestMemoryDump

        public static org.openqa.selenium.devtools.Command<Tracing.RequestMemoryDumpResponse> requestMemoryDump​(java.util.Optional<java.lang.Boolean> deterministic)
        Request a global memory dump.
      • start

        public static org.openqa.selenium.devtools.Command<java.lang.Void> start​(java.util.Optional<java.lang.String> categories,
                                                                                 java.util.Optional<java.lang.String> options,
                                                                                 java.util.Optional<java.lang.Number> bufferUsageReportingInterval,
                                                                                 java.util.Optional<Tracing.StartTransferMode> transferMode,
                                                                                 java.util.Optional<StreamFormat> streamFormat,
                                                                                 java.util.Optional<StreamCompression> streamCompression,
                                                                                 java.util.Optional<TraceConfig> traceConfig)
        Start trace events collection.
      • bufferUsage

        public static org.openqa.selenium.devtools.Event<BufferUsage> bufferUsage()
      • dataCollected

        public static org.openqa.selenium.devtools.Event<java.util.List<java.util.Map<java.lang.String,​java.lang.Object>>> dataCollected()
      • tracingComplete

        public static org.openqa.selenium.devtools.Event<TracingComplete> tracingComplete()