Amla bags century in 100th test as S Africa take control
- Hashim Amla put on 292 for the third wicket with JP Duminy
- Amla scored his 26th test century in his 100th test
Cook was plumb leg before wicket to visiting captain Angelo Mathews in the 16th over, wasting a review.
Five balls later, Elgar chased a wide ball from Kumara and with little foot movement, edged the ball to Dimuth Karunaratne at first slip.
South Africa handed a debut to 24-year-old seamer Olivier, the leading wicket-taker in domestic four-day cricket, in place of spinner Keshav Maharaj.