Skip to main content
Use a screenshot to save, display, or debug the exact screen image. The result is a PNG.
The default path is screenshot.png. The CLI overwrites an existing output file without confirmation.
screenshot maps to DCP Screen.screenshot; it is not a REST operation.

Picture or structured screen?

  • Use screenshot for the pixels as PNG data.
  • Use observe for recognized text, icons, dimensions, and a queryable snapshot.
Capture a screenshot when a step fails. It shows the exact state your automation encountered.

Next steps

Observe

Get structured text and icons.

Driver overview

Return to the complete control loop.