stepCount property

int stepCount
final

How many steps the scenario captured — which is steps.length unless they were left out of this copy.

Carried separately so a trimmed answer cannot be read as an empty one: a green scenario whose steps went to the file on disk still says it took five pictures. See ScenarioRunPackage.report.

Implementation

final int stepCount;