Returns the value of a form element by XPath.
Context object.
The element XPath selector for which to return value.
The value of the form element as a string.
const clientEmail = await getValueByXpath(ctx, '//input[@id="email"]'); Copy
const clientEmail = await getValueByXpath(ctx, '//input[@id="email"]');
Generated using TypeDoc
Returns the value of a form element by XPath.