Context object.
XPath selector.
A text to type into field.
Optional
options: FillOptionsTriggers an event for each character. If you want to keep the existing text, use the helper "typeByXPath".
await fillByXPath(ctx, '//input[@id="message"]', 'Hello')
Types the value into a form field by XPath, replacing the existing text.