screenshot method

Future<Online> screenshot(
  1. String path
)

Implementation

Future<Online> screenshot(String path) async {
  Show.action('capture', 'screenshot', path);
  var sc = await (await page).screenshot();
  await File(path).writeAsBytes(sc);
  return this;
}