puppeteer/new-docs/puppeteer.protocol.page.frameresource.md

27 lines
1.4 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Page](./puppeteer.protocol.page.md) &gt; [FrameResource](./puppeteer.protocol.page.frameresource.md)
## Protocol.Page.FrameResource interface
Information about the Resource on the page.
<b>Signature:</b>
```typescript
export interface FrameResource
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [canceled](./puppeteer.protocol.page.frameresource.canceled.md) | boolean | True if the resource was canceled during loading. |
| [contentSize](./puppeteer.protocol.page.frameresource.contentsize.md) | number | Resource content size. |
| [failed](./puppeteer.protocol.page.frameresource.failed.md) | boolean | True if the resource failed to load. |
| [lastModified](./puppeteer.protocol.page.frameresource.lastmodified.md) | [Network.TimeSinceEpoch](./puppeteer.protocol.network.timesinceepoch.md) | last-modified timestamp as reported by server. |
| [mimeType](./puppeteer.protocol.page.frameresource.mimetype.md) | string | Resource mimeType as determined by the browser. |
| [type](./puppeteer.protocol.page.frameresource.type.md) | [Network.ResourceType](./puppeteer.protocol.network.resourcetype.md) | Type of this resource. |
| [url](./puppeteer.protocol.page.frameresource.url.md) | string | Resource URL. |