mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
546 B
546 B
sidebar_label |
---|
Page.screenshot_1 |
Page.screenshot() method
Signature:
class Page {
screenshot(options?: Readonly<ScreenshotOptions>): Promise<Buffer>;
}
Parameters
Parameter | Type | Description |
---|---|---|
options | Readonly<ScreenshotOptions> | (Optional) |
Returns:
Promise<Buffer>