---
title: location
framework: xcuiautomation
role: symbol
role_heading: Instance Property
path: xcuiautomation/xcuilocation/location
---

# location

Returns the object that contains the latitude, longitude, and course information this proxy simulates for the device.

## Declaration

```swift
@NSCopying var location: CLLocation { get }
```

## Discussion

Discussion Use this property to access the underlying CLLocation this object wraps.

## See Also

### Determining the location

- [debugDescription](xcuiautomation/xcuilocation/debugdescription.md)
