getBaselineEnvName method

Class: EyesPlatform: NightwatchLanguage: JavaScript SDK:

Returns the name of the baseline environment defined for this test run.


let value = eyes.getBaselineEnvName();


This method does not take any parameters.

Return value

Type: string
Returns the value most recently set by a call to setBaselineEnvName, or a value of null if the baseline environment name has not been assigned in this run.