Context object.
Element Xpath selector.
New value.
Keep in mind that using the helper "setValueByXPath" on form fields will not trigger change events, and the website will not see the change. In this case, one almost always want to use "fillByXPath" or "typeByXPath" instead.
await setValueByXPath(ctx, '//input[@id="id-number"]', '23d79d99S');
Generated using TypeDoc
Changes the value of a form element by XPath.