scroll_to_top method

Future<Online> scroll_to_top()

Implementation

Future<Online> scroll_to_top() async {
  Show.action('scrolling', 'to', 'top');
  await (await page).evaluate('''() => {
    window.scrollTo(0, 0);
  }''');
  return this;
}