.getPerformanceMetrics() Suggest edits
Since: 2.2.0Get the performance metrics from the browser.
getPerformanceMetrics()
is only available when using Chrome or Edge drivers.
Usage
Parameters
Name | Type | description |
---|---|---|
callback |
function | Callback function which is called with the performance metrics as argument. |
Returns
Type | description |
---|---|
object | Performance metrics |