---
title: pathname
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/domhtmlanchorelement/pathname
---

# pathname

## Declaration

```swift
var pathname: String! { get }
```
