mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
823a9df442
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
626 B
626 B
sidebar_label |
---|
Page.screenshot_1 |
Page.screenshot() method
Signature:
class Page {
screenshot(
options?: ScreenshotOptions & {
encoding?: 'binary';
}
): Promise<Buffer>;
}
Parameters
Parameter | Type | Description |
---|---|---|
options | ScreenshotOptions & { encoding?: 'binary'; } | (Optional) |
Returns:
Promise<Buffer>