Class PerformanceTimingMetricsFactory

java.lang.Object
io.fluentlenium.core.performance.PerformanceTimingMetricsFactory

public class PerformanceTimingMetricsFactory extends Object
Factory for creating PerformanceTimingMetrics objects.
  • Constructor Details

    • PerformanceTimingMetricsFactory

      public PerformanceTimingMetricsFactory()
  • Method Details

    • createFor

      public PerformanceTimingMetrics createFor (Object performanceTiming)
      Creates a PerformanceTimingMetrics 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