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