ApiUrls class

Platform: Selenium 4Language: JavaScript SDK:
An object of this class is contained in the StepInfo object, which is in itself an object in the TestResults object returned by the 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.

Require statement

const {ApiUrls} = require('');
	

Methods

getBaselineImage()
The value returned by this method is a URI that can be used with the REST API to obtain the baseline image of this step.
getCheckpointImage()
The value returned by this method is a URI that can be used with the REST API to obtain the checkpoint image of this step.
getCheckpointImageThumbnail()
The value returned by this method is a URI that can be used with the REST API to obtain the checkpoint thumbnail image of this step.
getDiffImage()
The value returned by this method is a URI that can be used with the REST API to obtain the checkpoint image of this step, overlayed with pink areas where there are differences.