Home > assistive-playwright-client > CalibrationError > saveScreenshot
Saves the screenshot as a file.
Signature:
saveScreenshot(fileName: string): Promise<void>;
| Parameter | Type | Description |
|---|---|---|
| fileName | string | Full path (or path relative to the current directory) where to store the screenshot. The screenshot will be stored in the PNG format. |
Returns:
Promise<void>