StepInfo class

Platform: Selenium 3Language: JavaScript SDK:
When a test terminates, the close method returns an object with methods/properties defined by the TestResults class. Within the TestResults, there is an array of objects which have the properties defined by the class StepInfo. Each element of this array describes information for one step in the test.The properties of this object are used to retrieve information for a given step in the test results. Although there is no named class for this object, for convenience, it is documented in a class-like style.
You can access the array of objects with the step information using the stepsInfo property.

Require statement

const {StepInfo} = require('undefined');
	

Properties

apiUrlsType:{baselineImage:string, currentImage:string, diffImage string}
Use the object returned by this method to retrieve URLs for the baseline, checkpoint, and diff images. You can obtain these images using the REST API.
hasBaselineImageType:boolean
Returns whether the baseline has a baseline image for this step.
hasCheckpointImageType:boolean
Returns whether there is a checkpoint image for this step.
isDifferentType:boolean
Use this method to check if the checkpoint did not match a baseline image.
nameType:string
Returns the name (tag) assigned to the step (in the check method).