Navigate with Tor Browser using Python

Spread the word!

I’m using Windows 10. After having googled a bit I still had some problems with existing codes about using the Selenium module to bind the Webdriver to TorBrowser (Error: “selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities“), which I could not solve. If you have no idea about what I’m talking about, you can read a previous post.

I’m trying right now to opt for another more satisfying solution, suggested on Stack Exchange. I’m going to use VirtualBox to run Tails, a live OS which automatically tunnel the traffic through Tor. So the first move is to install VirtualBox and download the .iso file of Tails from the official websites I linked, before going on. At this time, the software versions are Tails 3.11 and VirtualBox 6.0.0.

I got my first problem at this point, since in the list of the VirtualBox only 32-bit operating systems were given. It could be easily solved by enabling the virtualization option in your BIOS (in my case I found it in the Configuration Tab of the BIOS). If you want to know how I booted the BIOS, watch this very short video.

After you’ve installed the 64-bit Tails from the downloaded .iso file (as you would do for any other operative systems) in VirtualBox, you can read this post to use Selenium as usual.

Be the first to comment

Leave a Reply

Your email address will not be published.


*