focus method

  1. @override
Future<Null> focus()
override

Focuses the element.

Implementation

@override
Future<Null> focus() async => _retryWhenStale(
    () => _driver.execute('arguments[0].focus();', [_single]));