duration property

Class: TestResultsPlatform: Selenium 3Language: Python SDK:

Use this property to retrieve the amount of time the test ran.

Syntax

value = result.duration # type is int

Type:int

The number of seconds the test ran for.