MDN self-hosted library · e01.org

tabGroups.get()

Returns details about a tab group.

no runnable cells webextension-api-function upstream source

Returns details about a tab group.

Syntax

let tabGroupDetails = await browser.tabGroups.get(
    groupId                // integer
);

Parameters

  • groupId
  • : integer. The ID of the tab group to return details for.

Return value

A Promise fulfilled with a tabGroups.TabGroup object. If the request fails, the promise is rejected with an error message.

h2

Browser compatibility