Class PreciseCoverageDeltaUpdate
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.profiler.model.PreciseCoverageDeltaUpdate
-
@Beta public class PreciseCoverageDeltaUpdate extends java.lang.Object
Reports coverage delta since the last poll (either from an event like this, or from `takePreciseCoverage` for the current isolate. May only be sent if precise code coverage has been started. This event can be trigged by the embedder to, for example, trigger collection of coverage data immediately at a certain point in time.
-
-
Constructor Summary
Constructors Constructor Description PreciseCoverageDeltaUpdate(java.lang.Number timestamp, java.lang.String occasion, java.util.List<ScriptCoverage> result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOccasion()
Identifier for distinguishing coverage events.java.util.List<ScriptCoverage>
getResult()
Coverage data for the current isolate.java.lang.Number
getTimestamp()
Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
-
-
-
Constructor Detail
-
PreciseCoverageDeltaUpdate
public PreciseCoverageDeltaUpdate(java.lang.Number timestamp, java.lang.String occasion, java.util.List<ScriptCoverage> result)
-
-
Method Detail
-
getTimestamp
public java.lang.Number getTimestamp()
Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
-
getOccasion
public java.lang.String getOccasion()
Identifier for distinguishing coverage events.
-
getResult
public java.util.List<ScriptCoverage> getResult()
Coverage data for the current isolate.
-
-