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

# open(_:)

Launches the application by URL.

## Declaration

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

## Parameters

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

## See Also

### Launching the application

- [launch()](xcuiautomation/xcuiapplication/launch().md)
- [launchArguments](xcuiautomation/xcuiapplication/launcharguments.md)
- [launchEnvironment](xcuiautomation/xcuiapplication/launchenvironment.md)
