Can't connect to Tor-Firefox via Watir Can't connect to Tor-Firefox via Watir selenium selenium

Can't connect to Tor-Firefox via Watir


The answer:

First, open the Tor browser (it needs to be running already).Then, in your code, make sure to simply start with:

Selenium::WebDriver::Firefox::Binary.path='{location of start_tor_browser*}'browser = Watir::Browser.new :firefox

*In my case: /home/tor/tor-browser_en-US/start-tor-browser

Nothing else is required - don't bother messing with profile