I've a custom script on a web server, the script is run by calling a web page from a browser, once the page is opened the script starts and the browser windows is updated with results. I use Firefox ver 22 and when the script is running you can see the small green circle on the browser tab. Sometime anyway the script crashes and you see the grayed square on the browser tab.
These times I see the status, then I update the data on the web and run the script again from the browser.
I would like to do it by code and I'd like to try to do it in perl.
Lot of work, I know.
I didn't try it yet, I was starting to think at it and I've seen that with mechanize you can call a web page.
But the first problem I see, and I've not found a clear answer, is is it possible to know the browser windows status by code ? I mean, when the script is running I see the green circle on the Firefox tab, and when the script crashes I see the grayed square. I there a way to recognize the browser windows status, having more tabs, from perl ?
TIA