Skip to main content
Capture screenshots of the desktop for visual verification, debugging, and documentation.

Overview

Screenshot capture enables:
  • Full screen screenshots
  • Region-specific screenshots
  • Visual verification of GUI state
  • Documentation and debugging
Desktop automation requires a template with desktop support. Ensure your sandbox has desktop capabilities enabled.

Full Screen Screenshot

Capture the entire screen:

Region Screenshot

Capture a specific region of the screen:

Window Screenshot

Capture a specific window (X11 advanced feature):

Screenshot Workflow

Complete screenshot workflow:

Image Format

Screenshots are returned as PNG image bytes:
  • Format: PNG
  • Color depth: 24-bit RGB
  • Compression: PNG compression

Finding Coordinates

Use screenshots to find coordinates for mouse operations:

Next Steps