Returns the value of an element property.
Context object.
Element selector.
The name of the property to retrieve.
Optional
The property value as a string.
const clientName = await getProperty(ctx, 'input[name="firstName"]', 'value'); Copy
const clientName = await getProperty(ctx, 'input[name="firstName"]', 'value');
Returns the value of an element property.