captureElementScreenshotAsBase64 method
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);