Show specific tab using script

Hi, my question is related to this older question.

I would like to have an option to select the tab “name” within my JS. E.g. after filling in a specific field, clicking a button, etc.

I looked at possible selectors, but I couldn’t make it work properly. I think some inner knowledge will definitely help here :slight_smile:

Is it possible? Can I/we get some demo?

Thank you!