getStepsInfo method

Class: TestResultsPlatform: PlaywrightLanguage: JavaScript SDK:

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


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

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


This method does not take any parameters.

Return value

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