setDebugScreenshotsPath method

Class: EyesPlatform: Selenium 4Language: JavaScript SDK:

Use this method to set the folder path where locally saved checkpoint images should be stored (if enabled).

Syntax


eyes.setDebugScreenshotsPath(pathToSave);

Parameters

pathToSave
Type:string
A pathname where saved checkpoint images should be stored.

Return value

Type:

Remarks

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