---
title: associatedTab
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/action/associatedtab
---

# associatedTab

The tab that this action is associated with, or nil if it’s the default action.

## Declaration

```swift
weak var associatedTab: (any WKWebExtensionTab)? { get }
```

## Discussion

Discussion When this property is nil, it indicates that the action is the default action and not associated with a specific tab.
