isDifferent property

Class: StepInfoPlatform: Selenium 3Language: JavaScript SDK:

The value of this property is true if the checkpoint did not match the baseline image.

Syntax

value = stepinfo.isDifferent // type is boolean

Type:boolean

Returns true if the checkpoint image did not match the corresponding baseline image, or if this step was new (there was no baseline image), or if there was a baseline step with no corresponding checkpoint image. Returns false if the checkpoint image matched the baseline image.