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.closeAsync or 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.

Import statement

import com.applitools.eyes.StepInfo.ApiUrls;

getBaselineImage method

Syntax

String value = apiurls.getBaselineImage();

Parameters

This method does not take any parameters.

Return value

Type: String

getCheckpointImage method

Syntax

String value = apiurls.getCheckpointImage();

Parameters

This method does not take any parameters.

Return value

Type: String

getCheckpointImageThumbnail method

Syntax

String value = apiurls.getCheckpointImageThumbnail();

Parameters

This method does not take any parameters.

Return value

Type: String

getDiffImage method

Syntax

String value = apiurls.getDiffImage();

Parameters

This method does not take any parameters.

Return value

Type: String