Kagiso Rabada dismissed Mitchell Starc right after drinks.
Tabraiz Shamsi picks up his maiden Test wicket after accounting for Nathan Lyon.
Jackson Bird created chances but was unsuccessful in getting a wicket in the second session.
Hashim Amla and Stephen Cook rebuilt after Elgar's early wicket with an 81-run stand.
Hashim Amla fell to Josh Hazlewood for the fifth time in series.
Mitchell Starc scored his seventh Test fifty in the opening session of day three.
Vernon Philander dismissed Usman Khawaja for 145 in the seventh over of the day.
Mitchell Starc adds 30 runs with Josh Hazlewood for the eighth
Mitchell Starc celebrates his half-century.
Nathan Lyon picks up wickets in successive overs to reduce South Africa to 194/6, just 70 ahead, when stumps were drawn on day three. Advantage Australia going into Day 4.