tabGroups.move
Moves a tab group within or to another window. Groups can't be moved before a pinned tab or inside another tab group.
In this article
Syntax
js
let movedTabGroup = await browser.tabGroups.move( groupId, // integer moveProperties // object);Parameters
groupIdintegerThe ID of the tab group to move.movePropertiesAn object containing details of the location to move the tab group to.
indexinteger. The position to move the group to. After moving, the first tab in the tab group is at this index in the tab strip. Use -1 to place the group at the end of the window.windowIdOptionalinteger. The window to move the group to. Defaults to the window the group is in. Groups can only be moved to and from windows withwindows.WindowTypetype"normal".
Return value
APromise fulfilled with atabGroups.TabGroup object. If the request fails, the promise is rejected with an error message.