getIsNew method

Class: TestResultsPlatform: Selenium 4Language: JavaScript SDK:

Returns 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
Returns true if this is a new test, false otherwise.