How to initiate a Tor Browser 9.5 which uses the default Firefox to 68.9.0esr using GeckoDriver and Selenium through Python
I managed to resolve this by updating to v9.5.1 and implementing the following changes: Note that although the code is in C# the same changes to the Tor browser and how it is launched should be applied. FirefoxProfile profile = new FirefoxProfile(profilePath); profile.SetPreference(“network.proxy.type”, 1); profile.SetPreference(“network.proxy.socks”, “127.0.0.1”); profile.SetPreference(“network.proxy.socks_port”, 9153); profile.SetPreference(“network.proxy.socks_remote_dns”, false); FirefoxDriverService firefoxDriverService = FirefoxDriverService.CreateDefaultService(geckoDriverDirectory); firefoxDriverService.FirefoxBinaryPath … Read more