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