It has never been Church teaching that the selection of the pope is inspired by the Holy Spirit.
So the Holy Spirit has nothing to do with the selection of the pope?
Well, then on what basis is the decision made? If the Holy spirit doesn't do the leading, then who does?
Why then do Catholics think the pope represents Christ on earth?