Package io.fluentlenium.core.performance
Class PerformanceTimingMetricsFactory
java.lang.Object
io.fluentlenium.core.performance.PerformanceTimingMetricsFactory
Factory for creating
PerformanceTimingMetrics
objects.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates aPerformanceTimingMetrics
object based on the type of the argument timing object.
-
Constructor Details
-
PerformanceTimingMetricsFactory
public PerformanceTimingMetricsFactory()
-
-
Method Details
-
createFor
Creates aPerformanceTimingMetrics
object based on the type of the argument timing object.Throws an exception if there is no adapter for the type of the argument object.
If you would like to get the performance timing object from the browser returned as an
Object
just execute the appropriate Javascript code "manually" from your code.- Parameters:
performanceTiming
- the source performance timing object retrieved from the browser- Returns:
- a new performance timing metrics object
-