Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Page.FrameResource
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { FrameResource } = default.Page;

Information about the Resource on the page.

Properties

url: string

Resource URL.

Type of this resource.

mimeType: string

Resource mimeType as determined by the browser.

optional
lastModified: Network.TimeSinceEpoch

last-modified timestamp as reported by server.

optional
contentSize: number

Resource content size.

optional
failed: boolean

True if the resource failed to load.

optional
canceled: boolean

True if the resource was canceled during loading.