orke emulator screenshot
Save the device screen as a PNG file and return its path and size.
When to use it
Save the device screen as a PNG file and return its path and size.
Syntax
Terminal
orke emulator screenshot [--out <path>] [--device <serial>] [--json]Options
| Option | Required | Values and meaning |
|---|---|---|
--device | Optional | Device serial such as emulator-5554; attach also takes an AVD name. Defaults to this workspace's active devicetext |
--emulator | Optional | Same as --device (Orca's name); --device wins when both are giventext |
--out | Optional | PNG path to write; relative paths use the current directory. Without it a new file goes to orke-screenshots/text |
Read common options and errors →
Role and constraints
session binding, or same-OS-user operator with --session or --device · Windows, macOS, Linux
- A bound terminal acts only on its session workspace's devices. A terminal outside orke passes --session <id> or --device <serial>.
- --out overwrites the file and creates missing folders. --json data carries path, width, height and bytes instead of the image.
Examples
Terminal
orke emulator screenshot --out ./orke-screenshots/home.png --jsonReplace example IDs, slugs, revisions, and files with actual observations and inputs.
Response and partial results
Inspect replies and errors with --json. Acceptance is not work completion.