1

I'm trying to use Ruby Watir to open Tor on Mac.

This question Connect to Tor-Firefox via Ruby/Watir addresses this on Windows.

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

In my case, the location would be... Applications/TorBrowser. But Ruby says it is not a file.

How should I do it for Mac?

Saturn
  • 123
  • 4

1 Answers1

1

Your path should be /Applications/TorBrowser.app/Contents/MacOS/firefox

remyremy
  • 19
  • 3