[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [mainFrame](./puppeteer.page.mainframe.md) ## Page.mainFrame() method Signature: ```typescript mainFrame(): Frame; ``` Returns: [Frame](./puppeteer.frame.md) The page's main frame.