getStepsInfo method
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.