Skip to content

ScreenshotResult

Structure Class

ScreenshotResult dataclass

Bases: _SerdeShape

The result of a screenshot action.

Attributes

data class-attribute instance-attribute
data: bytes | None = ...

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

error class-attribute instance-attribute
error: str | None = ...

The error message. Present only when the action failed.

status instance-attribute
status: str

The status of the action execution.