WESTERN Sydney Wanderers are through to the A-League grand final after Dario Vidosic scored the extra-time winner during an epic nine-goal semi-final win over Brisbane Roar.

Vidosic, a 79th minute substitute, poked home the winner in the 102nd minute to give his team a 5-4 win at Pirtek Stadium and send the home supporters into delirium.

Simply, it was one of the great A-League games.

Roar surged out to a 3-0 lead, Wanderers shrunk the deficit to 3-2 at the break before charging to a 4-3 lead. Jamie Maclaren levelled in the 81st minute before Vidosic’s winner, which sees Western Sydney travel to Adelaide Oval to play Premiers’ Plate winners Adelaide United in the grand final next Sunday.

INSANE: Craziest first half of the season

MATCH REPORT: WSW into GF after stunning 5-4 comeback win

After the hosts had dominated the opening exchanges, Roar scored three times in seven minutes.

Dimitri Petratos scored from the penalty spot in the 16th minute after Andreu inexplicably handled the ball from Brisbane Roar’s corner. It came against the run of play, with the hosts seemingly asserting themselves in the opening exchanges.

The away team doubled their lead four minutes later when Andreu bundled the ball into his own net from a Roar set-piece.

If an astonished Pirtek Stadium didn’t know what hit them, they were in total disbelief in the 23rd minute when Jamie Maclaren’s chip deflected over Andrew Redmayne’s head and into the Wanderers’ net, after he got on the end of a cut-back from the right flank from Brandon Borrello.

But then came the comeback.

Romeo Castelen got a goal back for the Wanderers in the 26th minute when his thunderous free-kick from 20 yards split a dodgy Roar wall.

Brendon Santalab then brought Roar’s buffer back to one goal when he sped in behind off a simple long ball, got the better of James Donachie and then cleverly finished past Young.

Click here to watch Santalab’s goal.

MATCH CENTRE: Click here for video, stats, line-ups & play-by-play updates

All the momentum was with the hosts when Castelen hit the Wanderers into the lead in the 59th when he smashed his third goal of the night into the bottom corner of Brisbane’s net from the edge of the box.

There was more drama though.

Maclaren levelled the match again in the 81st minute when he converted Henrique’s cross at the Wanderers’ back-post after clever link-up play between John Aloisi’s three substitutes - Javier Hervas, Tommy Oar and Henrique.

An A-League semi-final had never seen so many goals, and there was more to come.

Substitute Dario Vidosic, the Wanderers’ marquee, scored the clutch winner off the bench to give Western Sydney a 5-4 lead.

It was a marvellous move by the Wanderers to unlock the Roar. Young, who had been immense for Roar, palmed Vidosic’s intial strike but he wasn’t able to stop his point-blank finish from Bridge’s subsequent cross.

Re-live how the action unfolded in our live blog below.