Types into a form field, after the existing text.
Context object.
Css selector.
A value to type into field.
Triggers an event for each character. If you want to clear the field first, use the helper "fill".
await type(ctx, 'input', 'Hello'); Copy
await type(ctx, 'input', 'Hello');
await type(ctx, 'input', 'Hello', { delay: 500, clear: true, blur: true,}); Copy
await type(ctx, 'input', 'Hello', { delay: 500, clear: true, blur: true,});
Types into a form field, after the existing text.