Skip to content

@serenity-is/corelib / getFormAsync

Function: getFormAsync()

getFormAsync(key): Promise<PropertyItem[]>

Defined in: src/compat/scriptdata-compat.ts:146

Asynchronously retrieves form metadata for a key. Compat shim for Q.getFormAsync; delegates to getFormScript(key).

Parameters

key

string

Form key.

Returns

Promise<PropertyItem[]>

A promise resolving to the array of PropertyItem form field definitions.