Context object.
Selector for input element to clear.
Optional
options: WaitForSelectorOptionsfill
with an empty text instead.Keep in mind that using the helper "Clear" 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 clearInput(ctx, 'input[id="E-mail"]');
Generated using TypeDoc
Clears the value in an input element.