--- sidebar_label: Page.screenshot --- # Page.screenshot() method Captures a screenshot of this [page](./puppeteer.page.md). #### Signature: ```typescript class Page { screenshot( options: Readonly & { encoding: 'base64'; } ): Promise; } ``` ## Parameters | Parameter | Type | Description | | --------- | --------------------------------------------------------------------------------------------------- | ------------------------------- | | options | Readonly<[ScreenshotOptions](./puppeteer.screenshotoptions.md)> & { encoding: 'base64'; } | Configures screenshot behavior. | **Returns:** Promise<string>