getStepsInfo method

Class: TestResultsPlatform: Selenium 4Language: JavaScript SDK:

Use this method to retrieve an array of objects with information on all steps in the test.

Syntax

let value = result.getStepsInfo();
value = result.stepsInfo;

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

Parameters

This method does not take any parameters.

Return value

Type: StepInfo[]
This is an array of StepInfo objects.