---
title: shouldBeActive
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/tabconfiguration/shouldbeactive
---

# shouldBeActive

Indicates whether the tab should be the active tab.

## Declaration

```swift
var shouldBeActive: Bool { get }
```

## Discussion

Discussion If this property is YES, the tab should be made active in the window, ensuring it is the frontmost tab. Being active implies the tab is also selected. If this property is NO, the tab shouldn’t affect the currently active tab.
