The information in this topic may be out of date. The current SDK reference guide has moved here.

getIsNew method

Class: TestResultsPlatform: Selenium 4Language: JavaScript SDK:

Use this method to retrieve whether this is a new test or not (i.e. no existing baseline was found for this test).

Syntax

let value = result.getIsNew();

Parameters

This method does not take any parameters.

Return value

Type: boolean
Use this method to retrieve true if this is a new test, false otherwise.