interface Tab {
    active: boolean;
    attention?: boolean;
    audible?: boolean;
    autoDiscardable?: boolean;
    cookieStoreId?: string;
    discarded?: boolean;
    favIconUrl?: string;
    height?: number;
    hidden?: boolean;
    highlighted: boolean;
    id?: number;
    incognito: boolean;
    index: number;
    isArticle?: boolean;
    isInReaderMode?: boolean;
    lastAccessed?: number;
    mutedInfo?: MutedInfo;
    openerTabId?: number;
    pinned: boolean;
    sessionId?: string;
    sharingState?: SharingState;
    splitViewId?: number;
    status?: string;
    successorTabId?: number;
    title?: string;
    url?: string;
    width?: number;
    windowId?: number;
}
Index
active: boolean

Whether the tab is active in its window. (Does not necessarily mean the window is focused.)

attention?: boolean

Whether the tab is drawing attention.

audible?: boolean

Whether the tab has produced sound over the past couple of seconds (but it might not be heard if also muted). Equivalent to whether the speaker audio indicator is showing.

autoDiscardable?: boolean

Whether the tab can be discarded automatically by the browser when resources are low.

cookieStoreId?: string

The CookieStoreId used for the tab.

discarded?: boolean

True while the tab is not loaded with content.

favIconUrl?: string

The URL of the tab's favicon. This property is only present if the extension's manifest includes the "tabs" permission. It may also be an empty string if the tab is loading.

height?: number

The height of the tab in pixels.

hidden?: boolean

True if the tab is hidden.

highlighted: boolean

Whether the tab is highlighted. Works as an alias of active

id?: number

The ID of the tab. Tab IDs are unique within a browser session. Under some circumstances a Tab may not be assigned an ID, for example when querying foreign tabs using the sessions API, in which case a session ID may be present. Tab ID can also be set to tabs.TAB_ID_NONE for apps and devtools windows.

incognito: boolean

Whether the tab is in an incognito window.

index: number

The zero-based index of the tab within its window.

isArticle?: boolean

Whether the document in the tab can be rendered in reader mode.

isInReaderMode?: boolean

Whether the document in the tab is being rendered in reader mode.

lastAccessed?: number

The last time the tab was accessed as the number of milliseconds since epoch.

mutedInfo?: MutedInfo

Current tab muted state and the reason for the last state change.

openerTabId?: number

The ID of the tab that opened this tab, if any. This property is only present if the opener tab still exists.

pinned: boolean

Whether the tab is pinned.

sessionId?: string

The session ID used to uniquely identify a Tab obtained from the sessions API.

sharingState?: SharingState

Current tab sharing state for screen, microphone and camera.

splitViewId?: number
status?: string

Either loading or complete.

successorTabId?: number

The ID of this tab's successor, if any; tabs.TAB_ID_NONE otherwise.

title?: string

The title of the tab. This property is only present if the extension's manifest includes the "tabs" permission.

url?: string

The URL the tab is displaying. This property is only present if the extension's manifest includes the "tabs" permission.

width?: number

The width of the tab in pixels.

windowId?: number

The ID of the window the tab is contained within.