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

33 lines
2.7 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; [Frame](./puppeteer.protocol.page.frame.md)
## Protocol.Page.Frame interface
Information about the Frame on the page.
<b>Signature:</b>
```typescript
export interface Frame
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [adFrameType](./puppeteer.protocol.page.frame.adframetype.md) | [AdFrameType](./puppeteer.protocol.page.adframetype.md) | Indicates whether this frame was tagged as an ad. |
| [crossOriginIsolatedContextType](./puppeteer.protocol.page.frame.crossoriginisolatedcontexttype.md) | [CrossOriginIsolatedContextType](./puppeteer.protocol.page.crossoriginisolatedcontexttype.md) | Indicates whether this is a cross origin isolated context. |
| [domainAndRegistry](./puppeteer.protocol.page.frame.domainandregistry.md) | string | Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -<!-- -->&gt; "google.com" http://a.b.co.uk/file.html -<!-- -->&gt; "b.co.uk" |
| [id](./puppeteer.protocol.page.frame.id.md) | [FrameId](./puppeteer.protocol.page.frameid.md) | Frame unique identifier. |
| [loaderId](./puppeteer.protocol.page.frame.loaderid.md) | [Network.LoaderId](./puppeteer.protocol.network.loaderid.md) | Identifier of the loader associated with this frame. |
| [mimeType](./puppeteer.protocol.page.frame.mimetype.md) | string | Frame document's mimeType as determined by the browser. |
| [name](./puppeteer.protocol.page.frame.name.md) | string | Frame's name as specified in the tag. |
| [parentId](./puppeteer.protocol.page.frame.parentid.md) | string | Parent frame identifier. |
| [secureContextType](./puppeteer.protocol.page.frame.securecontexttype.md) | [SecureContextType](./puppeteer.protocol.page.securecontexttype.md) | Indicates whether the main document is a secure context and explains why that is the case. |
| [securityOrigin](./puppeteer.protocol.page.frame.securityorigin.md) | string | Frame document's security origin. |
| [unreachableUrl](./puppeteer.protocol.page.frame.unreachableurl.md) | string | If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment. |
| [url](./puppeteer.protocol.page.frame.url.md) | string | Frame document's URL without fragment. |
| [urlFragment](./puppeteer.protocol.page.frame.urlfragment.md) | string | Frame document's URL fragment including the '\#'. |