duration property

Class: TestResultsPlatform: Selenium 3Language: JavaScript SDK:

Returns the amount of time the test ran.

Syntax


value = result.duration // type is number

Type:number

The number of seconds the test ran for.