The information in this topic may be out of date. The current SDK reference guide has moved here.

setBranchName method

Class: ConfigurationPlatform: Selenium 4Language: JavaScript SDK:

Use this method to set the branch used for the baseline of this run.


let configval = config.setBranchName(branchName);
config.branchName = configval;
configval = config.branchName;

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


The branch name to be used by the configuration.

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.