branchName property

Class: TestResultsPlainPlatform: PlaywrightLanguage: JavaScript SDK:

Use this property to retrieve the branch name of the test.

Syntax

value = result.branchName;

Type:string

The branch name.