By the way, our server runs under Windows and we are recording shots by taking sequences of screenshots directly from Chrome. Then we don't even have to have the windows open or at a certain screen location.
But I guess your method is faster and interferes less with Chrome. Do you know something like this for windows?