Am I wrong for tricking my girlfriend of 4 years (now ex) into admitting she cheated on me?

Here is the story, i am 36. She is 28. She started hiding her phone from me, and sneaking off to take calls, and a number of other suspicious things. I ended up looking at her phone while she was in the restroom a few nights ago, and found conversations with a coworker that talked about meeting up and lots of sexual innuendo. Rather than directly confronting her, i created a fake female insta account, and DM's her explaining to her that i was a friend of mine, that i knew she was cheating, i had the receipts and i planned to tell me in 3 days regardless of weather or not she comes clean.

The next day she sits me down and tells me she has been cheating for a while, she's sorry, she loves me, and she will stop, and it didn't mean anything. I told her that i already knew, that it was me that sent the message, That i knew who she cheated with, and i was done. I got my bug out bag, left the apartment, and went to crash at my best friend on his couch. She spent a day blowing up my phone. I ignored her. She says Im wrong for what i did. I went back to the apartment to see most of her stuff gone, and the place utterly trashed.

I am now staying at my best friend until i find a new apartment. Our stuff has been sorted and stored. While i was gone the other day, she came to my best friends home with a box of my stuff, asking to see me. She had a fat lip and two black eyes. Later her sister called me to explain. Apparently she wasn't his only side piece, they had a huge fight, he beat her up, and broke up with her. And now she wants me to take her back.

In any case am i wrong for how i found out she cheated, and trapping her into telling me the truth?

The reason i didn't directly confront her by the way, in case you're curious, she has a history of becoming violent when she doesn't get her way.

Am I wrong for tricking my girlfriend of 4 years (now ex) into admitting she cheated on me?
Post Opinion