<!--
{
  "availability" : [
    "Xcode: 16.3.0 -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "XCUIAutomation",
  "identifier" : "/documentation/XCUIAutomation/XCUIApplication/init(url:)-90e7z",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "XCUIAutomation"
    ],
    "preciseIdentifier" : "c:objc(cs)XCUIApplication(im)initWithURL:"
  },
  "title" : "init(url:)"
}
-->

# init(url:)

Creates a proxy for the application at the specified file system URL.

```
init(url: URL)
```

## Discussion

This initializer is only available on macOS.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)