[Home](./index.md) > [puppeteer](./puppeteer.md) > [FrameManager](./puppeteer.framemanager.md) > [\_onFrameAttached](./puppeteer.framemanager._onframeattached.md) ## FrameManager.\_onFrameAttached() method Signature: ```typescript _onFrameAttached(frameId: string, parentFrameId?: string): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | frameId | string | | | parentFrameId | string | | Returns: void