Exception: Puppeteer::Page::PageError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/puppeteer/page.rb

Overview

/**

* @param {?Array<!Protocol.Performance.Metric>} metrics
* @return {!Metrics}
*/

_buildMetricsObject(metrics)

const result = {;
for (const metric of metrics || []) {
  if (supportedMetrics.has(metric.name))
    result[metric.name] = metric.value;
}
return result;

}