# tuist sandbox screenshot

Capture a macOS sandbox's booted iOS Simulator, or its whole screen, as a PNG on this machine.

## Arguments

### sandbox-id

Sandbox UUID.

```bash
tuist sandbox screenshot [sandbox-id]
```

### account `Optional`

Account handle. Defaults to the account in the project's full handle.

```bash
tuist sandbox screenshot --account [account]
```

### path `Optional`

Project directory.

```bash
tuist sandbox screenshot --path [path]
tuist sandbox screenshot -p [path]
```

### json `Optional`

Return the response as JSON. Unknown optional values are omitted.

```bash
tuist sandbox screenshot --json
```

### simulator `Optional`

Capture the booted iOS Simulator (default).

```bash
tuist sandbox screenshot --simulator
```

### screen `Optional`

Capture the Mac's whole screen.

```bash
tuist sandbox screenshot --screen
```

### device `Optional`

The simulator to capture, by name or UDID. Defaults to the booted one.

```bash
tuist sandbox screenshot --device [device]
```

### out

Where to write the PNG on this machine, replacing what is there.

```bash
tuist sandbox screenshot -o [out]
tuist sandbox screenshot --out [out]
```
