Class PerformanceTimingMetricsFactory
- java.lang.Object
-
- org.fluentlenium.core.performance.PerformanceTimingMetricsFactory
-
public class PerformanceTimingMetricsFactory extends Object
Factory for creatingPerformanceTimingMetrics
objects.
-
-
Constructor Summary
Constructors Constructor Description PerformanceTimingMetricsFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PerformanceTimingMetrics
createFor(Object performanceTiming)
Creates aPerformanceTimingMetrics
object based on the type of the argument timing object.
-
-
-
Method Detail
-
createFor
public PerformanceTimingMetrics createFor(Object performanceTiming)
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
-
-