---
title: WKWebExtension.TabConfiguration
framework: webkit
role: symbol
role_heading: Class
path: webkit/wkwebextension/tabconfiguration
---

# WKWebExtension.TabConfiguration

An object that encapsulates configuration options for a tab in an extension.

## Declaration

```swift
@MainActor class TabConfiguration
```

## Overview

Overview This class holds various options that influence the behavior and initial state of a tab. The app retains the discretion to disregard any or all of these options, or even opt not to create a tab.

## Topics

### Instance Properties

- [index](webkit/wkwebextension/tabconfiguration/index.md)
- [parentTab](webkit/wkwebextension/tabconfiguration/parenttab.md)
- [shouldAddToSelection](webkit/wkwebextension/tabconfiguration/shouldaddtoselection.md)
- [shouldBeActive](webkit/wkwebextension/tabconfiguration/shouldbeactive.md)
- [shouldBeMuted](webkit/wkwebextension/tabconfiguration/shouldbemuted.md)
- [shouldBePinned](webkit/wkwebextension/tabconfiguration/shouldbepinned.md)
- [shouldReaderModeBeActive](webkit/wkwebextension/tabconfiguration/shouldreadermodebeactive.md)
- [url](webkit/wkwebextension/tabconfiguration/url.md)
- [window](webkit/wkwebextension/tabconfiguration/window.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### Classes

- [WKWebExtension.Action](webkit/wkwebextension/action.md)
- [WKWebExtension.Command](webkit/wkwebextension/command.md)
- [WKWebExtension.DataRecord](webkit/wkwebextension/datarecord.md)
- [WKWebExtension.MatchPattern](webkit/wkwebextension/matchpattern.md)
- [WKWebExtension.MessagePort](webkit/wkwebextension/messageport.md)
- [WKWebExtension.WindowConfiguration](webkit/wkwebextension/windowconfiguration.md)
- [WKWebExtensionController.Configuration](webkit/wkwebextensioncontroller/configuration-swift.class.md)
