Wednesday were beaten on home soil for the first time this season, going down to Middlesbrough 3-1.
Adam Reach gave the Teessiders a late first half lead and three second half minutes proved key as the Owls equalised through Marco Matias only to see Boro go straight upfield with Diego Fabbrini on target.
Christian Stuani then applied the final coasting of gloss near the end of a game that Middlesbrough more than edged.
Overall, the visitors were good value for the points as they dominated the first 45 and despite Wednesday looking far more likely after the break, Boro stood firm for the win.
The start to the game, though, suggested otherwise as the Owls were fast out of the traps and Lucas Joao was only denied by a timely block from Daniel Ayala inside two minutes.
But Boro soon found their feet and almost took the lead themselves just after the quarter-hour mark.
Reach delivered a telling ball to the back post and Ayala seemed favourite to head home but Lewis Price pulled out a great save from the top drawer.
The keeper came to the rescue again on 31 minutes, this time thwarting Reach with a low stop as the visitors pressed.
But there was nothing Price could do four minutes before half time when he went head to head with Reach once more.
The ball fell kindly to the wideman from a Boro corner and Reach drilled an unstoppable low drive into the Kop net.
Carlos Carvalhal changed tack for the second half and brought on Atdhe Nuhiu but it was Alex Lopez who showed the first spark straight after the resumption.
Twice the Spaniard went close, first with a long ranger that whistled wide and then from a free kick that Dimitrios Konstantopoulos acrobatically parried to safety.
It was much better from Wednesday and they got their reward on 64 minutes.
Jack Hunt sent in a super ball from the right that fell into the path of Matias, whose shot from 12 yards sailed past Konstantopoulos with the aid of a deflection.
But just as Wednesday’s tails were up, they were promptly undone by a costly sucker punch just three minutes later.
Boro broke down the left through Fabbrini and the Italian advanced on goal to slide a measured side-footer past Price and into the bottom corner.
Wednesday went all out for the second equaliser and a Tom Lees header went agonisingly wide before Konstantopoulos gathered a loose ball following a goalmouth scramble.
The danger was the Owls getting caught on the counter, which is exactly what happened four minutes from time when substitute Stuani found space down the right and fired across Price and in.
Wednesday: Price, Hutchinson (Semedo 21), Matias, Lees, Wiggins, Joao, Lee, Lopez (Sougou 76), Sasso, Hunt, Wallace (Nuhiu 46)