captureScreenshotAsBase64 method

Future<String> captureScreenshotAsBase64()

Take a screenshot of the current page as PNG and return it as base64-encoded string.

Implementation

Future<String> captureScreenshotAsBase64() => _client.send(
    _handler.core.buildScreenshotRequest(),
    _handler.core.parseScreenshotResponse);