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