I get error when some tabs are created and I want to group them. Although
See the // Error part below
....
var ids = [];
myconfig.tabs.forEach((tab) => {
chrome.tabs.create({ url: tab }).then((tt) => {
ids.push(tt.id);
});
});
... // ids:Array - 0: 72, 1: 73 length: 2
chrome.tabs.group({tabIds:ids}).then((groupId) => { // ERROR : Error handling response: TypeError: Error in invocation of tabs.group(object options, optional function callback): Error at parameter 'options': Error at property 'tabIds': Value did not match any choice.
gId = groupId;
});
}
});
Pls correct me to solve this error, thanks in advance.
Csaba