setParentBranchName method

Class: ConfigurationPlatform: PlaywrightLanguage: JavaScript SDK:

Use this method to set the parent branch from which newly created branches get their initial baseline.


let configval = config.setParentBranchName(parentBranchName);
config.parentBranchName = configval;
configval = config.parentBranchName;

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


The parent 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.