screenshot abstract method

Future<ScreenshotResult> screenshot(
  1. String path
)

Capture a PNG to path for device-mode perception; also the coordinate reference (ratio = pixel / size).

Implementation

Future<ScreenshotResult> screenshot(String path);