Exception: Puppeteer::Page::PageError
- Inherits:
-
StandardError
- Object
- StandardError
- Puppeteer::Page::PageError
- 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;
}