asScreenshot
Casts this BrowserActionResult as a Screenshot and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.ScreenshotResult value. Throws an exception if the BrowserActionResult is not a Screenshot.
Casts this BrowserActionResult as a Screenshot and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.ScreenshotResult value. Throws an exception if the BrowserActionResult is not a Screenshot.