Change tab in tabbed style pane by script

Is there any way to access the list of already opened tabs in a multi content pane and bring to focus one in particular?

Using ShowContent() reloads the content so if it was, for example, a web browser or a trend, all config or navigation done by the user is reset.

I dig inside dlls and was able to get to a class called MultiContentPaneController, that look promising but its constructor needs a reference that i don't know how to find.

 

It would be awesome to have access to something like it:

I'm in SP 2023 P02 but if it necessary i could migrate to the latest version.

Thanks in advance