Warrington's most recent final was in 2019 beating St Helens to win their ninth title, one year after their Wembley defeat to Catalans Dragons.
British mezzo-soprano Katherine Jenkins sang the national anthem and Abide with Me ahead of the match.
Jenkins was supported by British DJ Alex Simmons in providing the pre match entertainment.
Keighran received a red card for a reckless tackle, and Dupree was charged with a headbutt, which was missed by the match official.
The first points of the game went to Warrington inside 10 minutes, after Wigan were penalised for offside, and Josh Thewlis opted to kick for goal, to which he was successful.
Wigan then thought they had scored their 3rd try just before half time, but after a lengthy review from the video referee, Bevan French was denied, as it was deemed a double movement/knock on.
Two minutes into the second half, Matty Ashton almost found a break out wide, but Abbas Miski and Zach Eckersley managed to tackle him into touch.
With time running out, Warrington knew they had to score soon, and on 65 minutes, Matt Dufty touched down under the posts, with Thewlis converting.