typeSequence method

  1. @override
Future<void> typeSequence(
  1. PageLoaderKeyboard keys
)
override

'typeSequence' for Webdriver does not allow custom combination of 'keydown'/'keypress'/'keyup' events. Instead, all three are automatically sent in order for each keyboard button.

If a user sends: 'a' keydown, 'a' keypress, this is translated to: 'a' keydown, 'a' keypress, 'a' keyup x 2 for each instance of 'a' keyX event, we send all three events.

Implementation

@override
Future<void> typeSequence(PageLoaderKeyboard keys) async =>
    _retryWhenStale(() async => _typeSequence(keys));