type method
Types keys
into this element, if possible (e.g. for an input element).
focusBefore
indicates whether to focus this element before typing.
blurAfter
indicates whether to blur this element after typing.
Implementation
@override
Future<Null> type(String keys,
{bool focusBefore = true, bool blurAfter = true}) async =>
_retryWhenStale(() async {
if (focusBefore) await focus();
_single.sendKeys(keys);
if (blurAfter) await blur();
});