I need to use mitmproxy to look at packets sent from my host to the Tor entry node using the Tor Browser. I'm using tor-browser-selenium to automate the Tor Browser, but suggestions need not be specific to this library. I just need to know how to make my traffic from the Tor Browser first go through this proxy before entering the Tor network.
Is there a way I can do this easily, perhaps using the torrc file?