Skip to main content

ApiUrls class

An object of this class is contained in the StepInfo object, which is in itself an object in the TestResults object returned by the Eyes.close method.The methods in this class are used to retrieve a URI that can be used with the REST API to obtain information about a particular step.

getBaselineImage method

Syntax

let value = apiurls.getBaselineImage();

Parameters

This method does not take any parameters.

Return value

Type: string

getCheckpointImage method

Syntax

let value = apiurls.getCheckpointImage();

Parameters

This method does not take any parameters.

Return value

Type: string

getCheckpointImageThumbnail method

Syntax

let value = apiurls.getCheckpointImageThumbnail();

Parameters

This method does not take any parameters.

Return value

Type: string

getDiffImage method

Syntax

let value = apiurls.getDiffImage();

Parameters

This method does not take any parameters.

Return value

Type: string