Newer Version Available
getAllTabInfo() for Lightning Experience
Returns information about all open tabs. This method works only in
Lightning console apps.
Arguments
None.
Sample Code
This component has a button that, when pressed, gets the info of all open tabs and prints the resulting tabInfo object.
Component code:
Controller code: