Class Performance
java.lang.Object
org.openqa.selenium.devtools.v85.performance.Performance
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void>
disable()
Disable collecting and reporting metrics.static org.openqa.selenium.devtools.Command<Void>
enable
(Optional<Performance.EnableTimeDomain> timeDomain) Enable collecting and reporting metrics.Retrieve current values of run-time metrics.static org.openqa.selenium.devtools.Event<Metrics>
metrics()
static org.openqa.selenium.devtools.Command<Void>
setTimeDomain
(Performance.SetTimeDomainTimeDomain timeDomain) Deprecated.
-
Constructor Details
-
Performance
public Performance()
-
-
Method Details
-
disable
Disable collecting and reporting metrics. -
enable
public static org.openqa.selenium.devtools.Command<Void> enable(Optional<Performance.EnableTimeDomain> timeDomain) Enable collecting and reporting metrics. -
setTimeDomain
@Beta @Deprecated public static org.openqa.selenium.devtools.Command<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
Retrieve current values of run-time metrics. -
metrics
-