scrollBy method

Future<Online> scrollBy(
  1. int x,
  2. int y
)

Implementation

Future<Online> scrollBy(int x, int y) async {
  Show.action('scrolling', 'by', x.toString(), y.toString());
  await (await page).evaluate('''() => {
    window.scrollBy($x, $y);
  }''');
  return this;
}