getName method

Class: StepInfoPlatform: PlaywrightLanguage: JavaScript SDK:

The value returned by this method is the name (tag) assigned to the step (in the check method).


let value = stepinfo.getName();
value =;

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


This method does not take any parameters.

Return value

Type: string