L.M.
Hi M.. Have you asked your pediatrician for any advice?
I know it is hard, but I would keep calm anytime she does this behavior.
Simply remove her from your presence - physically pick her up, put her in her room, lock her door (install a lock on the outside of the door), and let her have a tantrum. Tell her when she is done, and can act like a little girl, you'll let her out of her room. That's it. Don't yell, raise your voice, be calm. Don't give her any of the attention she is looking for.
Make sure there is nothing in the way in her room where she can hurt herself.
I would not typically recommend locking a child in their room, but this is an extreme case. She can also hurt herself, and if you are getting that frustrated (as I would too) she needs to be out of your line of sight, and you need to be out of hers so she can't hurt you, and can't see you.
With that being said, make sure your praise her over AND over again for every little good thing she does during the day. Tell her you love her a lot, and give tons of hugs and kisses for when she is being good.
Best of luck to you!