Class TraceConfig
java.lang.Object
org.openqa.selenium.devtools.v126.tracing.model.TraceConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTraceConfig
(Optional<TraceConfig.RecordMode> recordMode, Optional<Number> traceBufferSizeInKb, Optional<Boolean> enableSampling, Optional<Boolean> enableSystrace, Optional<Boolean> enableArgumentFilter, Optional<List<String>> includedCategories, Optional<List<String>> excludedCategories, Optional<List<String>> syntheticDelays, Optional<MemoryDumpConfig> memoryDumpConfig) -
Method Summary
Modifier and TypeMethodDescriptionTurns on argument filter.Turns on JavaScript stack sampling.Turns on system tracing.Excluded category filters.Included category filters.Configuration for memory dump triggers.Controls how the trace buffer stores data.Configuration to synthesize the delays in tracing.Size of the trace buffer in kilobytes.
-
Constructor Details
-
TraceConfig
public TraceConfig(Optional<TraceConfig.RecordMode> recordMode, Optional<Number> traceBufferSizeInKb, Optional<Boolean> enableSampling, Optional<Boolean> enableSystrace, Optional<Boolean> enableArgumentFilter, Optional<List<String>> includedCategories, Optional<List<String>> excludedCategories, Optional<List<String>> syntheticDelays, Optional<MemoryDumpConfig> memoryDumpConfig)
-
-
Method Details
-
getRecordMode
Controls how the trace buffer stores data. -
getTraceBufferSizeInKb
Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value of 200 MB would be used. -
getEnableSampling
Turns on JavaScript stack sampling. -
getEnableSystrace
Turns on system tracing. -
getEnableArgumentFilter
Turns on argument filter. -
getIncludedCategories
Included category filters. -
getExcludedCategories
Excluded category filters. -
getSyntheticDelays
Configuration to synthesize the delays in tracing. -
getMemoryDumpConfig
Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
-