name property

Class: TestResultsPlainPlatform: Selenium 4Language: JavaScript SDK:

Use this property to retrieve the name of the test.

Syntax

value = result.name;

Type:string

The name of the test.