Page.screenshot() method
Signature:
class Page {
screenshot(options?: Readonly<ScreenshotOptions>): Promise<Buffer>;
}
Parameters
Parameter | Type | Description |
---|---|---|
options | Readonly<ScreenshotOptions> | (Optional) |
Returns:
Promise<Buffer>
class Page {
screenshot(options?: Readonly<ScreenshotOptions>): Promise<Buffer>;
}
Parameter | Type | Description |
---|---|---|
options | Readonly<ScreenshotOptions> | (Optional) |
Returns:
Promise<Buffer>