captureElementScreenshotAsBase64 method Null safety

String captureElementScreenshotAsBase64(
  1. WebElement element
)

Take a screenshot of the specified element as PNG and return it as base64-encoded string.

Implementation

String captureElementScreenshotAsBase64(WebElement element) => _client.send(
    _handler.core.buildElementScreenshotRequest(element.id),
    _handler.core.parseScreenshotResponse);