devtools.inspectedWindow.getResources()

Retrieves the list of resources from the inspected page.

Syntax

js
let gettingResources = browser.devtools.inspectedWindow.getResources()

Parameters

This function takes no parameters.

Return value

A Promise fulfilled with an array of devtools.inspectedWindow.Resource. If the request fails, the promise is rejected with an error message.

Browser compatibility