---
title: "open(_:)"
framework: xcuiautomation
role: symbol
role_heading: Instance Method
path: "xcuiautomation/xcuisystem/open(_:)"
---

# open(_:)

Opens an item in the default application for a URL.

## Declaration

```swift
func open(_ url: URL)
```

## Parameters

- `url`: The URL of the item to open.
