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