The Sri Lankan Parliament is all set to elect the successor to Gotabaya Rajapaksa in a three-way presidential contest on Wednesday, following a high-voltage political drama which saw the former president fleeing the country and resigning after a popular uprising against his government for mismanaging the economy.