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

x/sinco/deps.ts>Protocol.Page.FrameResource

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Page.FrameResource
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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.