For Pakistan, the third Test offers one final shot at redeeming themselves and avoiding a clean sweep in the five-day game before the ODI series.
Rassie van der Dussen in action for the Lions during the 2018/19 4-Day Franchise Series. Moreover, his excellent form in the inaugural Mzansi Super League (MSL) has been rewarded as well.
Batsman JP Duminy and fast bowler Lungi Ngidi were not considered because of injury.
"We need to look at all the options available to us as we get closer to selecting our final squad for this year's World Cup and Rassie and Dane are two players who have been knocking strongly on the door in all formats", CSA selection convener Linda Zondi said in a statement according to Cricbuzz.
Markram was struggling with a bruised thigh he picked up while fielding in the 9-wicket win in the second Test match in Cape Town and was a doubt for the Wanderers Test in which South Africa have the chance to claim a 3-0 series victory and move up to second on the ICC Test rankings behind India. However, the trio of Aiden Markram, Farhaan Behardien and Chris Morris have been left out.
Zondi said other players could get opportunities in the last three matches against Pakistan. However, it has not been enough to beat this strong South Africa side.
They are without the suspended Faf du Plessis, who has been forced to sit the match out thanks to a slow over-rate in the previous Test - which finished well inside four days - and one of two uncapped batsmen is set to make a debut in his absence.
Elgar has captained South Africa before, against England at Lord's in 2017 when du Plessis returned home for the birth of his child.