Calculates in an automated way, with selenium, the frames per second for an html page. It uses the javascript requestAnimFrame, in order to calculate the framerate variation