setDebugScreenshotsPrefix method

Class: EyesPlatform: WebdriverIO 5Language: 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:

Remarks

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