setBaselineBranchName method

Class: ConfigurationPlatform: PlaywrightLanguage: 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

let configval = config.setBaselineBranchName(baselineBranchName);
config.baselineBranchName = configval;
configval = config.baselineBranchName;

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

Parameters

baselineBranchName
Type:string
The baseline branch name to be configured.

Return value

Type: Configuration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.