Changes the value of a form element.
Context object.
Element selector.
New value.
Optional
Keep in mind that using the helper "setValue" 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 "fill" or "type" instead.
await setValue(ctx, '#id-number', '23d79d99S'); Copy
await setValue(ctx, '#id-number', '23d79d99S');
Changes the value of a form element.