---
title: pngRepresentation
framework: xcuiautomation
role: symbol
role_heading: Instance Property
path: xcuiautomation/xcuiscreenshot/pngrepresentation
---

# pngRepresentation

A representation of the screenshot as PNG image data.

## Declaration

```swift
var pngRepresentation: Data { get }
```

## See Also

### Screenshot representations

- [image](xcuiautomation/xcuiscreenshot/image.md)
