Skip to content

ScreenshotResult

Source code in docs_src/capo_bedrock_agentcore/types/screenshot_result.py
class ScreenshotResult(TypedDict, closed=True):
    status: "capo_bedrock_agentcore.types.browser_action_status.BrowserActionStatus"
    """<p>The status of the action execution.</p>"""
    error: NotRequired["str"]
    """<p>The error message. Present only when the action failed.</p>"""
    data: NotRequired["bytes"]
    """<p>The base64-encoded image data. Present only when the action succeeded.</p>"""

data instance-attribute

data: NotRequired[bytes]

The base64-encoded image data. Present only when the action succeeded.

error instance-attribute

error: NotRequired[str]

The error message. Present only when the action failed.

status instance-attribute

The status of the action execution.