getMatches method

Class: TestResultsPlatform: Selenium 4Language: JavaScript SDK:

Use this method to retrieve the number of test steps where the checkpoint image matched the baseline image.


let value = result.getMatches();
value = result.matches;

Note that this feature is available as both a method and a property.


This method does not take any parameters.

Return value

Type: number