After Goncalo Franco’s tame shot was easily saved by Okonkwo inside 40 seconds, Lawrence Vigouroux had to be alert to claw away Broadhead’s header at the other end during a lively opening period.

But the clearest opportunity fell to Vipotnik – scorer of 19 goals across all competitions this season – on 21 minutes as he latched on to Franco’s sublime through ball, only to be denied by a brilliant save from Okonkwo.

And Swansea were emphatically punished for failing to take that chance just four minutes later.

Following fine work from Sam Smith, former Swan Lewis O’Brien and Callum Doyle combined for Broadhead showed composure to chop past Cameron Burgess before drilling beyond Vigouroux from an acute angle.

It no doubt left Vitor Matos’ men stunned as they were largely dominating possession and had plenty of control, but found it increasingly difficult to trouble Okonkwo.

Smith and Kabore both had chances in the final stages of the opening half as the Swans were left with work to do after the restart.

Broadhead continued to brim with confidence and curled just wide shortly after the restart as the home side continued to threaten.

Liam Cullen, Eom Jisung and Malick Yalcouye were all sent on by Matos prior to the hour mark as the Swans looked to add attacking quality to their control.

Swansea swiftly improved in the final third as a result, with Okonkwo keeping out Marko Stamenic’s thumping hit before Yalcouye lashed over.

But the points were sealed two minutes from time as Doyle’s header from a George Thomason cross went in off the legs of Cullen.

It put a severe dent in Swansea’s already faint play-off hopes – with Wrexham returning to winning ways following losses to Chelsea and Hull City.