Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.Page.FrameResource

Headless Chrome Deno API
Latest
interface Protocol.Page.FrameResource
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { FrameResource } = Protocol.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.