Skip to content

@serenity-is/corelib / getFormData

Function: getFormData()

getFormData(key): PropertyItemsData

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

Synchronously retrieves the full form data object for a key. Compat shim for getFormData; delegates to ScriptData.ensure('Form.' + key).

Parameters

key

string

Form key.

Returns

PropertyItemsData

The PropertyItemsData containing items and related metadata. [DEPRECATED] Prefer getFormDataAsync / getFormScript.