Package io.fluentlenium.core.performance
Class PerformanceTimingMetricsFactory
java.lang.Object
io.fluentlenium.core.performance.PerformanceTimingMetricsFactory
Factory for creating
PerformanceTimingMetrics objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates aPerformanceTimingMetricsobject based on the type of the argument timing object.
-
Constructor Details
-
PerformanceTimingMetricsFactory
public PerformanceTimingMetricsFactory()
-
-
Method Details
-
createFor
Creates aPerformanceTimingMetricsobject 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
Objectjust 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
-