setBaselineBranchName method

Class: EyesPlatform: NightwatchLanguage: JavaScript SDK:

Use this method to set the name of the branch the baseline reference will be taken from and where new and accepted steps will be saved to.

Syntax

eyes.setBaselineBranchName(baselineBranchName);

Parameters

baselineBranchName
Type:string
The name of the baseline branch to use.

Return value

Type: void