Selenenium Microsoft Edge using TOR

Hello, i am struggling with how to control Microsoft Edge using selenium, whilst using TOR to give me a random IP Address. Not only do i need to do this, but i also need to make the exit node have an IP Address that is from a specific country, which is usually done by editting the torrc file, but i am unsure how to use those country settings using TOR with a browser that is not the Firefox browser preconfigured with TOR, that you download.

You need to download the Edge Web Driver executable from Microsoft Edge WebDriver - Microsoft Edge Developer and then put the enclosed msedgedriver.exe file into a folder that’s on the system path. There’s a link to the documentation on that web page. You’ll find that occasionally it’ll stop working because Edge has been updated and you’ll need to download and install an updated version of the Web Driver.