captureScreenshotAsBase64 method

String captureScreenshotAsBase64()

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

Implementation

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