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