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