Keeper Alisson needed the help of his crossbar to keep out Ayoze Perez’s dipping volley as Newcastle sensed an opportunity, but they were made to pay for a second lapse at the back inside the opening 28 minutes when Salah found himself in acres of space to steer Alexander-Arnold’s speculative cross past the helpless Dubravka.The Slovakian prevented Sadio Mane from increasing his side’s advantage after he had played a neat one-two with Salah as the frenetic pace was maintained throughout a pulsating first half.

Salomón Rondón celebrates scoring Newcastle’s second.

Rondon forced Alisson into a regulation save from distance as the half-time whistle approached, but it was the visitors who led as the teams headed for the dressing rooms.

Salah skewed a snapshot wide and Daniel Sturridge blazed wastefully over either side of Alisson’s stop from Rondon inside the opening five minutes of the second half, but the Venezuela international was not to be denied.

Former Magpie Georginio Wijnaldum cleared Ki Sung-yueng’s corner to the edge of the box, but when the ball was fed back in, Rondon pounced to smash home his 11th goal of the season.

Jurgen Klopp’s men set about the task of restoring their lead in determined fashion, but with Newcastle prospering on the break, the game was in the melting pot.

Salah departed prematurely after colliding with Dubravka as the pair converged on Dejan Lovren’s long ball, but his side’s fortunes improved with four minutes remaining when his replacement Origi glanced fellow substitute Xherdan Shaqiri’s cross past Dubravka to win it.