I have a link which should open in a new tab, but if the tab is already open, just switch to it. I\'ve tried with javascript, wnd = window.open() and than wnd.focus(), that
If the window is already opened and if you want to focus on that window you can use
window.open('', 'NameOfTheOpenedWindow').focus();