I'd like improve a script of mine that uses firefox to perform tasks. I need activate a window and a tab with a specific name. For example, the window name could be
Mozilla Firefox and the tab
I can activate windows using
wmctrl -a, but this doesn't work very well because all firefox windows could have
Mozilla Firefox on its name, even the windows without tabs named
An example of what I need is: activate the tab
http://localhost/site.php at the window
Mozilla Firefox. I use linux and I would like a solution for this kind of system. Probably I will use shellscript (and OS commands) and python to improve the script, so solutions with them are welcome to me.