---
title: "getAttributeNode(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domelement/getattributenode(_:)"
---

# getAttributeNode(_:)

## Declaration

```swift
func getAttributeNode(_ name: String!) -> DOMAttr!
```
