setDebugScreenshotsPrefix method

Class: EyesPlatform: PlaywrightLanguage: JavaScript SDK:

Use this method to set the prefix that should be added to the file names for locally stored checkpoint images (if enabled).

Syntax

eyes.setDebugScreenshotsPrefix(prefix);

Parameters

prefix
Type:string
A prefix to be added to the saved checkpoint images filename.

Return value

Type: void

Remarks

Enable and disable saving screenshots to the local disk using the setSaveDebugScreenshots method.