Both teams failed to score in 120 minutes before Bafana prevailed 2-1 on penalties.
Captain Ronwen Williams saved four shootout penalties as part of an outstanding goalkeeping display to help South Africa reach the semi-finals of the 2023 Africa Cup of Nations with a gruelling win over Cape Verde following a goalless draw after extra time.
Bebe, Willy Semedo, Laros Duarte and Bryan Teixeira were all denied by the inspired Williams, who also made a spectacular late save to tip Gilson Benchimol’s first-time strike against the woodwork with extra time looming during a contest largely characterised by poor finishing.
Cape Verde goalkeeper Vozinha made two exceptional saves in quick succession shortly after extra time began to deny Mihlali Mayambela and Teboho Mokoena.
South Africa will now have the chance to avenge their defeat to Nigeria on their last appearance in the Afcon semi-finals, when they were beaten 2-0 by the Super Eagles in 2000.
The 1996 champions will attempt to bridge a 24-place gap in Fifa’s rankings when they meet the three-time winners in Bouake on Wednesday