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

23 lines
1.1 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; [FrameAttachedEvent](./puppeteer.protocol.page.frameattachedevent.md)
## Protocol.Page.FrameAttachedEvent interface
Fired when frame has been attached to its parent.
<b>Signature:</b>
```typescript
export interface FrameAttachedEvent
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [frameId](./puppeteer.protocol.page.frameattachedevent.frameid.md) | [FrameId](./puppeteer.protocol.page.frameid.md) | Id of the frame that has been attached. |
| [parentFrameId](./puppeteer.protocol.page.frameattachedevent.parentframeid.md) | [FrameId](./puppeteer.protocol.page.frameid.md) | Parent frame identifier. |
| [stack](./puppeteer.protocol.page.frameattachedevent.stack.md) | [Runtime.StackTrace](./puppeteer.protocol.runtime.stacktrace.md) | JavaScript stack trace of when frame was attached, only set if frame initiated from script. |