run tests automatically on browser captured