Assistive-Webdriver

Home > assistive-playwright-client > CalibrationError > saveScreenshot

CalibrationError.saveScreenshot() method

Saves the screenshot as a file.

Signature:

saveScreenshot(fileName: string): Promise<void>;

Parameters

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>