setSaveDebugScreenshots method

Class: EyesPlatform: Selenium 3Language: JavaScript SDK:

Use this method to set whether or not checkpoint images should be copied to a local file (typically for troubleshooting).

Syntax


eyes.setSaveDebugScreenshots(saveDebugScreenshots, pathToSave);

Parameters

saveDebugScreenshots
Type:boolean
If set to true, then checkpoint images is saved to a local directory.
pathToSave
Type:string
The file system path where debug screenshots should be saved.

Return value

Type: