Class Performance
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.performance.Performance
-
public class Performance extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Performance.EnableTimeDomain
static class
Performance.SetTimeDomainTimeDomain
-
Constructor Summary
Constructors Constructor Description Performance()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.openqa.selenium.devtools.Command<java.lang.Void>
disable()
Disable collecting and reporting metrics.static org.openqa.selenium.devtools.Command<java.lang.Void>
enable(java.util.Optional<Performance.EnableTimeDomain> timeDomain)
Enable collecting and reporting metrics.static org.openqa.selenium.devtools.Command<java.util.List<Metric>>
getMetrics()
Retrieve current values of run-time metrics.static org.openqa.selenium.devtools.Event<Metrics>
metrics()
static org.openqa.selenium.devtools.Command<java.lang.Void>
setTimeDomain(Performance.SetTimeDomainTimeDomain timeDomain)
Deprecated.
-
-
-
Method Detail
-
disable
public static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
Disable collecting and reporting metrics.
-
enable
public static org.openqa.selenium.devtools.Command<java.lang.Void> enable(java.util.Optional<Performance.EnableTimeDomain> timeDomain)
Enable collecting and reporting metrics.
-
setTimeDomain
@Beta @Deprecated public static org.openqa.selenium.devtools.Command<java.lang.Void> setTimeDomain(Performance.SetTimeDomainTimeDomain timeDomain)
Deprecated.Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error.
-
getMetrics
public static org.openqa.selenium.devtools.Command<java.util.List<Metric>> getMetrics()
Retrieve current values of run-time metrics.
-
metrics
public static org.openqa.selenium.devtools.Event<Metrics> metrics()
-
-