scrollIntoViewCentered method

Future<void> scrollIntoViewCentered()

Implementation

Future<void> scrollIntoViewCentered() async {
  await _retryWhenStale(() => _driver
      .execute('arguments[0].scrollIntoView({block:"center"})', [_single]));
}