[Home](./index.md) > [puppeteer](./puppeteer.md) > [Frame](./puppeteer.frame.md) > [parentFrame](./puppeteer.frame.parentframe.md) ## Frame.parentFrame() method Signature: ```typescript parentFrame(): Frame | null; ``` Returns: [Frame](./puppeteer.frame.md) \| null the parent `Frame`, if any. Detached and main frames return `null`.